J
John B. Matthews
On Mac OS X 10.5.7, after Java Update 4, NetBeans IDE 6.5.1 (Build
200903060201) fails when adding new files, typically:
java.lang.reflect.UndeclaredThrowableException
java.lang.NoClassDefFoundError: javax/script/ScriptEngine
<http://statistics.netbeans.org/analytics/detail.do?id=150231>
A workaround is to copy script-api.jar to an extension folder:
$ mkdir -p ~/Library/Java/Extensions
$ cp /Applications/NetBeans/NetBeans\ 6.5.1.app/Contents/\
Resources/NetBeans/platform9/modules/ext/script-api.jar \
Library/Java/Extensions/.
Other Mac OS X ext directories are discussed here:
<http://mindprod.com/jgloss/ext.html#MAC>
200903060201) fails when adding new files, typically:
java.lang.reflect.UndeclaredThrowableException
java.lang.NoClassDefFoundError: javax/script/ScriptEngine
<http://statistics.netbeans.org/analytics/detail.do?id=150231>
A workaround is to copy script-api.jar to an extension folder:
$ mkdir -p ~/Library/Java/Extensions
$ cp /Applications/NetBeans/NetBeans\ 6.5.1.app/Contents/\
Resources/NetBeans/platform9/modules/ext/script-api.jar \
Library/Java/Extensions/.
Other Mac OS X ext directories are discussed here:
<http://mindprod.com/jgloss/ext.html#MAC>