Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
all platforms
-
Patch Available
Description
After adjusting Harmony dependencies to Eclipse 3.3 (r552639), javac wrapper fork jdktools component starts to fail:
$HY_JDK/bin/javac -version
java.lang.ClassNotFoundException: org.eclipse.jdt.internal.compiler.batch.Main
at java.net.URLClassLoader.findClass(URLClassLoader.java:894)
at java.lang.ClassLoader.loadClass(ClassLoader.java:575)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at org.apache.harmony.tools.javac.Compiler.initializeMainClass(Compiler.java:143)
at org.apache.harmony.tools.javac.Compiler.initialize(Compiler.java:99)
at org.apache.harmony.tools.javac.Compiler.<init>(Compiler.java:91)
at org.apache.harmony.tools.javac.Compiler.main(Compiler.java:55)
at org.apache.harmony.tools.javac.Main.compile(Main.java:78)
at org.apache.harmony.tools.javac.Main.compile(Main.java:52)
at org.apache.harmony.tools.javac.Main.main(Main.java:33)
Uncaught exception in main:
java.lang.NullPointerException
at org.apache.harmony.tools.javac.Compiler.main(Compiler.java:60)
at org.apache.harmony.tools.javac.Main.compile(Main.java:78)
at org.apache.harmony.tools.javac.Main.compile(Main.java:52)
at org.apache.harmony.tools.javac.Main.main(Main.java:33)
The problem is that javac wrapper looks for "ecj_3.3M7.jar" which was switched to "ecj_3.3.jar".