Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Start a app at startup, java app< Next Oldest | Next Newest >
cQjQc Offline





Group: Members
Posts: 8
Joined: Mar. 2005
Posted: Mar. 14 2005,22:07 QUOTE

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
Back to top
Profile PM 
tronik Offline





Group: Members
Posts: 182
Joined: Dec. 2004
Posted: Mar. 15 2005,04:15 QUOTE

/path/to/app -options

--------------
-william
atlanta, GA, USA

DSL 1.0+2.4.27/sata : P4 2.4norwood : 512ddr2 : nvgf4ti4200-64 : 128mbLexar Jumpdrive Elite
Back to top
Profile PM WEB 
cQjQc Offline





Group: Members
Posts: 8
Joined: Mar. 2005
Posted: Mar. 15 2005,04:26 QUOTE

I added "java -jar myapp.jar"
and it load at exit not start up does any one know why?
I'll try the -option
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Mar. 15 2005,05:21 QUOTE

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
Back to top
Profile PM WEB 
MAGAT Offline





Group: Members
Posts: 16
Joined: Sep. 2004
Posted: Mar. 15 2005,11:50 QUOTE

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
Back to top
Profile PM 
5 replies since Mar. 14 2005,22:07 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Start a app at startup

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code