• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java bean jar file creation

 
Balu Ramachandran
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Raukutam Sandeep
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic