Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2011
    Posts
    8
    Rep Power
    0

    Default how to start off in net beans

    As per instruction from my previous thread, I downloaded netbeans IDE but now I don't know how to start off. Where I shall write code and how to compile code? In netbeans, I clicked File >> New Project >> JAVA Application >> there it has some templates with words like public static void main....I wrote "System.out.println ("Hello World!)" but now how to view outpu?


    Basically I want to write this basic code in netbeans to start off

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

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    NetBeans should have an online tutorial that will walk you through starting out with it. I suggest you start with that.

  3. #3
    bigsonny is offline Senior Member
    Join Date
    Nov 2010
    Posts
    164
    Rep Power
    4

    Default

    Did you located the tutorial because I can't. A link would be appreciated. I am migrating from Jgrasp to this and I have not had much luck.

  4. #4
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    Google: "java tutorial netbeans"

  5. #5
    bigsonny is offline Senior Member
    Join Date
    Nov 2010
    Posts
    164
    Rep Power
    4

    Default

    Thanks Sunde887. They should create a sticky for each IDE on how to get started in the "area". There is a sticky about what beginners should do in the new to Java sub-forum, so it's not far fetched.
    Last edited by bigsonny; 07-15-2011 at 04:59 AM.

  6. #6
    bigsonny is offline Senior Member
    Join Date
    Nov 2010
    Posts
    164
    Rep Power
    4

    Default

    The first tutorial that comes up, I had already found it. Are you aware of anything more detailed? I am curious about the fact that everything is a project or a package. In anticipation for app building, I am looking to start using Netbeans (or eclipse...) from JGrap and I partially enjoy the ability to write a simple class without having to declare a project around it. This is really useful as I am going still going through the Trails.

  7. #7
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,016
    Rep Power
    20

    Default

    Create a scratch project.
    I always have one wherever I work to try out bits of code.
    You can then simply write your tutorial classes in there as you need them.

  8. #8
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,254
    Rep Power
    19

    Default

    In real life, all code is part of some project or another. All the major IDEs are geared toward such real life situations encountered by programmers. Not toward academic assignments that consist of one to five code files.

    If you're planning to make a career of programming, get used to the 'project' and 'workspace' concepts. They are not unique to NetBeans.

    db

Similar Threads

  1. Replies: 1
    Last Post: 01-18-2011, 06:27 PM
  2. Replies: 5
    Last Post: 03-20-2009, 10:04 PM
  3. How to make Beans Lazily-instantiating beans
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-30-2008, 10:10 AM
  4. How to make Beans Lazily-instantiating beans
    By JavaBean in forum Java Tip
    Replies: 0
    Last Post: 09-26-2007, 08:41 PM
  5. XML beans
    By John in forum XML
    Replies: 2
    Last Post: 08-09-2007, 07:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •