• Log in or sign up for an account here: https://www.sythe.org/login

A Simple Hello world Tutorial for Java! Part 1 of many.

diabl0

Apprentice

Banned
Joined
Jul 25, 2008
Sythe Gold
0
Messages
902
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:
public class Whatever {

}

Now first of all you are going to need to create your main.

So under
Public class Whatever {

Put this:
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:
public static void main(String args[]){

Add:
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.
 
I suggest you post this (and any further tutorials) in the user education section.
 
So far I have added 3 tutorials into the user educator section :)
 
you can used:

System.out.println("Hello");
System.out.println("Sythe.org!");
 
Halloween 2013
Lawrence
this will definitively help those new to java, thanks mate
 
A.. sorry if is not allow to type hear but i just want help others to learn java an easily way. You can use netbeans to help you do programming
 
Please post this information in a different thread, thank you very much buddy.
 
Helped me a little, i already have eclipse, but you should put the download link for it.
 
Runescape Gamblingrunescape gambling
Back
Top