Problem installing JWSDP-2.0 on linux ! ?
when I try to execute the jwsdp-2_0-unix.sh installer on Fedora Core 5, x86, I get the following error indication:
""
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
""
I can find no reference to this error in the troubleshooting section. Suggestions, please?
# 1
So far no replies ? !!
I get this same error when trying to install JWSDP-1.6 or JWSDP-2.0. I am unable to find any documentation which might guide me to a solution. The error message does not suggest to me any configuration factor which I might have set incorrectly, or not set if it is requirted to be set.
Surely there is somebody from the WSDP group who might have a suggestion? No one else has encountered this error?
# 2
I finally figured out how to get JWSDP-2_0 installed, but I had to substantially change how I dealt with the jwsdp-2.0.sh installer.
For Linux at least this install script is terribly flawed. In it there is a command, ' tail +368 "$0" > "$jarfile" '. This command will not work with Linux's tail. the command must be modified to be: ' tail -n +368 "$0" > "$jarfile". But then I found I had other problems. The embedded java command which, I think, is supposed to execute the class JWSDP which is inside the jar file which would have been spilt-out by a successful tail command. But there are problems with the way the jar file is constructed.
In any case, I had to manually split-out the embedded installation jar file by executing the command: tail -n +368 jswdp-2_0.sh > jwsdp.jar. Then I could unpack that jar file into a directory which I created called "JWSDP". Then, in there is the class "JWSDP.class". Execute that by: "java JWSDP". That is the installation wizard, which then came up okay, and allowed me to complete the installtion successfully.
# 3
There is a better solution than a manual split-out.
Change the line
"$javahome/bin/java" -classpath "$jarfile" -Djava.ext.dirs= -Djava.endorsed.dirs= -Dtemp.dir="$TEMPDIR/" $DEBUG_PROP $USER_HOME_PROP JWSDP "$@" 2> $tmp_error_log
to this:
"$javahome/bin/java" -Djava.ext.dirs= -Djava.endorsed.dirs= -Dtemp.dir="$TEMPDIR/" $DEBUG_PROP $USER_HOME_PROP -jar "$jarfile" "$@" 2> $tmp_error_log