Results 1 to 4 of 4
  1. #1
    Macca07 is offline Member
    Join Date
    Nov 2008
    Posts
    9
    Rep Power
    0

    Default Creating a .exe for your software

    I've recently designed some software and want to give it to a few people to try out, so I decided to create an executable for it. However, when I create it and move it out of the main folder it won't run, and i get this message

    Java Code:
    java.lang.ClassNotFoundException
    I know it can't find the main class file, so does anyone know how to include the classes when creating the executable?

    Thanks

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    8

  3. #3
    Macca07 is offline Member
    Join Date
    Nov 2008
    Posts
    9
    Rep Power
    0

    Default

    OK, I sorted that problem, but I still can't add images to the application.
    Anyone?

    And I need a .exe, not a.jar

  4. #4
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    8

    Default

    A jar is an "exe" as far as Java is concerned, and, as far as most users are concerned as it can be "executed" through "double-click". You do not "need an exe".

    And, what do you mean by "can't add images to the application"? What exactly are you doing that does not work.

Similar Threads

  1. Creating files stopped creating...
    By Dieter in forum Advanced Java
    Replies: 3
    Last Post: 09-25-2009, 11:45 PM
  2. make my own software?
    By makpandian in forum Advanced Java
    Replies: 6
    Last Post: 01-06-2009, 05:00 PM
  3. Help with Teaching software
    By Doctor Cactus in forum New To Java
    Replies: 3
    Last Post: 11-03-2008, 06:24 PM
  4. Software Engineers
    By pheonix in forum New To Java
    Replies: 17
    Last Post: 09-12-2008, 05:52 PM
  5. java software for OMR
    By priyarenjith in forum New To Java
    Replies: 0
    Last Post: 07-02-2008, 08:55 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
  •