63
Hey guys! 999Destroyer here and I want to introduce you to a complex world which I myself entered not too long ago. In this series of tutorials I will be going through essential programming languages and taking any requests you guys have for me. Today we will start with in my opinion, what is the most important language in the programming world, Java.
For starters, I will advise you to download Eclipse, my preferred IDE for Java development. Find the right IDE for you here: http://www.eclipse.org/downloads/. Once you have installed Eclipse, you can, if you haven't already, download a JRE and JDK which can be found here: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Now you are ready to dive into Java! When you get into Eclipse, go ahead and create a new project by right clicking on the blank left sidebar [Screenshot 1]. Lets make this a Java project and name it "Hello" [Screenshot 2]. Click finish.
Screenshot 1:
Screenshot 2:
Ok, now that you have your project, we want to create a package. To do this we have to right click on the "src" folder (inside your project folder) and click "New" and then "Package". The "rules" for naming your package can be found here: http://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html. I called mine "com.minecraft999.hellotutorial". Next we will create our first class. If you don't understand the purpose of a class, then you can read a good explanation on classes here: http://docs.oracle.com/javase/tutorial/java/concepts/class.html. Right click on your package, click "New", and then "Class". Lets name our class "Hello" [Screenshot 3]. Click finish.
Screenshot 3:
Congrats! You set up your first project! Please diamond and even favourite if this helped you, and be sure to subscribe for more! Start coding in tutorial Tutorial 2, check it out here: http://www.planetminecraft.com/blog/coding-for-noobs-programming-tutorial-series-tutorial-2-hello-world/.
For starters, I will advise you to download Eclipse, my preferred IDE for Java development. Find the right IDE for you here: http://www.eclipse.org/downloads/. Once you have installed Eclipse, you can, if you haven't already, download a JRE and JDK which can be found here: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Now you are ready to dive into Java! When you get into Eclipse, go ahead and create a new project by right clicking on the blank left sidebar [Screenshot 1]. Lets make this a Java project and name it "Hello" [Screenshot 2]. Click finish.
Screenshot 1:
Screenshot 2:
Ok, now that you have your project, we want to create a package. To do this we have to right click on the "src" folder (inside your project folder) and click "New" and then "Package". The "rules" for naming your package can be found here: http://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html. I called mine "com.minecraft999.hellotutorial". Next we will create our first class. If you don't understand the purpose of a class, then you can read a good explanation on classes here: http://docs.oracle.com/javase/tutorial/java/concepts/class.html. Right click on your package, click "New", and then "Class". Lets name our class "Hello" [Screenshot 3]. Click finish.
Screenshot 3:
Congrats! You set up your first project! Please diamond and even favourite if this helped you, and be sure to subscribe for more! Start coding in tutorial Tutorial 2, check it out here: http://www.planetminecraft.com/blog/coding-for-noobs-programming-tutorial-series-tutorial-2-hello-world/.
Tags |
1 Update Logs
Package and Class : by 999Destroyer 01/23/2014 8:03:51 pmJan 23rd, 2014
- added section on creating a package and a class
tools/tracking
2709314
6
coding-for-noobs-programming-tutorial-series
Create an account or sign in to comment.