• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Which Files to Download from Sun

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 490
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Sterling Crapser
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Rusty Shackleford
Ranch Hand
Posts: 490
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you all for your assistance and information. It is much appreciated.

scrapser
 
Campbell Ritchie
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank us when you have got it to work
 
Sterling Crapser
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic