Hey guys, i'm just writing a simple tutorial on starting out with Java, hope it helps some people
. (This is assuming you already have Java installed)
What you'll NEE
JDK (Java Development Kit) - Linky
A Good development software to write all your Sauce in, I recommend eclipse You'll want the 2nd one down, choose your OS on the right.
Beginning Java For Dummies -linky
Right So let's get started ;D.
Open up Eclipse.exe (No need for installation) You should see this
Choose a location, tick the checkbox, and continue.
Once it loads, you should see
Go to File -> New -> Java Project, and this box will come up
Name it Hello World, and hit finish.
Click the downwards arrow next to Hello World (Left hand box), right click src, New -> Class
Now this will pop up
Call it Sauce, and hit finish.
Now, Copy Paste
into the screen that pops up.
The highlighted box (scroll right) Shows the procedures/functions in this class file.
So, there's your Source, now hit Ctrl + F11, click ok on the box that comes up.
Wait a couple seconds, and you should see this at the bottom of the screen.
Read through the ebook you downloaded, that's gonna go into a lot more detail than I just did.
You can probably skip the first chapter, but read it if you're into random information.
Well, hope you liked it ;D
Magiic™
P.S. Yes, It's the same guide I wrote for HF. But it's just as good here. :smile:
What you'll NEE
JDK (Java Development Kit) - Linky
A Good development software to write all your Sauce in, I recommend eclipse You'll want the 2nd one down, choose your OS on the right.
Beginning Java For Dummies -linky
Right So let's get started ;D.
Open up Eclipse.exe (No need for installation) You should see this
Choose a location, tick the checkbox, and continue.
Once it loads, you should see
Go to File -> New -> Java Project, and this box will come up
Name it Hello World, and hit finish.
Click the downwards arrow next to Hello World (Left hand box), right click src, New -> Class
Call it Sauce, and hit finish.
Now, Copy Paste
Code:
public class Sauce {//The { is an opening in Java, each you open has to be shut (simply)
public static void main(String[] args) {//This just names the procedure, main is the needed
//procedure in Java
System.out.println("Hello World!"); // Display's the Words (this function is usually
//used for debugging, but oh well)
}
}
So, there's your Source, now hit Ctrl + F11, click ok on the box that comes up.
Wait a couple seconds, and you should see this at the bottom of the screen.
Read through the ebook you downloaded, that's gonna go into a lot more detail than I just did.
You can probably skip the first chapter, but read it if you're into random information.
Well, hope you liked it ;D
Magiic™
P.S. Yes, It's the same guide I wrote for HF. But it's just as good here. :smile: