This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler 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 Make it so: Java DB Connections & Transactions this week in the JDBC 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
It's not a secret anymore!