Start a app at startupForum: Other Help Topics Topic: Start a app at startup started by: cQjQc Posted by cQjQc on Mar. 14 2005,22:07
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
Posted by tronik on Mar. 15 2005,04:15
/path/to/app -options
Posted by cQjQc on Mar. 15 2005,04:26
I added "java -jar myapp.jar"and it load at exit not start up does any one know why? I'll try the -option Posted by roberts on Mar. 15 2005,05:21
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 Posted by MAGAT on Mar. 15 2005,11:50
i have make a remaster of dslwith 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 Posted by MAGAT on Mar. 15 2005,12:13
ok look in : < link > |