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

Regression: "which javac" doesn't work anymore on Windows

XMLWordPrintable

    • x86
    • windows_98


      Tested bundle: j2sdk-1_4_0-beta-bin-b63-win-01_may_2001.exe

      Tested environment: Win98se /Win2000 korean

      When user enters "java -version" or runs java applications, there is a
      following error message displayed :
      " Error occurred during initialization of VM
        java.lang.Error : Default decoding not supported : MS949 "

      Also, when user enters "which javac" , "which appletviewer" ..., it doesn't display absolute path of "javac, appletviewer ...". But, the absolute path of javac can be diplayed with j2sdk-1_3_1-rc2-bin-b24-win-XXX.exe.



      On b64, Traditional Chinese Windows 95 has similar errors:

      java -version
      Error occurred during initialization of VM
      java.lang.Error: Default decoding not supported: MS950

      java -fullversion
      java full version "1.4.0-beta-b64"

      michael.fang@eng 2001-05-13


      With further investigation I found that if we use absolute path then the following command works:
      c:/jdk1.4/bin/java -version
      java version "1.4.0-beta"
      Java (TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b64)
      Java HotSpot(TM) Client VM (build 1.4.0-beta-b64, mixed mode)

      michael.fang@eng 2001-05-13

      If you open MS-DOS window, type "java -version", it points to
      the java.exe under it, then you will see the erroe message.

      For me which javac gives the full path, please see attached bmp file

      shuna.wu@eng 2001-05-15

            jmelvin James Melvin (Inactive)
            sansunw Song An (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: