wood burning stoves*
The moose likes Beginning Java and the fly likes Which Files to Download from Sun Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Which Files to Download from Sun" Watch "Which Files to Download from Sun" New topic
Author

Which Files to Download from Sun

Sterling Crapser
Ranch Hand

Joined: Jun 05, 2006
Posts: 55
I started the Head First Java book which directs me to download and install the J2SE 5.0 SDK (not BETA) and the API. I found Java EE 5 SDK which says it includes the API and JDK 5.0 Update 7. I can't find the API for the Update 7 file.

I'm confused.

Can anyone direct me to exactly what it is I need to download from Sun by filename (i.e, what download files on the Sun website)? I have WinXP SP2.

I would really appreciate some help!

Thanks

scrapser
Rusty Shackleford
Ranch Hand

Joined: Jan 03, 2006
Posts: 490
You won't need Java EE for a while, if ever

https://sdlc4a.sun.com/ECom/EComActionServlet;jsessionid=E1A9531ADBDE6985144E8B17A2354D9C

don't forget to read the installation instructions.
[ June 05, 2006: Message edited by: Rusty Shackleford ]

"Computer science is no more about computers than astronomy is about telescopes" - Edsger Dijkstra
Sterling Crapser
Ranch Hand

Joined: Jun 05, 2006
Posts: 55
Thanks for the reply but I really need to know what the file name is that I should download. The Sun website is extremely confusing with too much information overload going on. They give you a link to get J2SE 5.0 SDK and when you get there, the page lists everything but!

Does anyone know the names of the files I need or is this some sort of "rite of initiation" into the world of Java that all must first pass?

Thanks
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
I think Rusty's link probably made more sense on his screen when he first copied it - now, on our screens, it's of little use.

Sterling, ignore any links you find that relate to J2EE or Java EE (same thing). You want J2SE or Java SE (same thing). Try going here and clicking "Download JDK 5.0 Update 7". You can also download "J2SE 5.0 Documentation", or just view it online.


"I'm not back." - Bill Harding, Twister
Rusty Shackleford
Ranch Hand

Joined: Jan 03, 2006
Posts: 490
Gave you a bad link, sorry about that.

http://java.sun.com/j2se/1.5.0/download.jsp

Look down a little bit, it is the first bar that isn't broken. It says "JDK 5.0 Update 7" and underneath it says "The J2SE Development Kit (JDK) supports creating J2SE applications". This is what you need. underneath that is a download and instruction link. Just follow those.

After clicking the download link, scroll down a little bit and there is a license agreement, you have to accept and right underneath that is the 2 ways you can download the JDK for windows. Pick one.
[ June 06, 2006: Message edited by: Rusty Shackleford ]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38007
    
  22
Welcome to the Ranch.
Yes, there is a rite of initiation, far more harrowing than having to drink 16 beers backwards or anything like that. Jim Yingst has just notified you of this website: click on J2SE5.0 near the top left. Or you might wish to try J2SE6 beta. You may get NetBeans bundled with the download; even if you don't use NetBeans as a beginner, it does no harm to donwload NetBeans too.

Download that lot, and follow the installation instructions you are given. Remember the exact name and path of the "bin" directory or "bin" folder you put Java in. That is the easy bit.

Now the hard part, which can put 10 years on the biological age of most programmers. Go to this training website, and click on whichever OS you use.

This is the real iniation ritual, which is called "setting up your path and classpath."

Follow the instructions to the letter.

One letter or one "enter" out of place and you too can spend a week looking at command prompt or shell windows saying "bad command or file-java."

We've all been there, done that, got the tee-shirt and the bruised forehead from banging our heads against the wall. We know what it is like. That's why we are happy to help others.
Sterling Crapser
Ranch Hand

Joined: Jun 05, 2006
Posts: 55
Thank you all for your assistance and information. It is much appreciated.

scrapser
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38007
    
  22
Thank us when you have got it to work
Sterling Crapser
Ranch Hand

Joined: Jun 05, 2006
Posts: 55
I have successfully installed the SDK and documentation and added the bin location to my PATH variable. I checked to be sure it worked by downloading, compiling, and running the "Hello World" code from my command prompt window (I'm using WinXP SP2).

Along with the SDK, the installation included the JRE. There are two folders in my Java folder for the JRE (jre1.5.0_06 and jre1.5.0_07). I know this is the runtime but wonder why there are two versions. In addition, when I start up the documentation, I get a warning from my Norton software about blocking a script or ActiveX from executing. Since this is on my C drive, I'm assuming this is okay and won't open any back doors from the Internet.

Any comments on where I am would be appreciated.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Which Files to Download from Sun
 
Similar Threads
Can Servlet be compiling on command prompt?
Error loading applets in Windows XP Professional 2002 SP 2
HTML and other java info
java api
Confussed