By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,737 Members | 1,971 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,737 IT Pros & Developers. It's quick & easy.

Jar file Problem

P: n/a
Hi ,

I am creating an executable jar file butI don't have any package in m
y application.

Working Directory
Main Class is :mp3Player
And i have copule of classes in this 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/ MyRingTone.jar mp3player.class

Execute the Jar
java -jar MyRingRone.jar

I get the following error Exception in thread "main
ndError: MyFileFilter

MyFileFilter is class, which i am using in 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
Posted via

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.