B
Bjorn Borud
["massimo visman" <[email protected]>]
| Hi all! I have a question about Java and Windows systems...It's possible to
| obtain the exact path of windows installation folder using Java functions? I
| need this to be valid on different versions, from Win98 to WinXP
you could inspect the JVM system properties. specifically properties
like java.home. have a look at the Properties instance returned by
System.getProperties() on your various deployment platforms and see if
this at least can be used as a hint.
-Bjørn
| Hi all! I have a question about Java and Windows systems...It's possible to
| obtain the exact path of windows installation folder using Java functions? I
| need this to be valid on different versions, from Win98 to WinXP
you could inspect the JVM system properties. specifically properties
like java.home. have a look at the Properties instance returned by
System.getProperties() on your various deployment platforms and see if
this at least can be used as a hint.
-Bjørn