Reputation: 146
I developed an application in j2me,created a jar for that application. Now I want this jar to be used in another application. I imported that jar in my first application, but when I try to import that jar in my class (code) (for example:import.org
), that jar file is not showing as option. Is there anything to be done when creating a jar which is to be used in another project?
Upvotes: 2
Views: 306
Reputation: 14042
You can try this,it works fine:
- Create New Project Without any midlet.
- Create your classes which you want in library.
- Compile all classes.
- Right click on Project & Select Properties.
- Click on creating Jar & Give name for Jar & Jad
- Now Clean & Build Your Project.
- Your Library ready to use in jar file.
Upvotes: 2