Re: running java program at startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2002-11-11 at 16:59, Stephen Mah wrote:
> Trying to run this configuration utility as a part of starting X.
> 
> java file.jar &
> 
> running this manually works, but if I add this to the .bashrc, it will 
> not run unless I have a konsole window open.
> 
> any ideas?

Stephen,

Should this be java -jar file.jar & ?

What errors is it giving you?  Try directing output to a file to see
what's going on:

java -jar file.jar > /tmp/myout.txt 2>&1 &

You can then look at /tmp/myout.txt to see what the error messages can
tell you.

You may have CLASSPATH problems if you need classes not contained in
file.jar.  If this is the case, use -cp or -classpath to tell jave where
to find the external classes.

Hope This Helps,
-- 
Philip A. Chapman

Application Development:
Java, Visual Basic, VB for Applications, PostgreSQL, MySQL, MSSQL
Linux, Windows 9x, Windows NT, Windows 2000, Windows XP

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux