This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "java bean jar file creation" Watch "java bean jar file creation" New topic

java bean jar file creation

Balu Ramachandran

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

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...

I agree. Here's the link:
subject: java bean jar file creation