Location of JVM

N

Nicky

How to determine that JVM is installed or not in Windows by other
languages such as VB or VC++.
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

Nicky said:
How to determine that JVM is installed or not in Windows by other
languages such as VB or VC++.

Search for java.exe on disk ?

Look in registry for:

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\x.x\JavaHome

?

Arne
 
M

Mark Space

Nicky said:
How to determine that JVM is installed or not in Windows by other
languages such as VB or VC++.

Execute a shell command like "java -version" ? I believe most shells
return a different exit code for successful completion vs. not finding a
command.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top