Vivek

Monday, 14 May 2012

Installing JWSDP from Sun download

Hello world,

I need to use JAXB in my Eclipse installation of Java 1.6.
I have downloaded jwsdp-2_0-unix.sh from Sun
When I run the install script I get the error below.

error>>
Using /var/tmp as temporary directory...
Searching for Java(TM) 2 Platform, Standard Edition...
tail: cannot open `+368' for reading: No such file or directory
Initializing InstallShield Wizard...
Exception in thread "main" java.lang.NoClassDefFoundError: JWSDP
at gnu.java.lang.MainThread.run(libgcj.so.81)
Caused by: java.lang.ClassNotFoundException: JWSDP not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/var/tmp/jwsdp-2_0-unix.sh.11500.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.81)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj .so.81)
at java.lang.ClassLoader.loadClass(libgcj.so.81)
at java.lang.ClassLoader.loadClass(libgcj.so.81)
at gnu.java.lang.MainThread.run(libgcj.so.81)
<<end error





finally i found the solution below

try

$ export _POSIX2_VERSION=199209
$ ./jwsdp-2_0-unix.sh

No comments:

Post a Comment