7 Replies - 2173 Views - Last Post: 08 November 2012 - 06:18 AM Rate Topic: -----

#1 prabh  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 3
  • View blog
  • Posts: 381
  • Joined: 27-December 08

i need hello world tutorial for staring learning java using eclipse

Post icon  Posted 02 June 2009 - 12:50 PM

Hi
can one one give a complete tutorial on starting a java project in eclipse(or what ever it is) and how to build my first hello world app


any help will be appreciated

thanks in advance

PJ
Is This A Good Question/Topic? 0
  • +

Replies To: i need hello world tutorial for staring learning java using eclipse

#2 computerfox  Icon User is offline

  • straight vegetarian kid

Reputation: 50
  • View blog
  • Posts: 3,772
  • Joined: 29-January 09

Re: i need hello world tutorial for staring learning java using eclipse

Posted 02 June 2009 - 01:21 PM

import java.util.*;

class helloWorld{
public static void main(String args[]){//syntax for driver function, much like int main()

System.out.println("Hello world..."); //syntax like cout<<"text"<<endl;
}
}



hope this helps :)

This post has been edited by computerfox: 02 June 2009 - 01:25 PM

Was This Post Helpful? 0
  • +
  • -

#3 prabh  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 3
  • View blog
  • Posts: 381
  • Joined: 27-December 08

Re: i need hello world tutorial for staring learning java using eclipse

Posted 02 June 2009 - 01:30 PM

View Postcomputerfox, on 2 Jun, 2009 - 12:21 PM, said:

import java.util.*;

class helloWorld{
public static void main(String args[]){//syntax for driver function, much like int main()

System.out.println("Hello world..."); //syntax like cout<<"text"<<endl;
}
}



hope this helps :)

and how to start my first project in an ide
tell me about
any ide
Was This Post Helpful? 0
  • +
  • -

#4 computerfox  Icon User is offline

  • straight vegetarian kid

Reputation: 50
  • View blog
  • Posts: 3,772
  • Joined: 29-January 09

Re: i need hello world tutorial for staring learning java using eclipse

Posted 02 June 2009 - 01:44 PM

first off, you have to make sure you have the environment installed on the machine. next if you use JCreator you go to file/new/source code then enter the code, press compile then execute then bam. if you're using eclipse, i believe you do something of the same sort, but i think it won't compile unless it's in a project. hope that helps :)
Was This Post Helpful? 0
  • +
  • -

#5 prabh  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 3
  • View blog
  • Posts: 381
  • Joined: 27-December 08

Re: i need hello world tutorial for staring learning java using eclipse

Posted 02 June 2009 - 02:00 PM

O.K.
i don't have Jcreater but i will download it
is it free ?
or i have to buy it
can you give me a download link

and thanks
you helped me a lot :D
Was This Post Helpful? 0
  • +
  • -

#6 computerfox  Icon User is offline

  • straight vegetarian kid

Reputation: 50
  • View blog
  • Posts: 3,772
  • Joined: 29-January 09

Re: i need hello world tutorial for staring learning java using eclipse

Posted 02 June 2009 - 02:02 PM

completely free just make sure you have the environment installed before installing JCreator.
Was This Post Helpful? 0
  • +
  • -

#7 prabh  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 3
  • View blog
  • Posts: 381
  • Joined: 27-December 08

Re: i need hello world tutorial for staring learning java using eclipse

Posted 02 June 2009 - 02:05 PM

View Postcomputerfox, on 2 Jun, 2009 - 01:02 PM, said:

completely free just make sure you have the environment installed before installing JCreator.

thank you very much Fox
Was This Post Helpful? 0
  • +
  • -

#8 tony12095  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 14
  • View blog
  • Posts: 109
  • Joined: 23-October 12

Re: i need hello world tutorial for staring learning java using eclipse

Posted 08 November 2012 - 06:18 AM

Ok, with eclipse, all you have to do is go under File -> new and create a project.....then just create a new class under the <projectName>/src and then when you're in that new class, type up the coding, and there is a green arrow that runs the program for you, it tells you where you're wrong if you have anything, and it tells you all the java related errors in ANY of the coding you wrote...its a very efficient ide, but i hope that helps to clarify anything.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1