Members Login
Username 
 
Password 
    Remember Me  
 

Topic: Java 4 Dummies Lesson 1: Let's get Started.

Post Info
Administrator
Status: Offline
Posts: 993
Date:
Java 4 Dummies Lesson 1: Let's get Started.
Permalink   
 

Ok, some of you people have been having some trouble getting Java. So, I present this step-by-step guide for y'all!

 

1. Get eclipse. Go to

http://www.eclipse.org/downloads.

Your screen should now look like this:

Capture.JPG

Now, click here:

Capture.JPG

Got that? Good. Now, click on the link that says this:

[United States] TDS Internet Services (http)

(Actually, I suppose I could have copied that link in here in the first place....)

Anyway, ignore the little save file window, and go to your desktop. It should look a little like this:

Capture1.JPG

Now right click on the desktop and create a new folder. Name it: 'Eclipse'. Now pull up the little save window and click 'OK.' Drag the little folder into the one you just made. Open it, and open the little folder inside it labeled 'Eclipse.' Your screen should now look like this:

Capture2.JPG

Good. Now, click on 'eclipsec', and click: 'Extract all.' Make the sestination in the folder you made. Wait for 3 minutes or so, and open the folders. Click on the application 'Eclipse'. You now have it open!

 

2. Click on 'OK' when it creates a workspace. Your main window should now look like this:

Capture3.JPG

Click on 'Workbench' on the top-right corner. Screen should now look like nya:

Capture4.JPG

Click on the 'New' button's (at the top-left) arrow and click 'Java Project.' Name it whatever you please. Check 'Create seperate folders for sources and class files', under 'Project layout'. Then click 'Finish.' Collapse your project's folder so it looks like this:

Capture5.JPG

 Right click next to 'src', and go to 'new', then select 'class'. Name it something simple, like 'class'. Screen should now look like this:

Capture6.JPG

Now, this part is important. Type exactly this into the program, so it looks like this:

 

public class Class {
   
    /**
     * @param args
     */
    public static void main (String[] args) {
       
    }

Now, between the two brackets, type in:

System.out.println("Message.");

so it looks like this:

 

public class Class {
   
    /**
     * @param args
     */
    public static void main (String[] args) {
        System.out.println("Message");
    }

Now add another bracket to the bottom, so it looks like this:

 

  /**
     * @param args
     */
    public static void main (String[] args) {
        System.out.println("Message");
    }

}

 

Now click the little play button at the top. Look at the bottom, and you'll see your message in the console.

 

Capture7.JPG

 

Yay! Please do this, it took me forever to write it! If you ask, I might post another lesson.



__________________
I don't suffer from insanity. I enjoy every minute of it.

"Life is a game, Order. And I'm winning." --Discord, "Order and Chaos".

Forum Guru
Status: Offline
Posts: 424
Date:
Permalink   
 
cool! ill be sure to download it soon. (and just so you know, "nya" is the japanese word for "meow" so when you said "Click on 'Workbench' on the top-right corner. Screen should now look like nya" it sounded like "Click on 'Workbench' on the top-right corner. Screen should now look like cat noise" *trollface*)

__________________

i am a greatful grapefruit!

                                       -bjork

Administrator
Status: Offline
Posts: 993
Date:
Permalink   
 

Nya is also an english word meaning 'this', kind of like, yea. Ya know, yea tall, yea wide?



__________________
I don't suffer from insanity. I enjoy every minute of it.

"Life is a game, Order. And I'm winning." --Discord, "Order and Chaos".

Forum Guru
Status: Offline
Posts: 424
Date:
Permalink   
 
i know, im just trollin'.

__________________

i am a greatful grapefruit!

                                       -bjork

Super Advanced Member Plus 2000
Status: Offline
Posts: 250
Date:
Permalink   
 
I actually just downloaded that Josh. Like the day you posted that.

__________________
Please note: I am Fang. Not your everyday boy that lives nearby.
Administrator
Status: Offline
Posts: 993
Date:
Permalink   
 

@Fang: Did you do anything with it?

 

@VEE2: Ya done anything with this yet?



__________________
I don't suffer from insanity. I enjoy every minute of it.

"Life is a game, Order. And I'm winning." --Discord, "Order and Chaos".

Super Advanced Member Plus 2000
Status: Offline
Posts: 250
Date:
Permalink   
 
Not really... Kind of.

__________________
Please note: I am Fang. Not your everyday boy that lives nearby.
Full of Win
Status: Offline
Posts: 397
Date:
Permalink   
 
i don't know if i can.

__________________

The Fun Has Been Doubled!

Administrator
Status: Offline
Posts: 993
Date:
Permalink   
 

Why not? It's a program for programming. It doesn't touch anything in your computer,



__________________
I don't suffer from insanity. I enjoy every minute of it.

"Life is a game, Order. And I'm winning." --Discord, "Order and Chaos".

Administrator
Status: Offline
Posts: 993
Date:
Permalink   
 

Okay, anybody ready for the next lesson?



__________________
I don't suffer from insanity. I enjoy every minute of it.

"Life is a game, Order. And I'm winning." --Discord, "Order and Chaos".

 
Page 1 of 1  sorted by
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard