This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes How to install java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to install java?" Watch "How to install java?" New topic
Author

How to install java?

Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 497

How to install java?


Are you better than me? Then please show me my mistakes..
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

http://faq.javaranch.com/java/how-to-create-java-program


[My Blog]
All roads lead to JavaRanch
Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 497

I followed the steps..But it failed..CMD is keep giving the error message "javac is not a recognized or a batch file...." like wise. I don't know whether I download the correct one or not. this is what I have downloaded."https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFilteredProducts-SingleVariationTypeFilter"...Please help me......
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36478
    
  16
If you get that error, you need to set your PATH. It is explained in the link Christophe posted earlier.
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Go to your Java install directory and then the bin directory. Then type java -version. It should print the java version. You can add that directory to your path environment variable which allows you to access Java from anywhere on your pc.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 497

Hi..Thanks for the help...I created new variable called "path" and gave the complete bin location as the value. It worked!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to install java?
 
Similar Threads
examlab
which java sdk?
un-install java
installing MySQL
Help I can't figure out how to install java jdk 7