i make a game with netbeans (with AbsoluteLayout.jar) and i cant run the jar in another PC so i convert the jar to exe and it works only in my PC and i dont know what to do to make it run everywhere
I have one application installed on my pc which is a .jar file. (It's a code editor, so not useful for cell phones at all, and way too big anyway.) So it really isn't limited to cell phones.
What I would do is packaging the JRE together with the .jar file for your application in a zip file. Then add an installer to the zip file which checks if the JRE is already installed, if not installs the JRE, and after that installs the .jar file.
A tool that does this could be quite easily found I think, but not sure.
An other thing: consider keeping the file as .jar and not converting to .exe, because you will lose the ability to run it on any platform.[/quote]
What do you mean by that? I thought that the .exe file should be the one that can be run on any platform, as .exe files are very common.