So, this needs a little more setting up than say Visual Studio with C++ or even the free CodeBlocks for C++.
For C++: you install CodeBlocks (or your IDE of choice) > select the settings when installing > open the app when it’s installed > start a new project > write your hello world code > profit!
For Java, the first few steps are different and might be missed if you don’t know what you’re doing.
NOTE: If you aren’t sure what an IDE is or just want a basic vocab refresher, check out my Learn To Crawl page!
- First, you need the JDK or Java Development Kit. You also want the SE version (Standard Edition).
- Link to Oracles Download page of JDK8
- Or you can Google “Java JDK download” and you should get plenty of hits and be able to find the latest JDK for download.
- Some tutorials may indicate you need the JRE and the JDK as separate downloads but that’s not quite accurate. If you download the JDK from Oracle’s site, which is for Java Development, it includes the JRE as well. If you are only looking to run Java programs and not develop them, the standalone JRE is what you need.
- In our case, we are learning to develop Java applications so the JDK has everything we need!
- Now it’s time to download your IDE!
- Eclipse, NetBeans, and IntelliJ IDEA are going to be the three biggest IDEs out there. If you research “Best Java IDE,” these 3 are going to top almost every list.
- I found myself downloading Eclipse because it was the first one I came across that someone raved about. It’s honestly personal preference but I’m guessing that my tutorials will all be explained using Eclipse Oxygen (newest version at the writing of this).
- Very easy to find and download. Just google: “Java eclipse download” or click this link: Eclipse Packages.
- Grab the “Eclipse IDE for Java Developers” and not the one for EE developers or C/C++ or any of the others on the list.
- Once you download your Eclipse IDE, it will come in a zip file (at least mine did) and there is no installation. It’s the full application just zipped up.
- Make sure to unzip it into its own folder and stick that folder wherever you want.
- There is an Eclipse.exe file inside of it, just double click it to launch the IDE.
- If you want, right click the exe and select “send to desktop” to create a desktop shortcut.
Our development environment is now rearing and ready to go. Let’s write the fabled “Hello World” application in our next tutorial!