Results 1 to 5 of 5
Thread: Executable JAR
- 12-05-2007, 01:36 PM #1
Senior Member
- Join Date
- Nov 2007
- Posts
- 111
- Rep Power
- 0
- 12-05-2007, 03:57 PM #2
Senior Member
- Join Date
- Jun 2007
- Location
- Bali, Indonesia
- Posts
- 697
- Rep Power
- 6
You need to add a manifest file when you creating the jar file. This manifest file should tell what is the main class of your jar file.
Website: Learn Java by Examples
- 12-05-2007, 04:27 PM #3
Senior Member
- Join Date
- Nov 2007
- Posts
- 115
- Rep Power
- 0
manifest file is also a text file. Am I supposed to follow some syntax?
- 12-05-2007, 05:13 PM #4
Senior Member
- Join Date
- Jun 2007
- Location
- Bali, Indonesia
- Posts
- 697
- Rep Power
- 6
An example your manifest can be something like:
The Main-Class tells which class is the entry point to you application.Java Code:Manifest-Version: 1.0 Created-By: 1.6.0 (Sun Microsystems Inc.) Main-Class: packagename.classname
Website: Learn Java by Examples
- 12-05-2007, 05:41 PM #5
Senior Member
- Join Date
- Nov 2007
- Posts
- 115
- Rep Power
- 0
Similar Threads
-
executable
By smooth in forum New To JavaReplies: 4Last Post: 06-14-2008, 05:12 PM -
Executable Java
By eva in forum New To JavaReplies: 3Last Post: 12-30-2007, 11:38 PM -
call executable jar from html/jsp
By Zahari in forum JavaServer Pages (JSP) and JSTLReplies: 6Last Post: 12-06-2007, 12:00 AM -
Generate an executable file
By romina in forum New To JavaReplies: 1Last Post: 08-07-2007, 05:30 AM -
Executable Application, use JCreator
By baltimore in forum New To JavaReplies: 1Last Post: 07-31-2007, 06:03 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks