PDA

View Full Version : Problems running SoftSqueeze with FC3



Patrick Dixon
2005-02-27, 12:48
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

-----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 17:14
To: Slim Devices Discussion
Subject: [slim] Problems running SoftSqueeze with FC3


Patrick:

What is your classpath? try using an explicit full path to the jar file:

like this:

CLASSPATH=$CLASSPATH:/home/pdixon/softsqueeze-1.16/lib
java -cp $CLASSPATH -jar /home/pdixon/softsqueeze-1.16/SoftSqueeze.jar

Try that where you substitute the real softsqueeze directory for the one
I have above.
If you still have problems, supply the following:

echo $JAVA_HOME
echo $CLASSPATH
locate SoftSqueeze.jar

Thanks,

-MA

Patrick Dixon wrote:

>Thanks Richard,
>
>I do have the ./lib and ./icons directories under the Softsqueeze dir and
>have chmod'd everything 755.
>
>If I run the webstart.html prog, it sends me to a java Windows page - but
>I've already got Java 1.5 installed anyway ;(
>
>Is there any way of getting any diagnostics info, other than the anonymous
>'Error' message?
>
>Ironically, it all work perfectly under windows XP! (and its a great app -
>although 'mute' doesn't toggle on/off quite as I'd expect)
>
>
>-----Original Message-----
>From: discuss-bounces (AT) lists (DOT) slimdevices.com
>[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com]On Behalf Of Richard
>Titmuss
>Sent: 27 February 2005 15:19
>To: Slim Devices Discussion
>Subject: [slim] Problems running SoftSqueeze with FC3
>
>
>Patrick,
>
>I am sorry you are having problems getting Softsqueeze to start. The
>error you are getting is usually caused when Softsqueeze cannot find the
>java library files it uses. In the directory where you have installed
>Softsqueeze you should have a SoftSqueeze.jar file and lib directory.
>The lib directory should contain several other '.jar' files. For example:
>
>ls -R
>.:
>applet.html lib MiniSqueeze.jar softsqueeze.jnlp
>icons LICENSE.txt SoftSqueeze.jar webstart.html
>
>./icons:
>checked.gif icon32.gif icon64.gif screenshot.png splash.gif
>unchecked.gif
>
>./lib:
>dtd-xercesImpl.jar jnlp.jar tritonus_mp3.jar
>jflac-1.0.jar jsch-20040429.jar tritonus_share.jar
>jl1.0.jar log4j-1.2.8.jar xml-apis.jar
>
>
>Softsqueeze will run on any machine, you don't have to have the
>slimserver installed as well (but obviously you do need the slimserver
>installed and running somewhere). You could try using the Java Web
>Start option from the slimserver help pages, this is the easiest way to
>install and start Softsqueeze.
>
>Regards,
>Richard
>
>
>Patrick Dixon wrote:
>
>
>
>>Michael,
>>
>>Thank you for that.
>>
>>I have done as you say, and now "java -jar SoftSqueeze.jar" runs it, but
>>
>>
>the
>
>
>>program still fails with the "Error starting Softsqueeze" message (no
error
>>number, or anything). I assume that SoftSqueeze will run on a machine
that
>>doesn't also have Slimserver installed?
>>
>><rant mode on>
>>Why is everything in Linux so ****ing difficult?
>>I even have to compile a new kernel to get the sound working!!
>>And it's s l o w too.
>>It was much better in the 'good old days' when UNIX never pretended to be
>>friendly.
>><rant mode off>
>>
>>
>>
>>
>>
>
>

Michael Amster
2005-02-27, 14:33
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/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
/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.