PDA

View Full Version : anyone have the java web services pack on ubuntu?



badperson
March 17th, 2009, 01:52 PM
I tried running the .sh file and got this:


For help, type 'jwsdp-2_0-unix.sh -help'

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
Caused by: java.lang.ClassNotFoundException: JWSDP
at java.net.URLClassLoader$1.run(URLClassLoader.java: 217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 23)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 68)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:336)
Could not find the main class: JWSDP. Program will exit.


does it need to be in a particular directory?

duedl0r
April 8th, 2009, 08:30 PM
tail --bytes=+368 ./jwsdp-2_0-unix.sh > jwsdp.jar
unzip jwsdp.jar
java JWSDP


did it for me

badperson
April 9th, 2009, 02:12 AM
thanks,
I tried that and got this error:


The wizard cannot continue because of the following error: could not load wizard specified in /wizard.inf (104)

bp

aguizar
September 4th, 2011, 12:10 AM
thanks,
I tried that and got this error:
The wizard cannot continue because of the following error: could not load wizard specified in /wizard.inf (104)
If you run the jwsdp install script as shown below.

sh jwsdp-2_0-unix.sh -is:debug 1it will print the reason why it fails. In my case the output is:

com.jxml.quick.QPE; lineNumber: 0; columnNumber: 0; java.lang.ClassNotFoundException: sun.beans.editors.BoolEditorfollowed by a stack trace.

In my computer, the install script is detecting and using OpenJDK 6 to run the JWSDP installer. Unfortunately it seems to rely on this sun.beans.editors.BoolEditor class which is not part of the Java API. The rt.jar shipped with OpenJDK 6 includes sun.beans.editors.BooleanEditor but not BoolEditor.

My solution was to tell the installer to use Sun JDK 5 to run the JWSDP installer, as follows.

sh jwsdp-2_0-unix.sh -is:javahome /etc/alternatives/jre_1.5.0If needed, replace /etc/alternatives/jre_1.5.0 with your Sun JDK 5 home directory.