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.
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.
- duplicates
-
JDK-4505086 Dynamic link library net.dll is not found during a start of IDE (NetBeans)
- Closed