OS X - Operating System General OS operation information and support

OS 10.4 - Java app autostart


Post Reply New Thread Subscribe

 
Thread Tools
victorsk

 
Member Since: Jul 17, 2008
Posts: 6
victorsk is on a distinguished road

victorsk is offline
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.
QUOTE Thanks
Del

 
Member Since: Dec 24, 2006
Location: N. Ireland
Posts: 900
Del has a spectacular aura about
Mac Specs: Mac Pro 2xQuad core 2.8GHZ

Del is offline
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.
QUOTE Thanks
technologist

 
Member Since: Mar 30, 2004
Location: USA
Posts: 4,744
technologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond repute
Mac Specs: 12" Apple PowerBook G4 (1.5GHz)

technologist is offline
http://docs.info.apple.com/article.html?artnum=106146
QUOTE Thanks
victorsk

 
Member Since: Jul 17, 2008
Posts: 6
victorsk is on a distinguished road

victorsk is offline
Thank you!
QUOTE Thanks

Post Reply New Thread Subscribe


« handy contact info in Mail? | Archive and Install »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Headache error (Java) mister_montana Web Design and Hosting 1 03-26-2007 10:33 AM
weird java problem rerks OS X - Apps and Games 0 01-28-2007 05:59 AM
java question rerks OS X - Operating System 0 01-23-2007 03:05 AM
AN ultra simple Java app develpoment studio? indykid Web Design and Hosting 0 07-04-2005 03:01 PM
Java From Terminal jdgti OS X - Development and Darwin 10 03-26-2005 07:16 PM

All times are GMT -4. The time now is 05:08 AM.

Powered by vBulletin
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?