Hello everybody, this is Diabl0, I am going to teach you how to make a simple Hello World program in Java.
First thing you will need is Eclipse. Eclipse is a Free Java IDE, and it will save you alot of hassle with compiling and etc.
After you get Eclipse start it up and create a new Java Project. When that is created right click on src on the left hand side, and click new, then Java class.
Here is where we will begin.
Something like this should be in that newly created file:
Quote:
public class Whatever {
}
|
Now first of all you are going to need to create your main.
So under
Put this:
Quote:
|
public static void main(String args[]){
|
This code here is required in anything you create in Java. This is something you cannot forget.
After you have that It is time to create your Hello World Line.
So underneath:
Quote:
|
public static void main(String args[]){
|
Add:
Quote:
|
System.out.print("Hello Sythe.org!");
|
And that is all you need go ahead and run the code.
It should pop up on the bottom with Hello Sythe.org!
There is more Tutorials to come, Please follow along with me, and you will learn much.