Java Virtual Machine

Raes

Fledgling Freddie
Joined
Jan 6, 2004
Messages
73
ok...i've just started learning Java at college and we use Netbeans, so i d'load Netbeans from Sun and when trying to install it i get the msg:

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

Im totally lost, cant seem to find a way of getting MSJVM or any other JVM, and how do run the installer using an "option"?

Been on this week almost now and im gonna fall behind soon with studies.

Can anyone help me? :worthy:

Thanks in advance.
 

JingleBells

FH is my second home
Joined
Mar 25, 2004
Messages
2,224
You will probably need to add the environment variable: JAVA_HOME and add the location of java to the path. (Make sure you have the sun java VM installed)
If you install it to:
c:\program files\java\jre1.5.0 for instance, then set:
JAVA_HOME to be c:\program files\java\jre1.5.0
and add
c:\program files\java\jre1.5.0\bin to your path

If your not sure how to add/edit environment variables in windows read this microsoft article
 

Raes

Fledgling Freddie
Joined
Jan 6, 2004
Messages
73
Thanks Jingle :clap: ..prob sorted, i just didnt have the Sun JVM.

Now to catch up with two weeks Uni. :drink:
 

Users who are viewing this thread

Top Bottom