![]() |
Register | Login | |||||
![]() |
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
![]()
| |
0 users currently in Programming. |
User | Post |
DJ Bouche Posts: 42/111 |
Erm, my apologies, I didn't mean to target them to just J2ME applications. I know they're used in hundreds of other java (if not all/most of them?) situations. ![]() |
Gavin Posts: 90/181 |
Originally posted by DJ Bouche um.. not necessarily. It depends, as everything does, on the platform in which you are working. My real world working example is Mozilla based applications (read: Firefox, Thunderbird) which actually package extensions and other central components in the .JAR format but have nothing at all to do with Java or J2ME. So I might concede that a majority use .JAR for a specific purpose, but not all ![]() |
DJ Bouche Posts: 37/111 |
Hmm damn I wasted some download then ![]() Also it might be worthy to check which J2ME classes/APIs are supported on your phone in order to keep full compatibility with it. |
neotransotaku Posts: 334/1860 |
Originally posted by DJ BoucheIt is only 56 something, not 130... although it maybe 130 if you install everything. Like DJ Bouche says, there are a different set of classes used with J2ME than with the JRE. So you will need to adapt some of the java games not designed for J2ME to use those in order to make the games J2ME compatible... |
DJ Bouche Posts: 32/111 |
Firstly, the JAR files [used on J2ME enabled phones] are just ZIP files.
Secondly, you can't just put a JAR file together and expect it to work. You'll need a J2ME SDK of some sort, Sun releases one which comes with a nifty emulator. Though you need to download the Java SDK first (already 130MB) then the J2ME SDK (30MB? can't remember). So if you can bear with the download, (I did ![]() ![]() |
Omega45889 Posts: 28/92 |
Umm, you can make a .Jar file really easily with a Java frontend called BlueJ. Just google for it. You just have to have a Main method somewhere so that the program has somewhere to start from. The main function is pretty picky. It looks somethin like this if i remember correctly:
public static void main(String[] args) { // Program starts here } Just go project -> create Jar file, and point it to the class with the main() method in it. Now that that is said, i hate BlueJ... it is a terrible program. |
neotransotaku Posts: 148/1860 |
a .jar file is just a ZIP file with a few needed files.
Java comes with a jar utility--here are instructions to use it from San Jose State. scroll to the jar section. |
Deleted User Posts: 33/-7750 |
Some games for mobile phone are made in java with JAR format. I would like to make my own game for my mobile phone but i dont know how make the JAR file. Please help. Thanks
|