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 > Location of Java Virtual Machine

Location of Java Virtual Machine
Thread Tools
Dedicated MacNNer
Join Date: Jul 2000
Location: Texas
Status: Offline
Reply With Quote
May 27, 2003, 02:36 PM
 
I have a shell script that's been made excutable. It ends on .command. When I run it, it searches for Java Virtual machine and I get the following message:

A suitable JVM could not be found. Please run the program again using the option -is:javahome <JAVA HOME DIR>

I have used

locate java | grep bin to look for binaries, but no matter what I do, I can't make it work.

Can anyone point me in the right direction?
---
One XP Box, One Suse Box, One Blue & White,
One ibook, One iMac 17 FP, one 30 gig iPod and a mini
happy .mac customer, os9 free since 3/24/01
     
Forum Regular
Join Date: Nov 2002
Location: PVD/MSP
Status: Offline
Reply With Quote
May 27, 2003, 04:05 PM
 
/System/Library/Frameworks/JavaVM.framework/ is the java stuff. Have a gander through the directory to find exactly what you're looking for...
dearinter.net consensus life coaching.
     
Dedicated MacNNer
Join Date: Aug 1999
Status: Offline
Reply With Quote
May 28, 2003, 01:23 AM
 
'java' should be in your path...

Is it looking for a specific part of the JVM? Apple's layout is not Sun's standard layout.
     
   
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:04 PM.
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