Results 1 to 6 of 6
Thread: unable to run a jar file.
- 12-07-2010, 07:01 AM #1
Member
- Join Date
- Nov 2010
- Posts
- 9
- Rep Power
- 0
- 12-07-2010, 07:15 AM #2
Moderator
- Join Date
- Feb 2009
- Location
- New Zealand
- Posts
- 4,546
- Rep Power
- 11
- 12-07-2010, 07:26 AM #3
Member
- Join Date
- Nov 2010
- Posts
- 9
- Rep Power
- 0
unable to run jar file
c:\>java -jar C.java
Fail to load Main-Class manifest attribute from c.jar
c:\>
- 12-07-2010, 07:44 AM #4
Moderator
- Join Date
- Feb 2009
- Location
- New Zealand
- Posts
- 4,546
- Rep Power
- 11
I can't in all honesty say that that didn't happen. (You can name jar files whatever you like, and they can contain a main class which prints an ungrammatical one line version of something approximating a runtime error message.) But I will say that I don't believe it did happen.
- 12-07-2010, 10:36 AM #5
Member
- Join Date
- Dec 2010
- Posts
- 27
- Rep Power
- 0
You can always look at contents of manifest file, if it has a Main-Class attribute set, if it isn't generated by IDE.
- 12-07-2010, 10:41 AM #6
Member
- Join Date
- Dec 2010
- Posts
- 4
- Rep Power
- 0
Similar Threads
-
Problem with JXL: unable to read GSEA xls file
By angeloulivieri in forum Advanced JavaReplies: 3Last Post: 05-10-2010, 12:53 PM -
Unable to Print more than 1 File
By satyam000 in forum NetworkingReplies: 1Last Post: 11-24-2009, 07:25 AM -
Unable to Print more than 1 File
By satyam000 in forum AWT / SwingReplies: 5Last Post: 11-24-2009, 05:59 AM -
Unable to access velocity.properties file from jar file
By mjwoodford in forum New To JavaReplies: 0Last Post: 10-09-2009, 01:46 PM -
Unable to load tag handler class for the <mss:select> tag from Jar file
By Sayed in forum Advanced JavaReplies: 1Last Post: 06-19-2009, 10:47 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks