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

javac.exe can not find net.dll

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 1.4.0
    • tools
    • x86
    • windows_2000

      Any attempt to compile a java file on Windows 2k and XP (I have not tested on NT, 95,98, or ME) with jdkb80 compiler will result in a windows Error dialog box being displayed. The dialog box states that javac.exe is unable to locate net.dll. Compilation will halt until users acknowledges Dialog box. Once user has done so, compilation appears to complete correctly

      Please find doit.zip attached to this bug report. This zip file contains some batch and java source files which can be used to recreate this problem.

      To recreate this problem, unzip the attached file into a work directory on a windows 2k or XP machine. Edit badCompile.bat file so the variable JDKBINDIR defines the path the bin directory of jdkb80. This batch file simply attempts to compile foo.java. Running this batch file should cause the warning to appear. Complitation will not complete until user has acknowledged error.

      I have also include a goodCompile.bat which sets jre/bin (whcih contains net.dll) on the path before starting to compile foo.java. Running this batch file should result in foo.java being successfully compiled without receiving the error dialog box. You will also need to define JDKBINDIR in this batch file before running it.

            mmcclosksunw Michael Mccloskey (Inactive)
            elambertsunw Eric Lambert (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: