just explain it to me

after (successful) installation on FC5 i try to run sunstudio11:

./sunstudio

and i get:

annotated: sun.net.www.protocol.jar.JarURLConnection not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/opt/sun/netbeans/3.5V11/lib/ext/b oot.jar,file:/opt/sun/netbeans/3.5V11/lib/ext/crimson-1.1.3.jar,file:/opt/sun/ne tbeans/3.5V11/lib/ext/regexp-1.2.jar,file:/opt/sun/netbeans/3.5V11/lib/ext/xerce s-2.0.2.jar,file:/opt/sun/netbeans/3.5V11/lib/ext/xml-apis-1.0b2.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} - Workaround for JDK #4646668 as part of IZ #21114 failed

java.lang.ClassNotFoundException: sun.net.www.protocol.jar.JarURLConnection not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/opt/sun/netbeans/3.5V11/lib/ext/b oot.jar,file:/opt/sun/netbeans/3.5V11/lib/ext/crimson-1.1.3.jar,file:/opt/sun/ne tbeans/3.5V11/lib/ext/regexp-1.2.jar,file:/opt/sun/netbeans/3.5V11/lib/ext/xerce s-2.0.2.jar,file:/opt/sun/netbeans/3.5V11/lib/ext/xml-apis-1.0b2.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}

at java.net.URLClassLoader.findClass (libgcj.so.7)

at java.lang.ClassLoader.loadClass (libgcj.so.7)

at java.lang.ClassLoader.loadClass (libgcj.so.7)

at java.lang.Class.forName (libgcj.so.7)

at java.lang.Class.forName (libgcj.so.7)

at org.netbeans.JarClassLoader.<clinit> (JarClassLoader.java:289)

at java.lang.Class.initializeClass (libgcj.so.7)

at java.lang.Class.initializeClass (libgcj.so.7)

at org.netbeans.Main.main (Main.java:71)

WARNING: invalid specification version: NetBeans

Exception in thread "main" java.lang.NoClassDefFoundError: org.openide.util.Utilities

at java.lang.Class.initializeClass (libgcj.so.7)

at org.netbeans.core.NbTopManager.<clinit> (NbTopManager.java:127)

at java.lang.Class.initializeClass (libgcj.so.7)

at java.lang.Class.initializeClass (libgcj.so.7)

at java.lang.Class.initializeClass (libgcj.so.7)

at java.lang.reflect.Method.invoke (libgcj.so.7)

at org.netbeans.Main.main (Main.java:96)

Caused by: java.lang.ClassNotFoundException: java.beans.BeanInfo

at org.netbeans.ProxyClassLoader.loadClass (ProxyClassLoader.java:145)

at java.lang.ClassLoader.loadClass (libgcj.so.7)

at java.lang.Class.forName (libgcj.so.7)

at java.lang.Class.initializeClass (libgcj.so.7)

...6 more

just please explain to me what is a problem here

orkan

[2523 byte] By [orkan] at [2007-11-26 6:24:48]
# 1
You seems to be using GNU classpath libraries, which obviously missing sun.* classes. You need SUN JDK
Denis_Antrushin at 2007-7-6 14:14:56 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
Well... i got Java 1.5 SDK installed with Netbeans 5. Is there any place i could tell SUn Studio to look for this java sdk for?
orkan at 2007-7-6 14:14:56 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3
The sunstudio command looks in several places for a SDK. One of them is your $PATH,so if the 1st "java" program in your PATH is the Sun SDK then thats what should beused. You can also tell the IDE what to use with the --jdkhome command line option.Gordon
gordonp999 at 2007-7-6 14:14:56 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 4

Hi Orkan,

I hope you already solved this startup problem, but in case it is not resolved yet,

here is what I need to help you to solve it.

Could you please perform the following steps?

/tmp> cd /tmp

Directory: /tmp

/tmp> java -version

java version "1.5.0_01"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)

Java HotSpot(TM) Server VM (build 1.5.0_01-b08, mixed mode)

/tmp> sunstudio -V

Sun Studio IDE 7.4 2005/10/13

/tmp> sunstudio --userdir /tmp/ss11-$USER

Note: don't run "./sunstudio" - you have to set PATH, and to run "sunstudio"

using short name (this will help to avoid many strange problems).

Thanks,

Nikolay

NikMolchanov at 2007-7-6 14:14:56 > top of Java-index,Development Tools,Solaris and Linux Development Tools...