Win a copy of Head First Android this week in the Android forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Help!What do I need to Download??

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've just got the head first Java book and have been using IDE's to compile work so far, but all the SDKs on the Java website are a bit confusing!what file do i need to download, "java ee SDK5" is it, about 100mb?? what about this API DOCUMENTATION??? Why do i need that???

any suggestions/help would be much appreciated as I am all over the place...

thanks

d
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The API doc is just this

API

It just lists... pretty much what you can do with java.

And surely if you're already successfully compiling programs with an IDE (Netbeans..?) then you don't need to download anything else...
 
Marshal
Posts: 74354
334
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch, Dipen.

You need access to the API documentation which Samuel has already told you about. Suggest you find the Java Tutorials. You can download Java here, but as Samuel has already told you, you most probably have already installed Java. Open a command prompt or terminal window and type both of the following.

java -version
javac -version

If you get a sensible response (usually starting with 1.6) you are all right, if not, download JDK6 update 6, and follow the instructions, particularly the bit about updating the PATH variable.
 
Dipen Ravalia
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks guys... i know it sounds a bit peculiar using IDE's and then not having a clue about going back to basics, but as a part of going through the book head first java it says not to bother with any IDE's at all and stick to the SDK... also the java -version works fine but i am unable to execute the javac -version command? do i need to download the JDK 6 update 6?

Thanks again

d
 
Campbell Ritchie
Marshal
Posts: 74354
334
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are a newcomer to Java, then an IDE is liable to confuse you. If you get a sensible response from java -version and not from javac -version, then yes, you need to download and install JDK 6 update 6.

Get a decent text editor, not NotePad. On Linux try gedit or kate. On Windows google for NotePad2 and NotePad++. Make sure they have automatic indentation, convert tab to (4) spaces, and syntax highlighting all enabled, whichever sort you use.
 
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Samuel Allaby:
And surely if you're already successfully compiling programs with an IDE (Netbeans..?) then you don't need to download anything else...



Many IDEs (eclipse and JBuilder for sure, probably others) come with their own embedded JDK so you don't need to download a separate one.
 
reply
    Bookmark Topic Watch Topic
  • New Topic