Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
How to create exe in java
Joined: Oct 25, 2005
Jan 12, 2007 01:08:00
Dear ranchar how can we create an exe file of
swing. I am creating the jar file by the following command as
jar cf first.jar c:\first.class
then from the above command it is creating a jar file but when i am sending the jar file to the desktop and executing that there is error as like below
Failed to load manifest attribute from
why this error
is it mandatory to create a manifest file before craeting the jar file
and if yes then what i will eneter in manifest file at
java-Bean : true or false//because i am not creating a bean
Joined: Feb 24, 2006
Jan 12, 2007 02:09:00
Have a look at this...
The manifest is required to tell the JVM, where the main class is and where the libraries for the application reside.
You should consider changing the title to this topic. I though you wanted to change the .jar to a .exe when I read the title.
SCJP 6 articles
SCJP 5/6 mock exams
More SCJP Mocks
subject: How to create exe in java
java beans..please help....
Manifest - JAR file - Exception
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Layout
Request Resource not available.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013