Re: running java app


Subject: Re: running java app
From: The Fueley (CRivera@gci.net)
Date: Sun Sep 15 2002 - 11:38:24 AKDT


On Sunday 15 September 2002 11:27, you wrote:
this is what i get...

> Are you running it with 'java -jar file.jar' ? If so, and it's still not
> working, what does it say when you do 'java -version' and also what does
> the error message say exactly? (A cut-and-paste would be great)
>
> Justin
>
> The Fueley wrote:
> > im trying to run a java program. its downloaded as a .jar file. how
> > would= i=20
> > run this? everytime i try, i get class not found. i have the default
> > inst= all=20
> > of Java for Suse 8.0. i also have the latest Java SDK 1.4.0 installed,
> > so= i=20
> > would think that i have all that i need. anyone know how i can get
> > this=20 going?
> > Chris Rivera

-- Attached file included as plaintext by Listar --
-- File: java.txt

thefueley@thefueley:~> cd Downloads/phex_0.7.3_j2se1.3/
thefueley@thefueley:~/Downloads/phex_0.7.3_j2se1.3> java -jar phex.jar
-jar: illegal argument
Usage: java [-options] class

where options include:
    -help print out this message
    -version print out the build version
    -v -verbose turn on verbose mode
    -debug enable remote JAVA debugging
    -noasyncgc don't allow asynchronous garbage collection
    -verbosegc print a message when garbage collection occurs
    -noclassgc disable class garbage collection
    -cs -checksource check if source is newer when loading classes
    -ss<number> set the maximum native stack size for any thread
    -oss<number> set the maximum Java stack size for any thread
    -ms<number> set the initial Java heap size
    -mx<number> set the maximum Java heap size
    -D<name>=<value> set a system property
    -classpath <directories separated by colons>
                      list directories in which to look for classes
    -prof[:<file>] output profiling data to ./java.prof or ./<file>
    -verify verify all classes when read in
    -verifyremote verify classes read in over the network [default]
    -noverify do not verify any class
thefueley@thefueley:~/Downloads/phex_0.7.3_j2se1.3> java -version
java version "1.1.8"
thefueley@thefueley:~/Downloads/phex_0.7.3_j2se1.3> echo $PATH
/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/opt/kde2/bin:/usr/lib/java/bin:/opt/gnome/bin:/usr/java/j2sdk1.4.0_01/bin:/usr/java/j2sdk1.4.0_01/bin
thefueley@thefueley:~/Downloads/phex_0.7.3_j2se1.3>

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Sun Sep 15 2002 - 11:40:24 AKDT