NetBeans 6.5.1 & Mac OS X Java Update 4

Discussion in 'Java' started by John B. Matthews, Jun 29, 2009.

  1. 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>
    John B. Matthews, Jun 29, 2009
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mr. Kite
    Replies:
    2
    Views:
    1,051
    Wasabi
    Aug 14, 2006
  2. Leonard Slatkin
    Replies:
    1
    Views:
    4,423
    Ray Tayek
    Nov 30, 2003
  3. Pimousse
    Replies:
    2
    Views:
    3,616
    Roedy Green
    Apr 21, 2004
  4. Ilias Lazaridis
    Replies:
    0
    Views:
    891
    Ilias Lazaridis
    Dec 12, 2004
  5. Thomas G. Marshall
    Replies:
    2
    Views:
    814
    Thomas G. Marshall
    Oct 16, 2006
Loading...

Share This Page