1
votes

I have created a Hello World application in Codename One (I am using Eclipse Mars version).

I can build and run the simulator without a problem. It properly generates .class files under bin directory.

But it does not create .jar file under dist directory. I think this file is supposed to be generated automatically.

Do I need to check an option in the project properties so that .jar file of the project can be generated under dist directory?

Does this problem signal an incorrect Eclipse (and/or Apache Ant) installation?

Thanks!

1

1 Answers

0
votes

Eclipse doesn't generate jar files by default only when you send a build as the ant file is used for that.

The jar files generated for a Codename One application aren't very useful as you can't just run them anywhere. You need to send a build to get a native application regardless of the IDE you use.