Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > .term or .command files

.term or .command files
Thread Tools
Fresh-Faced Recruit
Join Date: Jul 2004
Location: Seattle WA USA
Status: Offline
Reply With Quote
Oct 10, 2004, 08:31 PM
 
hi all.. i'm trying to get a .term or .command file working to execute a java jre but its being kinda dumb ( or it is me that is being kinda dumb).

i just need to call java just like this:

java -cp auspiral_v001.jar auspiral_v001 auspiral_v001

well i put that in a .term (run.term) then i put run.term in the folder where auspiral_v001.jar lives.

when i double click the the .term it errors out because it cannot find the .jar

it seems the .term or .command files runs as if it is ~/ not the directory from which it was run from (like a shell script does)
so if i copy the .jar into ~/ it works fine.

any tips or ideas? thx
     
Junior Member
Join Date: May 2004
Status: Offline
Reply With Quote
Oct 11, 2004, 02:39 AM
 
maybe put the entire path to the .jar in the .term file?
     
   
Thread Tools
Forum Links
Forum 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 On
Top
Privacy Policy
All times are GMT -5. The time now is 06:50 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2