How do you launch in Linux? I get error.
Brought to you by:
cyberfox
Ran on my wifes XP system great! Double clicking
opened the jar archive in the unzip program, but right
clicking > open with JRE worked fine.
Not sure how to run a .jar in Debian Linux (kde),
double clicking in linux also opened the jar archive in
the unzip program: Right click > open with
/usr/java/jre1.5.0_01/bin/java gives me this error:
Exception in thread "main"
java.lang.NoClassDefFoundError:
/home/lance/Desktop/JBidWatcher-0/9/7pre2/jar
Any suggestions?
Thanks,
Lance
Logged In: YES
user_id=1271859
Solved:
The command in Linux (if you're using the console) is
java -jar JBidWatcher-0.9.7pre2.jar [or whatever your
jar is called]
In kde, right-click > open with > browse (up top) >
/path/to/your/java -jar
(don't enter a space after -jar, kde will do that for you)
Thanks,
Lance
Logged In: NO
Thanks lance that was enough to help get me running.........
Logged In: YES
user_id=19745
Greetings,
As noted, the answer to how to run under Linux is:
java -jar JBidWatcher-0.9.8.jar
If you're running on a version that has a bad default Java
(most of the Redhat's, for example), you'll need to have
installed the Sun JRE from:
http://java.sun.com/getjava
You also may have to provide the specific path to the Java
install above, if you didn't automatically put Sun's Java in
your path. Usually the path is something like:
/usr/java/j2sdk1.4.2_08/bin
So the whole command would be:
/usr/java/j2sdk1.4.2_08/bin/java -jar JBidWatcher-0.9.8.jar
presuming the JBidWatcher-0.9.8.jar file was in the current
directory.
Hope that info helps... I'll try to get it into the
Quickstart Guide.
I'm leaving this support entry open, because it may help
others until I can get it documented elsewhere.
-- Morgan Schweers, CyberFOX!