Results 1 to 3 of 3
  1. #1
    aldamith is offline Member
    Join Date
    May 2012
    Posts
    2
    Rep Power
    0

    Default Little jar problem

    Hello,

    so I have written a program and well my jar doesnt work, it is there but it wont start, before the code was finished jar worked just fine but now it wont start however the program works just fine in netbeans
    and so question is could anyone help me figure out what is the problem as I'm pretty new to netbeans etc.

    Java Code:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.8.2
    Created-By: 1.6.0_25-b06 (Sun Microsystems Inc.)
    Class-Path: lib/Desktop lib/Enigma
    X-COMMENT: Main-Class will be added automatically by build
    Main-Class: my.enigma.EnigmaUI
    this is my manifest inside the jar and yes EnigmaUI is the main class hmm i tried googling jar problems but couldnt find solution

    i tried taking the .java files compiling them with cmd and trying to make a jar this way but i was getting an error "A Java Exception has occurred."
    any help would be appreciated thank you (:


    edit: problem solved :) was a problem with images
    Last edited by aldamith; 05-06-2012 at 11:56 PM.

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

    Default Re: Little jar problem

    Run the jar file from the command line and post the full error message you get:
    java -jar <your jar file>
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    aldamith is offline Member
    Join Date
    May 2012
    Posts
    2
    Rep Power
    0

    Default Re: Little jar problem

    thats what i did already found the problem :)
    but thx for answer! :)

Posting Permissions

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