Detect VM from windows
843811Jul 17 2003 — edited Jul 21 2003There must be an easier was to detect the current VM in windows then searching through directories.
I have got a C++ program that i want to use to launch my java application, but i want it to be able to detect the version of the current vm before it simply calls 'java ...' command.
calling 'java -version' does not work very well because i am having difficult redirecting output away from the console (I don't want anything to show, just a simple version check then if it's current, launch the application).
If anyone has any ideas how this can be done i would greatly appreciate it.
Thank you.
Jarvis