views:

15

answers:

0

Hi folks,

I am trying to make a java bean which will have a Clock.java file , Clockbean info file, Clock.mf file and 2 gif files .

my class compiles fine but when i create a jar file , i get invalid manifest file when i create a jar using jar cfm Clock.jar HTPJB/Clock/Clock.class and similarly for the ClockBeanInfo.java(this class basically loads the gif files in the IDE ) and Clock.mf file and .gif files.

I read somewhere that the above error in title is because of incorrect PATH in the environment variable , but i am wondering if path was incorrect how can the class compile ?

so could i know what is it that i am doing wrong ?

the contents of Clock.mf is

Manifest-Version: 1.0

Name: HTPJB/Clock/Clock.class

Java-Bean: True