I am trying to run it on my Windows XP machine..... Although I have a Symbian based P910i device. How can I test it on my device? Simply copy and run?
Imran
Main Topics
Browse All TopicsHi all,
I have been given a JAR file that is supposed to run. I have got no experience what so ever with Java. I want to know how to run this file???? Following is what I have already tried .....
java -jar myFile.jar
Failed to load Main-Class manifest attribute from
myFile.jar
Then I unzipped the Jar file with WinRAR and then found the following files in the archive.....
icon.png
logo.png
scroll.png
intro.midi
myFile.class
gfxcanvas.class
META-INF (Folder with the file MANIFEST.MF)
Now I tried to execute the class files using the following code.....
C:\myGen>java myFile
Exception in thread "main" java.lang.NoClassDefFoundE
dlet/MIDlet
at java.lang.ClassLoader.defi
at java.lang.ClassLoader.defi
at java.security.SecureClassL
at java.net.URLClassLoader.de
at java.net.URLClassLoader.ac
at java.net.URLClassLoader$1.
at java.security.AccessContro
at java.net.URLClassLoader.fi
at java.lang.ClassLoader.load
at sun.misc.Launcher$AppClass
at java.lang.ClassLoader.load
at java.lang.ClassLoader.load
also I tried
C:\myGen>java myFile.class
Exception in thread "main" java.lang.NoClassDefFoundE
and here is the MANIFEST.MF file if it helps.....
Manifest-Version: 1.0
MicroEdition-Configuration
MIDlet-Name: myFile
Created-By: 1.4.2_03 (Sun Microsystems Inc.)
MIDlet-Vendor: Sun Microsystems
MIDlet-1: myFile, icon.png, myFile
MIDlet-Version: 1.0
MicroEdition-Profile: MIDP-2.0
Can someone suggest some way to run this program???? How can I be sure that this is some bogus file that cant be run?????
Imran
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: objectsPosted on 2005-11-10 at 22:27:47ID: 15271761
It appears to be a midlet jar for running on a handheld device such as a mobile phone.
What are you trying to run it on?