Viewers: in countries Watching now:
Join author David Gassner as he explores Java SE (Standard Edition), the language used to build mobile apps for Android devices, enterprise server applications, and more. This course demonstrates how to install both Java and the Eclipse IDE and dives into the particulars of programming. The course also explains the fundamentals of Java, from creating simple variables, assigning values, and declaring methods to working with strings, arrays, and subclasses; reading and writing to text files; and implementing object oriented programming concepts.
- To follow along with this course on Mac OS X, you'll need two versions of Java. You'll need what's known as the legacy version of Java and you should also install the latest version of Java from Oracle. To find out what you already have, go to Terminal. And type java -version. Now, there are few different possible results. You might see an indication that you don't have Java installed at all. In that case, you'll need to install both the legacy Java, that's Java 6, and the latest version.
If you see that you're running Java 6, then you only need the latest version. And if you see that you're running Java 8 or something even more recent, then you're ready to go on to the next step, installing Eclipse. If you need to install the legacy version of Java, you'll need to download it from Apple. Here's the URL you'll need. I'll go to Chrome and I'll go to this website at support.apple.com/ kb/DL1572.
On Chrome, you only need the first part of the URL. But on Safari, you need the entire thing that you see here including the view local setting. If you want something other than English, set the view local to your particular language. For example, fr_FR would mean French. Download and install this version of Java. I've already downloaded the installer to my Desktop and I'll show it here. When you double click the DMG file, you'll see an installation package.
And when you double click that, you'll be walked through the installation process. You won't see any options here. Just accept the License Agreement and install the legacy version of Java. Once that's done, you're ready to install the latest version of Java. And you can get that from Oracle's website, at java.oracle.com. From the page that appears, click Java SE under Top Downloads.
Then click the Download link under JDK. Scroll down a bit. You'll need to once again accept the Licence Agreement. And then download the DMG file for Mac OS X x64. If you're using an older Mac, one that runs on 32-bit Mac OS X, you wont be able to install Java and you won't be able to follow along with this course. Once again, I've already downloaded the installer.
I'll double click the DMG file. And once again, there's an installer package. And just like the legacy version, you can walk through this installer and you won't see any real options. Just follow it through to the end and complete the installation. After completing the installations for both the legacy and the latest versions of Java, I recommend ejecting the DMG files. Then, if you already have Terminal opened, close it.
You'll want to start a new Terminal session. Then once again, go back to Terminal and type java -version. And you should now see the latest version of java displayed. Here are couple of other things to know. The latest version of Java will be installed under Library/Java/JavaVirtualMachines. I'll list the contents of that directory and I see jdk1.8. You could also configure Java through System Preferences.
From System Preferences, you should see a Java item. When you click that, it will open up a separate window. From there, click Java and then click View. And this will tell you where an application is installed to automatically update your version of Java whenever it's needed. So once you've installed Java and you know for sure you're running the latest version, you're ready to go on to the next step, installing Eclipse.
Find answers to the most frequently asked questions about Java Essential Training .
Here are the FAQs that matched your search "" :
Sorry, there are no matches for your search "" —to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.