Results 1 to 2 of 2
  1. #1
    ghp08 is offline Member
    Join Date
    Jan 2013
    Posts
    1
    Rep Power
    0

    Default Unable to run all classes in java project

    Hello all,

    I have a java project in which there is one main class.

    Now when I execute the build file then only main class gets executed.
    I am unable to execute other classes included in project.

    Please let me know any solution to execute all the classes included in java project.

    Thanks,
    Gaurav
    Last edited by ghp08; 01-24-2013 at 01:24 PM.

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    12,996
    Blog Entries
    7
    Rep Power
    19

    Default Re: Unable to run all classes in java project

    What does the virtual machine complain about when you're trying to run those other classes (through a static method or through a constructor).

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Replies: 0
    Last Post: 01-11-2013, 10:02 PM
  2. use classes from another project
    By mharsijamel in forum NetBeans
    Replies: 5
    Last Post: 01-11-2013, 04:34 PM
  3. Replies: 2
    Last Post: 09-22-2012, 10:31 PM
  4. Help with 2 classes on this project plzzz
    By stan989 in forum New To Java
    Replies: 28
    Last Post: 12-08-2011, 07:27 PM
  5. Java project with multiple classes
    By trakke in forum New To Java
    Replies: 1
    Last Post: 04-28-2011, 08:16 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
  •