Blogs Tutorial

Coding for Noobs! [Programming Tutorial Series] Tutorial 1: Setting up

  • 2,027 views • 1 today
  • 28
  • 13
  • 12
999Destroyer
Level 44 : Master Technomancer
64
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:Image

Screenshot 2:

Image

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:

Image

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 pmJanuary 24, 2014 @ 1:03 am UTC

  • added section on creating a package and a class

  Have something to say?

XxTacticalXx12
01/25/2014 9:23 am
Level 19 : Journeyman Network
This is a little too basic for beginners. Its kind of obvious how to set up projects and compiling.
1
999Destroyer
01/25/2014 10:16 am
Level 44 : Master Technomancer
I first made these tutorials for some of my friends who didn't know anything about coding and they couldn't even find out how to create a package...
1
mrsebaslalic
01/25/2014 8:35 am
Level 5 : Apprentice Network
nice good work man
1
999Destroyer
01/25/2014 10:16 am
Level 44 : Master Technomancer
Thanks! Glad it helped.
1
Warbry
01/24/2014 5:45 pm
Level 10 : Journeyman Hunter
It just so happens I sarted learning coding yesterday...What a coincidence XD
1
999Destroyer
01/24/2014 5:52 pm
Level 44 : Master Technomancer
Well then let me know if you need any help with these tutorials! I'll be posting them daily.
1
Fazure
01/24/2014 5:21 pm
Level 22 : Expert Zombie
:o Diamond!
1
999Destroyer
01/24/2014 5:31 pm
Level 44 : Master Technomancer
Thank you!
1
Fazure
01/25/2014 3:32 pm
Level 22 : Expert Zombie
Pleasure! I just saw you have another one, gonna go check that out soon :)
1
999Destroyer
01/25/2014 3:38 pm
Level 44 : Master Technomancer
Got 5 up so far, I'll try to continue with about 1 per day on average.
1

Welcome