Results 1 to 3 of 3
- 05-24-2012, 09:08 PM #1
Member
- Join Date
- Jan 2012
- Posts
- 32
- Rep Power
- 0
Error: Could not find or load the main class build.jar
Yes, I'm getting that error. I have main class, with its main method
Java Code:public final class MainClass extends JFrame
And the MANIFEST.MF file looks like this:Java Code:public static void main(final String[] args)
Manifest-Version: 1.0
Sealed: true
Main-Class: tableApp.mt4j.MainClass
So I don't understand why I'm getting that error...
Anyone can help?
Thanks.
- 05-24-2012, 09:37 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,413
- Blog Entries
- 7
- Rep Power
- 17
Re: Error: Could not find or load the main class build.jar
Were you trying to run the thing as:
? It doesn't work; you have to add the -jar flag ...Java Code:java build.jar
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 05-24-2012, 09:58 PM #3
Member
- Join Date
- Jan 2012
- Posts
- 32
- Rep Power
- 0
Similar Threads
-
Error: Could not find or load main class HelloWorldApp (HELP)
By couch_mango in forum New To JavaReplies: 29Last Post: 02-02-2012, 08:23 PM -
newbie question: Error: Could not find or load main class Java Result: 1
By ideaman in forum New To JavaReplies: 7Last Post: 01-01-2012, 12:29 PM -
Please help! Cannot find or load main class error
By BenH in forum New To JavaReplies: 3Last Post: 12-09-2011, 03:51 AM -
Error: Could not find or load main class Ops.java
By Javasubbu in forum New To JavaReplies: 4Last Post: 10-05-2011, 10:52 PM -
Error: Could not find or load main class
By ITSlave in forum New To JavaReplies: 4Last Post: 09-15-2011, 09:47 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks