add a call to your executable java program at the last line of /etc/rc.d/rc.local to ensure all the other start scripts run before your java program
Ariz Jacinto wrote: > does ur app run on X? or as a service? > > try adding the ff line(s) on /etc/X11/xinit/xinitrc > > xterm -exec <your app> & > xterm -exec <your other app> > > you may also want to specify the location of the X window. > > xterm -exec <your app> -geometry 80+25+0+0 & > xterm -exec <your other app> -geometry 80+25+0+26 > > Rikki T. Vizcarra wrote: > > >Hello fellow pluggers, > > > >Going straight to my problem, I need to run some programs automatically when > >my linux box boots up. What's the best way to approach this? To be more > >specific, i've got a java application that needs to be run on the system > >when it starts. > > > >So far with what I did, the system did boot up and my application did run, > >but since the application doesn't give back the console to the system, other > >startup scripts (that should have run after my application) didn't run > >unless I terminate the program. The application just lets you see some logs > >on things he is doing on the system. > > > >Is there a good approach to make this work? Is there a way to run the > >program on a separate window (for example run it in tty6) when it starts? > > > >Thanks, > >Rikki > > > >_ > >Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph > >To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] > > > >Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph > > > >To subscribe to the Linux Newbies' List: send "subscribe" in the body to >[EMAIL PROTECTED] > > > > > > > > _ > Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph > To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] > > Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph > > To subscribe to the Linux Newbies' List: send "subscribe" in the body to >[EMAIL PROTECTED] -- ***** [ Note ] ***** Kindly include the "xxpmecomweb" mailgroup in the recipient list when responding to emails. Thanks. ./lem ***** [ /Note ] ***** _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
