This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes java bean jar file creation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "java bean jar file creation" Watch "java bean jar file creation" New topic
Author

java bean jar file creation

Balu Ramachandran
Greenhorn

Joined: Oct 16, 2000
Posts: 16
hi friends,
im having trouble to create jar file in java beans.
i typed as
jar cfm baa.jar baa.mft baa.class
by removin m from cfm the jar file generated but it is not loaded in BDK1.1 BeanBox.

can anybody help me.
with regards,
Balu Ramachandran
Bangalore.

R.Balu
Raukutam Sandeep
Ranch Hand

Joined: Nov 15, 2000
Posts: 61
hi balu,

the problem why the bean is not loading into the beanbox is, u might not have written correct manifest file.
Write the following lines in the manifest file.

Name: baa.class
Java-Bean: True
and save it(write exactly as above) and make the jar with the command
jar cvfm baa.jar baa.mft baa.class
You may or may not use 'v' option, it is left to u.
Be sure u'r manifest file is right.

try it and get back,

good luck...

regds,
Sandeep.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java bean jar file creation
 
Similar Threads
Missing a step in creation of executable
desktop applications
Executable jar files
Help with this jar file
Java