Free Games Forum
Free Games Games Forums Music Forums TV Forums

  Main Index FORUM
HOME
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN
Rules & FAQ RULES
F.A.Q.

Free Games Forum: Game Technology: Javascript Coding:
Hello World Tutorial

 

 


darkdemon
Enthusiast


May 28, 2006, 10:51 AM

Post #1 of 8 (954 views)
Shortcut
Hello World Tutorial Can't Post

Hi I just started learning Java and wanted to give this tutorial.

First start off with an empty project then add a .java file to it.
Name it hello.
Then add this code to it:


Code
public class hello 
{

public
static void main(String[] args)
{
System.out.println("Hello World");
}

}


Now if you're using VJ# then you wouldn't need to add the first line, but if you're using a program that doesn't help at all by showing you different controls say like "System" that wouldn't be there in JCreater LE, you would need the pro or you can just download the free editon of VJ# 2005 Express Edition.

Let's get back to what we were talking about.
Compile the project by going to build and compile.

You see a console that says Hello World.

BTW : You need to make a Console project in VJ# 2005.

That's the end of my tutorial, I hope it helped you guys.

Edit : Fixed code.


U r reading a signature.
Free game hacks!

(This post was edited by darkdemon on Jul 28, 2006, 5:33 AM)



wakka
Enthusiast

Jul 28, 2006, 3:49 AM

Post #2 of 8 (682 views)
Shortcut
Re: [darkdemon] Hello World Tutorial [In reply to] Can't Post

this is more pro
I used a simple thing like Notepad


public class Hello World {
public static void main(string[] args)
System.out.println("Hello World");
}
}

_____

I think u could use that too


Wakka: I see that you are from that ******* forum, by the style of your typing.
Mark: It's called a font.



darkdemon
Enthusiast


Jul 28, 2006, 5:29 AM

Post #3 of 8 (680 views)
Shortcut
Re: [wakka] Hello World Tutorial [In reply to] Can't Post

Thanks, fixed code.


U r reading a signature.
Free game hacks!


wakka
Enthusiast

Jul 28, 2006, 5:49 AM

Post #4 of 8 (676 views)
Shortcut
Re: [darkdemon] Hello World Tutorial [In reply to] Can't Post

Sure but why can`t my Jcreator compile Unsure help pl0x?


Wakka: I see that you are from that ******* forum, by the style of your typing.
Mark: It's called a font.



darkdemon
Enthusiast


Jul 28, 2006, 8:41 AM

Post #5 of 8 (669 views)
Shortcut
Re: [wakka] Hello World Tutorial [In reply to] Can't Post

Have you download the Java JDK?
Download it here



U r reading a signature.
Free game hacks!


wakka
Enthusiast

Jul 28, 2006, 4:56 PM

Post #6 of 8 (665 views)
Shortcut
Re: [darkdemon] Hello World Tutorial [In reply to] Can't Post

Yes I have but i think i have set the wrong enviroment variables.
Whats urz


Wakka: I see that you are from that ******* forum, by the style of your typing.
Mark: It's called a font.



Real1ty
Senior Member


Aug 11, 2006, 9:22 AM

Post #7 of 8 (602 views)
Shortcut
Re: [wakka] Hello World Tutorial [In reply to] Can't Post


In Reply To
this is more pro
I used a simple thing like Notepad


public class Hello World {
public static void main(string[] args)
System.out.println("Hello World");
}
}

_____

I think u could use that too


It didn't compile because you forgot to put an open bracket after your main method.


"It worked, idk how. It probably wasn't healthy considering one time it bleed."
~coolgreencat


abby12
Newbie

Jun 28, 2008, 5:48 PM

Post #8 of 8 (315 views)
Shortcut
Re: [darkdemon] Hello World Tutorial [In reply to] Can't Post

It is good tutorial of java,it is starting point of java,To start learn java that is good code,you can compile java code in jdk1.3 that is good complier,anyone can easily under stand this code


_____________
Website development
Free templates


(This post was edited by abby12 on Jun 28, 2008, 5:54 PM)

 
 
 


Search for (options) Web Design by Web Ideas - Page loaded in: 0.17 s on (CGI/1.1)