Results 1 to 3 of 3
Thread: Little jar problem
- 05-06-2012, 05:56 PM #1
Member
- Join Date
- May 2012
- Posts
- 2
- Rep Power
- 0
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.
this is my manifest inside the jar and yes EnigmaUI is the main class hmm i tried googling jar problems but couldnt find solutionJava 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
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 imagesLast edited by aldamith; 05-06-2012 at 11:56 PM.
- 05-08-2012, 11:35 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
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.
- 05-11-2012, 02:31 AM #3
Member
- Join Date
- May 2012
- Posts
- 2
- Rep Power
- 0


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks