This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hey. I am a brand new aspiring developer for Java. Today I purchased Head First's Java book. In the beginning of the book it explains some nessesary tools for beginning out. It says
"If you dont already have a 1.5 or greater Java 2 Standard SDK, I need it. When I goto Java.sun.com there are many different types of downloads, JDK, API's, its overwhelming. Could someone please direct me to the download this might be reffering to? I am running windows.
According to the book I need the following:
Java 2 Standard Edition SDK
Thanks so much in advance. I look forward to spending much time here!
Note that Sun has used different names for the same thing in the past: J2SE (Java 2 Standard Edition), they later dropped the "2" and just call it Java SE now. JDK = Java Development Kit = J2SE SDK (Software Development Kit). To make it even worse, they also use confusing version numbers: 1.5 = 5.0, 1.6 = 6.0, etc.
One difference to be aware of is JRE vs. JDK: the JRE (Java Runtime Environment) is what "normal" people would download and install to be able to run Java programs. The JDK (Java Development Kit) is what programmers need: it's the JRE plus tools to compile and debug your own Java programs.
I'm ploughing through Head First Java, and agree, it is very easy to read and understand (particularly as I'm a grizzled old man from a procedural programming background).
I have JDK 1.6 installed (also NetBeans IDE).
One thing though - the book asks you to solve some code puzzles quite early on - the first PoolPuzzleone for example. I really want to run the code, but the book gives you no indication of how to do this - very frustrating. It shows a kind of console window but doesn't show how to compile a class or run it.
I realise this may be later in the book but I want to do it now - is there a short tutorial on here on achieving that ?
Thanks , JD
Joined: Oct 13, 2005
Welcome to JavaRanch
Please don't post new questions on somebody else's thread; this is called hi-jacking and may deprive him of answers to his own question. Since the original question has been answered, I think it best to close this thread and ask you to repeat the question as a new thread.