Click here to Skip to main content
15,885,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi, i build an j2me application, it can run. but when i want to execute the file .Jar of it to make a print screen of the application, the .jar file can not be executed. it makes a sound strange like "bong" without any error message...

somebody can tell me how to solve this problem?

thx,
best regards..
Posted

culini wrote:
i build an j2me application, it can run.



culini wrote:
but when i want to execute the file .Jar of it to make a print screen of the application, the .jar file can not be executed.


If the program runs then it should run from within a jar file. Are you using the correct syntax to start it?
 
Share this answer
 
off course, but the jar can run at Mobile Phone, but when i try to run it from my PC, it doesn't work...

that need some setting to make it run??
 
Share this answer
 
anyway, i tried to build the other j2me application. all of them can run smoothly at emulator, but when i try the jar of them, all of them can not work..

help me pls. thx
 
Share this answer
 
culini wrote:
when i try the jar of them, all of them can not work.


It's impossible to guess what the problem might be from your description, and assuming there is still no error message. The only suggestion I can make is to use the NetBeans debugger to try and trace what is happening.
 
Share this answer
 
JAR files for Mobile Applications cannot be run on a computer's OS. Sure, it can be copied over to the phone and it will run there, but to run it on the computer OS, you need to have a phone emulator.

Such a JAR file will not run without a phone emulator on a computer and will only run on an actual mobile phone or from within the IDE you built it in.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900