Other Help Topics :: Start a app at startup



I'm tring to start a java app at login i'm sure i use the .xinitrc file but I don't know the right command to start it I guess. The command to start my app is "java -jar myapp.jar" it's at /opt/java/bin/. so does any one know what to put in .xintirc so that apps start auto? Thanks
/path/to/app -options
I added "java -jar myapp.jar"
and it load at exit not start up does any one know why?
I'll try the -option

For Java apps I normally use the following two export commands:

export PATH="$PATH:/opt/jre1_5_0/bin/"
export JAVA_HOME=/opt/jre1_5_0
java -jar myapp.jar

i have make a remaster of dsl
with jre1_5_0.uci

and when i add this line to my .xintirc

export PATH="$PATH:/opt/jre1_5_0/bin/"
export JAVA_HOME=/opt/jre1_5_0

at the startup i open a bash shell
and i tape : echo $PATH

and i haven't my java path , Why......

Thank Vincent

Next Page...
original here.