Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Howto Modify Manifest.mf?, Howto modify MANIFEST.MF in Studio Creator 2
uapconsole
post Mar 17 2006, 01:54 AM
Post #1


Newbie [ Level 2 ]
Group Icon

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
Go to the top of the page
 
+Quote Post
jipman
post Mar 17 2006, 09:06 PM
Post #2


Pretty please?
Group Icon

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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Need To Modify Xml Attribute Using Java(4)


 



- Lo-Fi Version Time is now: 4th December 2008 - 02:59 AM