Results 1 to 10 of 10
  1. #1
    shu2hua is offline Member
    Join Date
    May 2008
    Posts
    6
    Rep Power
    0

    Unhappy Basic different between netbeans and eclipse

    Hi, everyone
    I just learn in java but usually i use netbeans for making project
    Now i have to use eclipse and i'm confuse working with eclipse
    I want to ask, what is the basic different between netbeans and eclipse?
    I try to write import java.util.* but it's eror
    I try to write System.out.print("helo"); but it's eror
    I'm so confuse :(
    Thank's before for your help

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    That's not the different between IDE. I think your IDE doesn't found the Java installation path correctly. What error you get there?

  3. #3
    shu2hua is offline Member
    Join Date
    May 2008
    Posts
    6
    Rep Power
    0

    Default

    isn't there different syntax between this netbeans and eclipse?
    When i write System.out.print("hello"); at that syntax, show red underline.
    In netbeans usually is show an eror.
    In my computer, i was install netbeans and then i paste eclipse.
    is it possible this two program are crash or something else ?

    i'm sorry for my bad english before :((

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  5. #5
    shu2hua is offline Member
    Join Date
    May 2008
    Posts
    6
    Rep Power
    0

    Default

    i write :

    package coba;

    public class try{

    public static void main(String[] args) {
    System.out.print("Hello");
    }
    }

    I just write that code. Any wrong in that code?
    I want to ask how we make a java file in the eclipse?
    usually in the netbeans, we can click at the project and select java file. But in the eclipse i didn't found that. So i make java file using file, is it same or different?
    @.@

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Your code is ok. So you know how to work on NetBeans. Is that right?

    On Eclipse too, you have to add a project first and so on

  7. #7
    shu2hua is offline Member
    Join Date
    May 2008
    Posts
    6
    Rep Power
    0

    Default

    in netbeans i know a little how to make a project. but while i'm in eclipse, i'm so confuse because there is many option.
    in eclipse i make a project by click file->new->folder. is folder same with project? because after that, i try to look again and i find project option.

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Ok, now this is going to way of Eclipse user. I'm not. ;)

    Anyway, can't you see any folders on your project now?

  9. #9
    shu2hua is offline Member
    Join Date
    May 2008
    Posts
    6
    Rep Power
    0

    Default

    hehehe, ok.
    After i make a folder it's will be create in project explorer.
    ok, thank' s for your help.
    I'll explore more about eclipse and hope i will find out how to use eclipse
    thank's and GBU

  10. #10
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. basic java help
    By adred in forum New To Java
    Replies: 0
    Last Post: 03-08-2008, 12:36 PM
  2. NetBeans to Eclipse
    By ravian in forum NetBeans
    Replies: 6
    Last Post: 12-06-2007, 02:38 AM
  3. Basic Graphic
    By jkswebsite in forum Java 2D
    Replies: 6
    Last Post: 11-26-2007, 02:19 AM
  4. Dilemma netbeans or eclipse
    By Nick15 in forum NetBeans
    Replies: 8
    Last Post: 11-08-2007, 04:11 PM
  5. help with basic example
    By fred in forum New To Java
    Replies: 1
    Last Post: 07-20-2007, 05:45 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
  •