PDA

View Full Version : Problems running SoftSqueeze with FC3



Patrick Dixon
2005-02-26, 12:06
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>

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


FC3 uses the alternatives package to allow you to switch between
different versions of Java. Try reading the manual on alternatives. I
used the following steps to configure Java on my FC3 box:

alternatives --remove java /usr/share/java/libgcj-java-placeholder.sh
alternatives --remove javac /usr/share/java/libgcj-javac-placeholder.sh
alternatives --remove jar /usr/bin/fastjar
alternatives --remove jar.1.gz /usr/share/man/man1/fastjar.1.gz
alternatives --install /usr/bin/java java /usr/java/jdk1.5.0_01/bin/java 1
alternatives --config java

Run this as root and adjust your paths to where your JDK is located.

Patrick Dixon wrote:

>OK, if I run /usr/java/jrel1.5.0_01/bin/java -jar SoftSqueeze.jar I then
get
>"Error starting SoftSqueeze"
>
>HELP!!
>
>(Bring back Windows, all is forgiven)
>
>-----Original Message-----
>From: discuss-bounces (AT) lists (DOT) slimdevices.com
>[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com]On Behalf Of Patrick Dixon
>Sent: 26 February 2005 15:27
>To: discuss (AT) lists (DOT) slimdevices.com
>Subject: [slim] Problems running SoftSqueeze with FC3
>
>
>Please be patient with me, it's a long time since I've used Unix/Linux and
>I'm trying out FC3 to see what I'm missing.
>
>I've downloaded SoftSqueeze and installed in /usr/local/SoftSqueeze,
>downloaded Java 1.5 (only to find it was already installed in /usr/java/jre
>etc.
>
>I'm now trying to run SoftSqueeze from the SoftSqueeze directory by
>executing java -jar SoftSqueeze.jar
>
>After a long message about this script being a placeholder, I get a message
>saying "Failed to find SoftSqueeze libraries".
>
>So what am I doing wrong? I can't find any other instructions for
>installing and running SoftSqueeze. Assuming I can actually get it to run
>at all, how do I get it to run by double-clicking?
>
>Thanks.
>
>
>

rtitmuss
2005-02-27, 08:19
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>
>
>
>