.JARa's Bilingual Weblog

Life's better with NetBeans
photo of Jara

Updated Java on Mac OS X ( 20090617 Středa červen 17, 2009 )
English flag Yesterday at night I have installed "Java for Mac OS X 10.5 Update 4" on my MacBook Pro. Then I started NetBeans IDE 6.7 RC3 and tried to create Java Application project. This action was not successful, I got the exception dialog with
java.lang.NoClassDefFoundError: javax/script/ScriptEngineFactory
I don't know now what is the cause of this problem with JDK 5 there but definitely I am going to start using JDK 6 instead of version 5. So that my command for running NetBeans IDE is now:
./netbeans --jdkhome /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/
Hopefully there will be no trouble with JDK 6. So far I have tried to create simple Hello World project and it seems that all works fine.

Czech flag Včera večer jsem nainstaloval na 'svůj' MacBook Pro nový update "Java for Mac OS X 10.5 Update 4". Pak jsem pustil NetBeans IDE 6.7 RC3 a zkusil jsem vytvořit Java Application projekt. Nebyl jsem ovšem úspěšný protože jsem dostal exception dialog s
java.lang.NoClassDefFoundError: javax/script/ScriptEngineFactory
Nemám tušení co je za problém s JDK 5, ale definitivně zkusím přejít na JDK 6 namísto verze 5. Můj příkaz na spouštění NetBeans IDE teď bude:
./netbeans --jdkhome /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/
Doufejme, že s JDK 6 nebudou trable. Zatím jsem zkusil vytvořit jednoduchý Hello World projekt a zdá se, že vše funguje.

Posted by jara ( VI 17 2009, 10:42:29 dop. CEST ) Permalink Comments [2]


Trackback URL: http://blogs.sun.com/jara/entry/updated_java_on_mac_os
Comments:

the same happens to me, i tried netbeans 6.7RC - the same error, i guess Apple f*ked us up again, i'm on a G4 , so no luck with jdk6. hope there will be workaround soon, have to switch to eclipse

Posted by kimi on červen 17, 2009 at 01:19 odp. CEST #

The problem is fixed in NetBeans 6.7 fcs - see issue
http://www.netbeans.org/issues/show_bug.cgi?id=167240

Posted by .jara on červen 25, 2009 at 12:05 dop. CEST #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed
Archives
Search
Contact
Links
Visits map
Referrers

   Disclaimer: This blog contains my own opinions which may differ from viewpoints of Sun Microsystems.