I have a class that I put together, loosly based on some Microsoft sample code:
And then I made sure that the com.ms.util.SystemVersionManager class could be found in com\ms\util\ in the same directory as my
Java source file (I extracted it from a zip archive that is part of the MS Virtual Machine installation for Win2000).
It compiled just fine, and then, just to make sure I knew what JVM I am calling when I run "java" from the command line, I did this:
And then I ran my code. Now I was expecting errors galore, as it would be highly unusual for the BEA JVM to mimic very closely the MS VM. But what I actually got was wholly unexpected. The code ran in the native MS VM!
Output:
Some other relevant info:
No CLASSPATH is set.
So, what the heck just happened?
PCS
[ November 20, 2002: Message edited by: Philip Shanks ]