...
>i need to get the full path of the JRE running my program.

Signature
Andrew Thompson
http://www.athompson.info/andrew/
Andrew Thompson a écrit :
> ..
>> i need to get the full path of the JRE running my program.
>
> Why? What are you trying to achieve?
it would be long to explain
>> Any better way plz ?
>
> Spelling words like 'please' fully, is generally considered
> a better way to get people to read and reply to posts,
> around here.
anayway, it's the system property "java.home" :D
Lew - 12 Jul 2007 15:18 GMT
> Andrew Thompson a écrit :
>> ..
[quoted text clipped - 10 lines]
>
> anayway, it's the system property "java.home" :D
That's not the path to the executable, but to the Java installation.
Typically the executable is in the bin/ subdirectory of $JAVA_HOME, and also
the jre/bin/ subdirectory.

Signature
Lew