• Post Reply Bookmark Topic Watch Topic
  • New Topic

Downloading everything, I'm so confused  RSS feed

 
Ellen Thiel
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, so i have a mac book pro, and I just started reading the Java Head First book, but it's telling me to download all this stuff but I'm not sure if I'm doing it correctly. It says I need to download the API, and I need to add an entry to my PATH but I have no idea what that is... can a lovely lovely nice person please help me?
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make a list of what it's "telling" you to download. I don't have the book so not sure what
required and optional components it's asking for.

WP
 
Ellen Thiel
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. It says I need to download the J2SE API documentation
2. It says I need a text editor, but I think I downloaded Notepad successfully
3. It says to add an entry to the PATH environment variable that points to the /bin directory inside the main Java directory.

Thank you so much for helping me!!
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The documentation is just a collection of HTML (or PDF).

Notepad for MacOSX ? Try notepad++ or textmate.
You could also download Eclipse for future use ;)

you should already have java in there.

Open up a terminal session and type:
% which java
% which javac

or:

% java -version
% javac -version

WP
 
Junilu Lacar
Sheriff
Posts: 11477
180
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
TextWrangler is free and understands how to color and navigate different kinds of code. Of course, Eclipse is a very widely-used IDE for Java development so familiarizing yourself with that environment won't hurt. Eclipse might be a little overwhelming for a beginner but there are many tutorials out there that will help get you up to speed quickly. Eclipse also takes care of most of the environment setup for you so you don't usually have to worry about it.

As for downloading the Java API, I'd just go online. If you're on JavaRanch, we have a neat little feature in the editor where you can type in the fully qualified class name and we'll automatically turn it into a link to the API documentation. You don't even have to post your message, just hit the Preview button, find the link, and open it in a new browser window or tab. For example, I just typed java.lang.String in the editor and the forum software automatically turned it into a link.
 
BalaMurali dhar
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,
First of all Download the Java.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66306
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or just visit the docs here: http://docs.oracle.com/javase/6/docs/api/

Whatever editor you choose to use, be sure to save the source files as plain text, not RTF or other "fancy" format.
 
Junilu Lacar
Sheriff
Posts: 11477
180
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And...

Welcome to the Ranch!
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!