PDA

View Full Version : Problems running SoftSqueeze with FC3



Patrick Dixon
2005-02-28, 12:27
Hi Michael,

I've now had a chance to try this and I get:

"Exception in thread "main" java.lang.NoClassDefFoundError:
/usr/local/SoftSqueeze/SoftSqueeze/jar

Regards
PAtrick

-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com]On Behalf Of Michael
Amster
Sent: 27 February 2005 21:33
To: Slim Devices Discussion
Subject: [slim] Problems running SoftSqueeze with FC3


Patrick Dixon wrote:

>Hi Michael,
>
>Thanks for the help, but I'm still getting the same error message, so:
>
>echo $JAVA_HOME
><not set>
>echo $CLASSPATH
>:/usr/local/SoftSqueeze/lib
>locate SoftSqueeze.jar
>/usr/local/SoftSqueeze/SoftSqueeze.jar
>
>I guess the java enviroment is not setup or something; but how do I set it?
>
>Regards,
>Patrick
>
>
>
Patrick:

Could you try something as simple as this:

java -version
export JAVA_HOME=/usr/java/jdk1.5.0_01 (or whatever your java home is)
# the following is on one line
java -classpath
/usr/local/SoftSqueeze/lib/dtd-xercesImpl.jar:/usr/local/SoftSqueeze/lib/jfl
ac-1.0.jar:/usr/local/SoftSqueeze/lib/jl0.4p1.jar:/usr/local/SoftSqueeze/lib
/jl1.0.jar:/usr/local/SoftSqueeze/lib/jnlp.jar:/usr/local/SoftSqueeze/lib/js
ch-20040429.jar:/usr/local/SoftSqueeze/lib/log4j-1.2.8.jar:/usr/local/SoftSq
ueeze/lib/tritonus_mp3.jar:/usr/local/SoftSqueeze/lib/tritonus_share.jar:/us
r/local/SoftSqueeze/lib/xml-apis.jar
/usr/local/SoftSqueeze/SoftSqueeze.jar

My guess is that your error is due to not finding the Jars - this is as
explicit as it gets.

Michael Amster
2005-02-28, 14:14
It looks like I missed the darn -jar flag resulting in this...

/usr/local/SoftSqueeze/SoftSqueeze/jar

instead of:

/usr/local/SoftSqueeze/SoftSqueeze.jar

----------------------------------------------
Try:

java -classpath /usr/local/SoftSqueeze/lib/dtd-xercesImpl.jar:/usr/local/SoftSqueeze/lib/jflac-1.0.jar:/usr/local/SoftSqueeze/lib/jl0.4p1.jar:/usr/local/SoftSqueeze/lib/jl1.0.jar:/usr/local/SoftSqueeze/lib/jnlp.jar:/usr/local/SoftSqueeze/lib/jsch-20040429.jar:/usr/local/SoftSqueeze/lib/log4j-1.2.8.jar:/usr/local/SoftSqueeze/lib/tritonus_mp3.jar:/usr/local/SoftSqueeze/lib/tritonus_share.jar:/usr/local/SoftSqueeze/lib/xml-apis.jar -jar /usr/local/SoftSqueeze/SoftSqueeze.jar

Sorry for this slow torture...

-MA


Patrick Dixon wrote:

>Hi Michael,
>
>I've now had a chance to try this and I get:
>
>"Exception in thread "main" java.lang.NoClassDefFoundError:
>/usr/local/SoftSqueeze/SoftSqueeze/jar
>
>Regards
>PAtrick
>
>-----Original Message-----
>From: discuss-bounces (AT) lists (DOT) slimdevices.com
>[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com]On Behalf Of Michael
>Amster
>Sent: 27 February 2005 21:33
>To: Slim Devices Discussion
>Subject: [slim] Problems running SoftSqueeze with FC3
>
>
>Patrick Dixon wrote:
>
>
>
>>Hi Michael,
>>
>>Thanks for the help, but I'm still getting the same error message, so:
>>
>>echo $JAVA_HOME
>><not set>
>>echo $CLASSPATH
>>:/usr/local/SoftSqueeze/lib
>>locate SoftSqueeze.jar
>>/usr/local/SoftSqueeze/SoftSqueeze.jar
>>
>>I guess the java enviroment is not setup or something; but how do I set it?
>>
>>Regards,
>>Patrick
>>
>>
>>
>>
>>
>Patrick:
>
>Could you try something as simple as this:
>
>java -version
>export JAVA_HOME=/usr/java/jdk1.5.0_01 (or whatever your java home is)
># the following is on one line
>java -classpath
>/usr/local/SoftSqueeze/lib/dtd-xercesImpl.jar:/usr/local/SoftSqueeze/lib/jfl
>ac-1.0.jar:/usr/local/SoftSqueeze/lib/jl0.4p1.jar:/usr/local/SoftSqueeze/lib
>/jl1.0.jar:/usr/local/SoftSqueeze/lib/jnlp.jar:/usr/local/SoftSqueeze/lib/js
>ch-20040429.jar:/usr/local/SoftSqueeze/lib/log4j-1.2.8.jar:/usr/local/SoftSq
>ueeze/lib/tritonus_mp3.jar:/usr/local/SoftSqueeze/lib/tritonus_share.jar:/us
>r/local/SoftSqueeze/lib/xml-apis.jar
>/usr/local/SoftSqueeze/SoftSqueeze.jar
>
>My guess is that your error is due to not finding the Jars - this is as
>explicit as it gets.
>