aspose file tools*
The moose likes Beginning Java and the fly likes which java should i down load? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "which java should i down load?" Watch "which java should i down load?" New topic
Author

which java should i down load?

pj kruse
Greenhorn

Joined: Dec 16, 2009
Posts: 2
I am reading the book Head First Java.

I downloaded Java SE Development Kit 1.5 from java.sun.com.

Next thing to download is called a PATH. I have no idea where to look for this. If someone could explain it to me in the java i downloaded that would be great.
And if also I should have downloaded a different java let me know

Thanks
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38818
    
  23
Welcome to JavaRanch

Get the most recent thing called JDK without anything else. Here. Look for the thing they call JDK 6 update 17. Not JRE. Don't bother with NetBeans or GlassFish or J2EE at this stage.

You don't download the PATH, but set it on your computer. Look at the "common problems" page, and (if you are using DOS/Windows) look where it says "javac is not recognized . . ." That will give you links to setting the PATH.

People will also tell you to set a system classpath. That is usually mistaken and you don't usuallyneed a system classpath.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38818
    
  23
Another download link
pj kruse
Greenhorn

Joined: Dec 16, 2009
Posts: 2
ok I am so new to java where do I type in this javac HelloWorldApp.java to make the PATH

and also if I wanted to download API documentation how would I download this looking at this http://java.sun.com/j2se/1.5.0/docs/api/
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Just so you know, Java 1.5 was EOL'd in October (give or take)-that means it's no longer officially supported unless you pay for support. You should be using Java 6.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14149
    
  18

pj kruse wrote:ok I am so new to java where do I type in this javac HelloWorldApp.java to make the PATH

Sun has a great series of tutorials for Java here.

Start with the Hello World tutorial. It explains in small, easy steps how to write, compile and run your first Java application. You type the javac command in a command prompt window; the tutorial explains you how to get that.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38818
    
  23
Where have you written your PATH? If on windows you will want it as an environment variable. I usually have it as a user environment variable on Linux. The common problems link I gave you yesterday has a link to setting the PATH in the installation instructions, under "javac is not recognized . . ."
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: which java should i down load?