Java app autostart

Joined
Jul 17, 2008
Messages
6
Reaction score
0
Points
1
Hello,

I am very new to Mac OS X. But I have developed an executable Java (jar) app that launches fine from Terminal using 'open' or 'java -jar' command, or when double-clicked in desktop.

However, I need to make this jar app start at login time. I looked at StartupItems directory but it didn't work. I am even sure if this is the right location for making jar files to launch.

Could somebody please give me a hint on what directory I should use so this jar file would launch automatically at login?

P.S. It is important for me to know the absolute path where I can place this jar for autolaunch (not from the GUI features) because I'll later be doing File I/O in there.

Thank you so much,
Victor.
 

Del


Joined
Dec 24, 2006
Messages
901
Reaction score
15
Points
18
Location
N. Ireland
Your Mac's Specs
Mac Pro 2xQuad core 2.8GHZ
In the windows world you would write a batch file to issue the java -jar command so im guessing that in osx there is a similar shell? script you need to write.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top