Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > NetBeans 6.5.1 & Mac OS X Java Update 4

Reply
Thread Tools

NetBeans 6.5.1 & Mac OS X Java Update 4

 
 
John B. Matthews
Guest
Posts: n/a
 
      06-29-2009
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>

--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Eclipse vs. Netbeans. Netbeans is winning me over almost at first glance. Thomas G. Marshall Java 2 10-16-2006 02:54 AM
Mac / Netbeans - how to set up HTML browser ? (tried Tools-Options already) Mr. Kite Java 2 08-14-2006 01:08 PM
[NETBEANS] [EVALUATION] - E12 - The NetBeans Open Source Lie Ilias Lazaridis Java 0 12-12-2004 02:41 PM
Building a GUI using NetBeans platform (not Netbeans IDE !) Pimousse Java 2 04-21-2004 07:22 AM
NetBeans: How to mount the Java SDK javadocs (on Mac, if that matters) Leonard Slatkin Java 1 11-30-2003 09:59 AM



Advertisments