Start learning with our library of video tutorials taught by experts. Get started
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.
Once you've installed and verified your copy of Java, the next step is to install an Integrated Development Environment. While you can program and compile Java applications directly from the command line, an IDE such as Eclipse will make things a whole lot easier. I'll be using the Eclipse IDE throughout this course. You can download a free copy of Eclipse from www.eclipse.org/downloads. On this screen, you'll see a listing of the various distributions of Eclipse. I recommend that you use the Eclipse IDE for Java Developers.
You'll also see a larger distribution for Java EE or Enterprise Edition Developers. Because we won't be building Enterprise web applications in this course, you don't need all the tools that are a part of that distribution. Over on the right, you'll see that there are 32-bit and 64-bit versions of Eclipse. As with Java, make sure you know which version of Windows you are running and choose the matching version of Eclipse. I've downloaded the 64-bit version of the Eclipse IDE for Java Developers to my desktop. Eclipse is delivered as an achieve file in zip format.
To install it, you simply extract the contents of the zip file. I don't have any special zip utilities installed on my system, so when I double click on the zip file it just opens it up in Windows Explorer. Now, I am going to drag this off to the right and dock that window on the right side, that's one of my favorite little Windows 7 tricks and then I am going to drag and drop the eclipse folder on to my desktop. This is a fairly large file, so it's going to take a few minutes for it to extract completely. Once it's extracted though the installation is really complete.
You can either leave the eclipse folder on your desktop or if you want to follow the conventions of Windows you might move that eclipse folder into your Program Files directory. It's completely up to you though, you can run Eclipse from anywhere on your system. Once the files are finished being extracted, I'll move them into my Program Files directory. I'll open Windows Explorer and go to C:program files. Once again, I'll dock over to the right and then I'll simply drag and drop this eclipse folder and move it into the Program Files folders.
If prompted for administrator permission click Continue. Now to run Eclipse, double click the eclipse folder and then double click eclipse.exe. Depending on your Windows configuration, you might not see the .exe file extension but you should see this graphic. When I double click, I am prompted to run the application. For convenience, I'll uncheck the option to ask before opening the file every time and then I'll click Run. When Eclipse opens for the first time it will prompt you for something called a workspace directory.
I'll talk more about workspace directories in a later video, but for now you can simply accept the default, which is a new directory named workspace all lowercase under your home directory. I also recommend that you check this option, Use this as the default and don't ask again and that will let Eclipse launch more easily later on. I'll click okay and then after a few moments, after Eclipse loads all of its resources; it will open on the screen. When you first open Eclipse, you'll see this welcome screen. You don't need it though so you can just close that screen and you'll now see the default Eclipse configuration.
If you've gotten this far, you are ready to go onto the next step building Java applications.
There are currently no FAQs about Java Essential Training.
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.