Results 1 to 7 of 7
- 03-17-2009, 06:54 AM #1
Member
- Join Date
- Oct 2008
- Posts
- 58
- Rep Power
- 0
- 03-17-2009, 07:46 AM #2
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 7
- 03-17-2009, 09:04 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
What's the command java baogalio.jar suppose to do in that case?
- 03-17-2009, 04:30 PM #4
Member
- Join Date
- Oct 2008
- Posts
- 58
- Rep Power
- 0
The command is suppose to open a jar file. However, there is a problem with the main class
- 03-17-2009, 04:42 PM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
You mean open the jar file is running it? Or extracting all classes?
- 03-17-2009, 06:03 PM #6
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 7
If want to execute the jar you need to add the -jar option to the command (and hopefully you've built the manifest file correctly).
java - the Java application launcher
And, no, that error is not any indication of there being "a problem with the main class". The problem, currently, is the fact that you are entering the command wrongly, and didn't bother to read the documentation to find out how to do it correctly.
- 03-18-2009, 04:37 PM #7
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Yep, that means our thread starter start to work in wrong way. May be refer worn materials about jar files.
Similar Threads
-
Creating a Jar File Using Command Prompt
By hitmen in forum New To JavaReplies: 14Last Post: 08-27-2011, 12:05 PM -
Running applet from command prompt
By niteshwar.bhardwaj in forum Java 2DReplies: 1Last Post: 03-12-2009, 08:10 AM -
Is there any way to run java file through command prompt of .jar
By sachin.parnami in forum New To JavaReplies: 2Last Post: 12-03-2008, 01:24 PM -
help me!!!! about command prompt..
By kureikougaiji in forum New To JavaReplies: 2Last Post: 11-13-2008, 06:15 PM -
Problem during executing Command Prompt
By keshari in forum Advanced JavaReplies: 4Last Post: 06-05-2008, 04:06 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks