Minecraft Blogs

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

  • 27
  • 12
  • 12
avatar 999Destroyer
Level 44 : Master Technomancer
62
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 : 01/23/2014 8:03:51 pmJan 23rd, 2014

  • added section on creating a package and a class

1
01/25/2014 9:23 am
Level 19 : Journeyman Network
XxTacticalXx12
This is a little too basic for beginners. Its kind of obvious how to set up projects and compiling.
1
01/25/2014 10:16 am
Level 44 : Master Technomancer
999Destroyer
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
01/25/2014 8:35 am
Level 5 : Apprentice Network
mrsebaslalic
nice good work man
1
01/25/2014 10:16 am
Level 44 : Master Technomancer
999Destroyer
Thanks! Glad it helped.
1
01/24/2014 5:45 pm
Level 8 : Apprentice Hunter
Warbry
It just so happens I sarted learning coding yesterday...What a coincidence XD
1
01/24/2014 5:52 pm
Level 44 : Master Technomancer
999Destroyer
Well then let me know if you need any help with these tutorials! I'll be posting them daily.
1
01/24/2014 5:21 pm
Level 18 : Journeyman Zombie
Fazure
:o Diamond!
1
01/24/2014 5:31 pm
Level 44 : Master Technomancer
999Destroyer
Thank you!
1
01/25/2014 3:32 pm
Level 18 : Journeyman Zombie
Fazure
Pleasure! I just saw you have another one, gonna go check that out soon :)
1
01/25/2014 3:38 pm
Level 44 : Master Technomancer
999Destroyer
Got 5 up so far, I'll try to continue with about 1 per day on average.
1
01/23/2014 7:53 pm
Level 38 : Artisan Giraffe
MrGlue
Make more please!
1
01/23/2014 8:04 pm
Level 44 : Master Technomancer
999Destroyer
updated, making tutorial #2!
Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome