NetBeans 6.5.1 & Mac OS X Java Update 4

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,782
Latest member
ThomasGex

Latest Threads

Top