Last modified 9 years ago Last modified on 07/14/09 11:27:33

NetBeans? FAQ


java.lang.NoClassDefFoundError?: javax/script/ScriptEngineFactory

Appears: in NetBeans? IDE log

This occurs when attempting to create a new, Ruby project that uses the Built-in JRuby 1.1.4 platform. The progress bar hangs at 25% and a NoClassDefFoundError? appears in the IDE's log. Netbeans is apparently looking for a class that is not found in JDK 1.5 (only available in JDK 1.6?)

Edit the following the netbeans.conf file (typically in /Applications/NetBeans/NetBeans?\ and change the default JDK home:


See for discussion.