How to create a jar file from Net Beans?

Ranhiru

Member
Feb 2, 2007
6,438
42
0
Inside FIREFOX
I downloaded Net Beans 6.5 complete pack with Java ME. And then i downloaded and installed Sun Java Wireless Toolkit too. And i have tried in all ways to go to New Project -> And in under Java ME -> Mobile Application

Then i enter name and location

and then when to select the emulator platform Sun Java Wireless Toolkit 2.5.2 for CLDC is there.

But when i press NEXT nothing happens. A Red Sign just blinks on the background!

I want to create a jar file to be run on Sony Ericsson phones!

How do i do it?

Please help me!

P.S :- Sun Java Wireless Toolkit is added in Platform Manager under J2ME as well :(
 
Last edited:

IceCool123

Member
Feb 15, 2009
116
0
0
Hi

few things to try:
  • check/uncheck the "create Hello MIDlet" option
  • check/uncheck the "set as main project" option
  • change the project name in case it conflicts with another in the same location
  • only use basic characters in the project name: [A..Z][a..z][0..9]
  • make very very sure the project location you're using is correct for your operating system.
few question to ask:
  • What does the dialog say when you click on the flashing red sign? It should let you see an exception stack trace; can you post that here?
  • what operating system are you running netbeans on?
 

Ranhiru

Member
Feb 2, 2007
6,438
42
0
Inside FIREFOX
IceCool123 said:
few things to try:
  • check/uncheck the "create Hello MIDlet" option
  • check/uncheck the "set as main project" option
  • change the project name in case it conflicts with another in the same location
  • only use basic characters in the project name: [A..Z][a..z][0..9]
  • make very very sure the project location you're using is correct for your operating system.
few question to ask:
  • What does the dialog say when you click on the flashing red sign? It should let you see an exception stack trace; can you post that here?
  • what operating system are you running netbeans on?

ohh thanx 4 replying after a long time :)
But the problem remains... but i found a way through! The way through is just press Finish instead of next in the first page of the wizard... and it will create the project and i can code happily! :)

And about your questions
1. Nothing happens when you click the red sign... its just a blinking small icon on the lower right corner of the Net Beans window...

2. Windows Vista Home Premium SP1 x64