AlpVir Well-Known Member Licensed User Longtime User Jan 28, 2012 #1 B4a no longer works! Here is the error message. Compiling code. 0.09 Generating R file. 0.00 Compiling generated Java code. Error java.lang.NoClassDefFoundError: com/sun/tools/javac/Main Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.Main at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) Exception in thread "main" Could not find the main class: com.sun.tools.javac.Main. Program will exit. I checked Menu - Tools - Configure path and everything is OK (see picture) It 'possible that Eclipse (which it recently used) has changed something? I hope to soon have help from some of you because I'm stuck! Attachments ConfigurePath.jpg 54 KB · Views: 456
B4a no longer works! Here is the error message. Compiling code. 0.09 Generating R file. 0.00 Compiling generated Java code. Error java.lang.NoClassDefFoundError: com/sun/tools/javac/Main Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.Main at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) Exception in thread "main" Could not find the main class: com.sun.tools.javac.Main. Program will exit. I checked Menu - Tools - Configure path and everything is OK (see picture) It 'possible that Eclipse (which it recently used) has changed something? I hope to soon have help from some of you because I'm stuck!
AlpVir Well-Known Member Licensed User Longtime User Jan 28, 2012 #2 Solved ! I updated Java (jdk1_6_26 to jdk1_6_30) Upvote 0