• Post Reply Bookmark Topic Watch Topic
  • New Topic

New to java. Please Help  RSS feed

 
Mike Fitch
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just started learning java today and I have two questions. I have no previous experience with programming so I bought a book on learning java that's asking me to download java 2 standard edition sdk 1.5. I went to java.sun.com and I found java se development kit 7u25. Is this what i'm looking for only it's a later version or am I way off? Also its asking me to download the j2se api documentation. I found this on java.sun.com as well however I don't see where to download it and there's A LOT of different packages. If someone could point me in the right direction I would greatly appreciate it. I'm new to this site as well so I hope i'm following proper etiquette. Thanks again.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That book must be a little old, from 2006 or earlier. Java version 1.5 (or Java 5, or Java 2 Standard Edition = J2SE version 1.5 - unfortunately the version numbering is a bit of a mess) is quite old. The current version is Java 7. Most of what's in the book is still applicable, but you'll miss the newer things that were added in Java 6 and 7.

The company Sun doesn't exist anymore. It was acquired by Oracle, so you can now download Java on Oracle's website. You'll need to download the JDK (Java Development Kit). You don't really need to download the API documentation, you can view it online, but if you want it's also available for download.

Oracle also had a comprehensive set of tutorials online.

Have fun learning Java!
 
Mike Fitch
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much!
 
Mike Fitch
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as downloading the api, do I have to download each individual package?
 
Mike Fitch
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry to keep coming with the questions but, the book also says I need to add an entry to my path environment variable that points to the /bin directory. I don't know what that means or how to do it.
 
Charles D. Ward
Ranch Hand
Posts: 99
1
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mike Fitch wrote:As far as downloading the api, do I have to download each individual package?


Nope. Download from here: http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html
 
Mike Fitch
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mike Fitch wrote:Sorry to keep coming with the questions...

No need to be sorry. This is what the forums are for. Asking and answering questions
 
Wayan Saryada
Ranch Hand
Posts: 119
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mike Fitch wrote:Sorry to keep coming with the questions but, the book also says I need to add an entry to my path environment variable that points to the /bin directory. I don't know what that means or how to do it.


You need to add an entry to your path environment so that you can execute javac or java command from the command prompt. For example when you need to compile or execute your java classes. If you are on Windows: Right click on Computer -> Properties -> Advance system settings. On the System Properties, in the Advanced tab you can see a button Environment Variables. Click that button to edit the environment variables. You'll likely already have a system variables called Path. Update this variable to add the binary folder of the JDK.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!