jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes Setting path for Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

Setting path for Java

rj jn

Joined: Dec 08, 2008
Posts: 2
Hi all,

I have installed JDK 1.5 in my computer. But when i check the version of java in command prompt it shows as java 4.

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

I have also given the classpath in environment variables.

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10747


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
wood burning stoves
subject: Setting path for Java
It's not a secret anymore!