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

javac.exe can not find net.dll

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Duplicate
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_2000

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: