This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Manifest Files in Java Beans .....Please Help me

 
Saju purushothaman
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had created a Java bean file and a mnifest file
The contents of the manifest file is as follows
Name: Mybean.class
Java-Bean: True
My bean class filename is Mybean.class.I created a jar file using the following instruction
jar cfm mybean.jar mybean.mft mybean.class
It smoothly created the jar file.My problem is when I try to load jar from the 'File ,Load Jar' options .I throws an exception indicating that there is no bean in your jar file and instructed to make a manifest file eventhough i created the manifest file.So I request you any body please help me as early as possible
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Saju,
What IDE are you using to load the jar file? Is it possible that your bean is not in the default package? If it isn't then the fully qualified name should be used?

Michael Morris
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic