(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-18-24 04:19 AM
0 users currently in Programming.
Acmlm's Board - I3 Archive - Programming - How can i create a JAR file?? New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
Deleted User
Banned


 





Since: 05-08-06

Last post: None
Last view: 6299 days
Posted on 12-14-05 03:33 PM Link | Quote
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
neotransotaku

Sledge Brother
Liberated from school...until MLK day








Since: 11-17-05
From: In Hearst Field Annex...

Last post: 6300 days
Last view: 6298 days
Posted on 12-14-05 03:58 PM Link | Quote
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.
Omega45889

Shyguy


 





Since: 11-18-05

Last post: 6331 days
Last view: 6346 days
Posted on 12-16-05 02:12 AM Link | Quote
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.
DJ Bouche

Koopa


 





Since: 11-22-05
From: Bligh Park, NSW, Australia

Last post: 6460 days
Last view: 6460 days
Posted on 01-03-06 07:27 AM Link | Quote
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 ), you'll be able to develop fine. There are probably lighter packages and emulators around elsewhere but to be honest I haven't really looked.
neotransotaku

Sledge Brother
Liberated from school...until MLK day








Since: 11-17-05
From: In Hearst Field Annex...

Last post: 6300 days
Last view: 6298 days
Posted on 01-04-06 12:45 AM Link | Quote
Originally posted by DJ Bouche
Though you need to download the Java SDK first (already 130MB)
It 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

Koopa


 





Since: 11-22-05
From: Bligh Park, NSW, Australia

Last post: 6460 days
Last view: 6460 days
Posted on 01-04-06 09:18 PM Link | Quote
Hmm damn I wasted some download then .. That was Sun's package anyway and the only one I found >.>;.

Also it might be worthy to check which J2ME classes/APIs are supported on your phone in order to keep full compatibility with it.
Gavin

Cheep-cheep
Vandalism is not tolerated


 





Since: 11-17-05
From: IL, USA

Last post: 6375 days
Last view: 6318 days
Posted on 01-05-06 06:47 AM Link | Quote
Originally posted by DJ Bouche
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.


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: lololol, 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


(edited by Gavin on 01-05-06 05:48 AM)
(edited by Gavin on 01-05-06 05:49 AM)
DJ Bouche

Koopa


 





Since: 11-22-05
From: Bligh Park, NSW, Australia

Last post: 6460 days
Last view: 6460 days
Posted on 01-09-06 11:46 PM Link | Quote
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.
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - Programming - How can i create a JAR file?? |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.007 seconds; used 381.55 kB (max 468.65 kB)