Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4491217

Runtime.exec of 1.4.0 beta75 does not work on WindowsNT/2000

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • core-libs
    • None
    • beta3
    • x86
    • windows_98, windows_nt, windows_2000

      Runtime.exec() produces errors on WindowsNT/2000. The same arguments, that works correctly in JDK 1.3.1 do not work in JDK 1.4.0 beta 75. On Unix systems the functionality is O.K. in all JDK versions.

      When I have following String[] array
      array[0]=cmd
      array[1]=/X
      array[2]=/C
      array[3]=cd /D "C:\WINNT\Profiles\mentlicher\Application Data\CVS_WORK\."&& "cvs" -d ":local:C:\WINNT\Profiles\mentlicher\Application Data\CVS_REP" status "Package\LocaleChange.java"

      and call: Runtime.getDefault().exec(array), the command executes, but I get following error on the error output:

      The name specified is not recognized as an
      internal or external command, operable program or batch file.

      This makes the VCS integration module of Forte 4 Java unusable on JDK 1.4.0

      I've filled a similar bug for this (#4485848), it was marked as a duplicate of a bug, that did not fix this problem. So please fix it and do not mark it as a duplicate.

            kkladkosunw Konstantin Kladko (Inactive)
            mentlich Martin Entlicher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: