Hey guys, Zennywop here.
This is my very first guide on anything, so bare with me
JDK - which can be downloaded
here.
Eclipse - which can be downloaded here.
A brain - which can be acquired when forming in your mothers womb.
Ok, once you have that sorted out lets move on.
1. Open up eclipse.
You should see something saying 'Default workspace'
Choose the default one.
2. You should see something like this ,
3. Make a new Java Project by,
File > New > Java Project
You can name that what ever you want but i'm gunna call mine 'anthony' which is my first name.
4. Double click the following,
'Your Project Name' > src > (default package)
Right click (default package) and click new > Class
5. You should see a screen like this,
Ok once you have that up you should see a screen like this,
6. Copy and paste this into Eclipse
public - this means that anything can access it.
static - this is used to show what method is being used along all the classes.
void - shows that this method will not have any return.
main - is the method which string has an argument.
Credits - I edited but this is where I found it Here
7. Hit the green 'Go' button
I hope you enjoyed the tutorial
This is my very first guide on anything, so bare with me
Requirements
JDK - which can be downloaded
here.
Eclipse - which can be downloaded here.
A brain - which can be acquired when forming in your mothers womb.
Ok, once you have that sorted out lets move on.
1. Open up eclipse.
You should see something saying 'Default workspace'
Choose the default one.
2. You should see something like this ,
3. Make a new Java Project by,
File > New > Java Project
You can name that what ever you want but i'm gunna call mine 'anthony' which is my first name.
4. Double click the following,
'Your Project Name' > src > (default package)
Right click (default package) and click new > Class
5. You should see a screen like this,
Ok once you have that up you should see a screen like this,
6. Copy and paste this into Eclipse
Code:
public class Hello{
public static void main(String args[]){
System.out.println("Hello World!");
}
}
public - this means that anything can access it.
static - this is used to show what method is being used along all the classes.
void - shows that this method will not have any return.
main - is the method which string has an argument.
Credits - I edited but this is where I found it Here
7. Hit the green 'Go' button
I hope you enjoyed the tutorial