Updated Java on Mac OS X

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.

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 06:19 dop. 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 24, 2009 at 05:05 odp. CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

jara

Search

Archives
« duben 2014
PoÚtStČtSoNe
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today