Hi ,
I am creating an executable jar file butI don't have any package in m
y application.
Working Directory
--------------
D:\Mp3ToRingTone
Main Class is :mp3Player
And i have copule of classes in this mp3player.java file.
Contents of Manifest file
---------------------
Manifest-Version: 1.0
Main-Class: mp3player
Created-By: Roopa
<I have left 2 blank lines>
when i run application
java mp3player it launch the Interface without any problem
Command used to Buid the Jar file
---------------
jar -cvmf META-INF/Manifest.mf MyRingTone.jar mp3player.class
Execute the Jar
java -jar MyRingRone.jar
I get the following error Exception in thread "main
java.lang.NoClassDefFou
ndError: MyFileFilter
MyFileFilter is class, which i am using in mp3player.java. And when
unpack the jar file, MyFileFilter.class exists. I don't understand wha
is the problem.
Any suggestion or guidence would be highly appriciated.
Thanks in advance
Roopa
-
roopa_g
-----------------------------------------------------------------------
Posted via http://www.codecomments.co
-----------------------------------------------------------------------