|
|
|
|
![]() ![]() |
Mar 17 2006, 01:54 AM
Post
#1
|
|
|
Newbie [ Level 2 ] Group: Members Posts: 24 Joined: 10-February 06 Member No.: 11,194 |
My specs:
Studio Creator 2 running on Windows XP Home edition, 2.4/512MB Dell workstation. Java SE Hello, I am attempting to compile a single Java file into an executible JAR file. I have no problem doing this. However, when I attempt to run the JAR file, I receive the following error: Error window header: "Java Virtual Machine Launcher" Contents: "Failed to load Main-Class manifest attribute from C:\....Swinger.jar" --------- It is a simple Swing example. It runs fine from the IDE. Furthermore, I know that I just need to define a Main-Class header in MANIFEST.MF. However, it is a read-only file, how would I modify this file? Thank You all in advance , - Demirelli |
|
|
|
Mar 17 2006, 09:06 PM
Post
#2
|
|
|
Pretty please? Group: Members Posts: 733 Joined: 28-November 04 From: Holland Member No.: 1,552 |
A jar file is just a .zip file, all you need to do is extract it with winzip and change the contents of the file
|
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 4th December 2008 - 02:59 AM |