• 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

The installation process to set up Java and everything on Head First Java 2nd Edition.

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, I started using Java about a week ago on Eclipse, using tutorials from lynda.com.
I researched the best way to learn Java and found a few books. I havnt even started
writing code and am stuck on SETTING UP JAVA in the book Head First Java the 2nd edition.

I am stressing out and cant seem to understand what to do.

It tells me I need J2SE SDK, I installed JDK 7, is this the same thing just a newer version?

It tells me I need to download the API Documentation as it is not included.
I go to the download page and it has a massive list of API Doc's, I dont know what I am needing
to download.

You need to add an entry to your PATH environment variable that points to the /bin
directory inside the main Java directory. For example, if the J2SDK puts a directory on your
drive called “j2sdk1.5.0”, look inside that directory and you’ll find the “bin” directory where the
Java binaries (the tools) live. The bin directory is the one you need a PATH to.

A PATH from where? This confused me also...

Last thing, the command line it talks about, where do I find this command line?

Basically I need the whole installation in way more simple terms, this is probably the most
ridiculous requests, but if someone can please take the time to help me out on my journey I
would VERY, VERY much appreciate it.

Thank you sooo much in advance! Thank-you, thank-you, thank-you!
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Linux? OS X? Windows? It'll be slightly different on each.
 
Bear Bibeault
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A few answers:

Michael Kinberger wrote:It tells me I need J2SE SDK, I installed JDK 7, is this the same thing just a newer version?


Yes.

It tells me I need to download the API Documentation as it is not included.


You can just reference it online if you like.

A PATH from where? This confused me also...


PATH is an environment variable. How to modify it is platform-dependent. It may also be handled for you during installation.

Last thing, the command line it talks about, where do I find this command line?


Platform dependent.

 
Michael Kinberger
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have Windows 8
 
Michael Kinberger
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Platform dependent meaning can only be modified in cmd prompt?

Thank-you guys for the replys.
 
Bartender
Posts: 2236
63
IntelliJ IDE Firefox Browser Spring Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Platform dependent means that on various OS-es the method of bringing up a command line is different.
On Windows 8 press win+R, type cmd and press Enter.
 
Michael Kinberger
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wrote a code from the book in my notepad++ and executed the file through cmd prompt.
Do I use the cmd prompt throughout the book? The book is Head First Java second edition.

Thanks again everyone.
 
Marshal
Posts: 79239
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Probably best to use a terminal throughout, yes.
 
reply
    Bookmark Topic Watch Topic
  • New Topic