jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes location  where  java is installed. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "location  where  java is installed." Watch "location  where  java is installed." New topic

location where java is installed.

Siva kandasamy
Ranch Hand

Joined: Dec 31, 2002
Posts: 139
See below.
I have already installed "java version 1.5.0" in my local desktop.
How do I find out the location or the path where I have installed my Java ?

C:\>java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)

C:\>echo %java_home%
Nigel Browne
Ranch Hand

Joined: May 15, 2001
Posts: 673
On windows the default installation path is C:\Program Files\Java\jdk1.5.0
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46362
Easiest wasy is to inspect your path.
In Windows 9x (98/me) open your autoexec.bat file in c:\
In windows 2000/XP right-click "my computer" -> properties -> advanced -> environment variables and inspect PATH.
Linux-don't know.

I agree. Here's the link: http://aspose.com/file-tools
subject: location where java is installed.
jQuery in Action, 3rd edition