Sefm Software Java Jar Kb Me For Nokia

Active8 years, 4 months ago

i want to know how to make a jar app which will run on java mobile platform using class file of java.i know basics of java like inheritance,interface,string.....I tried this thing by compiling my java program of simple input/output and then converting it to jar using -jar in cmd.but i dont know why it is not working on mobile showing invalid file.plz help me.

Nokia
PointerPointer

Download WhatsApp for Java and Samsung phones with how to install WhatsApp For Java/Samsung on your phone for Phoneky, Java Mobile9, Java Jar, WhatsApp Download for Samsung phones, WhatsApp for bada, WhatsApp for Java Nokia, WhatsApp for Java Jar, guide.

1 Answer

If you want to create a jar application, starting from a java class,you don't have to use java -jar filename.jar, this is only for execution.

Try this: jar cf your_jar_app.jar your_class_file.class

c option is needed to create file and f option is needed because you want an output file.

Then you can execute typing: java -jar your_jar_app.jar

Hope this can help you.

For documentation: Oracle Documentation for creating JAR fileIf you are using NetBeans IDE, take a look to: NetBeans Packaging and Deploying Java Applications

Alberto SolanoAlberto Solano
6,6433 gold badges30 silver badges51 bronze badges
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

Sefm Software Java Jar Kb Me For Nokia Download

Not the answer you're looking for? Browse other questions tagged jarnokia or ask your own question.