Results 1 to 6 of 6
  1. #1
    shedo is offline Member
    Join Date
    Nov 2010
    Posts
    5
    Rep Power
    0

    Default create a java application

    hi,
    i have try to create a new java application with netbeans...when i create a new jar file i can execute(double click) it on my mac book and on Linux but if i can start it on windows he return me an error... "could not find the main class. program will exit".
    How can i do for resolve this problem?


    thanks
    Last edited by shedo; 11-19-2010 at 05:16 PM.

  2. #2
    tecno40 is offline Member
    Join Date
    Nov 2010
    Posts
    13
    Rep Power
    0

    Default

    Try downloading netbeans on the PC, then exporting it from there.

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

    Default

    Quote Originally Posted by tecno40 View Post
    Try downloading netbeans on the PC, then exporting it from there.
    That shouldn't really matter, should it?

  4. #4
    tecno40 is offline Member
    Join Date
    Nov 2010
    Posts
    13
    Rep Power
    0

    Default

    I've had weirder things work while troubleshooting problems. I'm thinking it may be a configuration problem in net beans and if he installs it on a new computer (or installs it again) it may be installed with the correct settings.

  5. #5
    shedo is offline Member
    Join Date
    Nov 2010
    Posts
    5
    Rep Power
    0

    Default

    I installed netbenas in windows 7 and i build the project (jar file) but when i click on the .jar it doesn't start.

  6. #6
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,196
    Rep Power
    19

    Default

    What does the question have to do with Java Applets, which is the subject of this forum?

    Or when you say 'application' do you really mean Applet'?

    db
    Last edited by DarrylBurke; 11-20-2010 at 02:57 PM.

Similar Threads

  1. How to create Setup for java application
    By kiki2009 in forum New To Java
    Replies: 21
    Last Post: 11-08-2009, 07:06 PM
  2. Replies: 5
    Last Post: 08-25-2009, 08:43 AM
  3. java,jsp code to create a website statistics application
    By g.shashikala in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 08-15-2009, 05:00 PM
  4. Replies: 1
    Last Post: 10-21-2008, 01:16 PM
  5. Replies: 4
    Last Post: 09-14-2008, 05:19 AM

Posting Permissions

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