Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jar file is not being populated

 
omar bili
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i am using the suns toolkit to build J2ME applications, but it is producing only the jad file there is no jar file, what to do in order to obtain the jar file, and do i need to send the manifest file to the cell in order to run my application?
Thanks,
Omar
 
Svend Rost
Ranch Hand
Posts: 904
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Omar,

You can make a JAR file with JAVA_HOME\bin\jar.exe.

The Manifest file has to be in the JAR file.

Im sure a search on your favourite searchengine will give you plenty of
results on how you make a JAR.

As a sidenote: If im not using an IDE, I usually make a makefile for
my project. The makefile compiles, obfuscates, preverifies and gathers
the files in a JAR file. It might be worth considering if your not using
an IDE.


/Svend Rost
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to package it to make the jar. the toolkit has a menu uption for packaging. It is actually a submenu of a menu, I can't remember off the top of my head, but it is easy to find, not many menu items in the toolkit.

Hope that helps.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic