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?
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.
posted 7 years ago
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.
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.