how can i get the java installation path using cmd prompt ?
Eg : C:\\program files\java\ jak1.6.0_22
how am i getiing this path using cmd prompt ?
Printable View
how can i get the java installation path using cmd prompt ?
Eg : C:\\program files\java\ jak1.6.0_22
how am i getiing this path using cmd prompt ?
Moved here from 'Java Announcements'
db
i need detail abt the installation path of java using cmd prompt?
Don't repeat yourself. If someone here knows, you'll get a response.
And what made you think this is a 'Java Announcement' anyways?
db
Linux:
which java
or
echo $JAVA_HOME
Windows:
type "set" <enter> at the command prompt. This will scroll a bunch of text, look for the "java" in your path
or
echo %JAVA_HOME%
or echo %PATH%