Esato

Forum > Sony Ericsson / Sony > Themes, ringtones, screensavers, games, video clips > Previewing Java games

Author Previewing Java games
waldopepper
K770 Brown
Joined: Jul 21, 2004
Posts: 16
PM
Posted: 2004-07-25 16:09
Reply with quoteEdit/Delete This PostPrint this post
Probably an obvious one. Is there a way of playing a downloaded java game on my PC to see if its any good so that I can then decide whether or not to load it onto my phone?
Double-clicking or dragging the files into an Internet Explorer window but it doesn't seem to run them.

tors
Xperia Ray
Joined: Jul 22, 2004
Posts: 43
From: Sweden
PM
Posted: 2004-07-25 16:15
Reply with quoteEdit/Delete This PostPrint this post
You can download an emulator to try the game...
You can find one at http://java.sun.com/products/j2mewtoolkit/download-2_1.html
or at http://developer.sonyericsson.com
waldopepper
K770 Brown
Joined: Jul 21, 2004
Posts: 16
PM
Posted: 2004-07-25 19:04
Reply with quoteEdit/Delete This PostPrint this post
Thanks for the info. There is a multitude of stuff to download - I've tried the Java(TM) 2 Runtime Environment Standard Edition 1.4.2_05 ("The J2SE Java Runtime Environment (JRE) allows end-users to run Java applications") is this what you were referring to?

https://jsecom15k.sun.com/ECo[....]3%3A4103e158%3A53b64bc7a86e3d5
I've installed this but there is no way to load the files into it.

??
tors
Xperia Ray
Joined: Jul 22, 2004
Posts: 43
From: Sweden
PM
Posted: 2004-07-25 19:12
Reply with quoteEdit/Delete This PostPrint this post
Yup, j2ME wireless toolkit.

If you install this you can find a bin-directory in the WTK directory I think... There is a emulator.bat which you can start java games giving the path to the java game .jad-file.

Good luck!
HjJ
T68 grey
Joined: Jul 02, 2004
Posts: 185
PM
Posted: 2004-07-25 20:05
Reply with quoteEdit/Delete This PostPrint this post
In addition to installing the JRE as you have done, you need to download and install the J2ME Wireless Toolkit.
Press the "Download" button at the bottom of the page mentioned earlier.
Sutitan
P800 no flip
Joined: Dec 23, 2003
Posts: 327
PM
Posted: 2004-07-25 21:38
Reply with quoteEdit/Delete This PostPrint this post
I used j2mewtoolkit to preview some .jad files but I have .jar... First time ever playing around with these things. Just wondering is there a way to preview the .Jar's?
tors
Xperia Ray
Joined: Jul 22, 2004
Posts: 43
From: Sweden
PM
Posted: 2004-07-26 19:49
Reply with quoteEdit/Delete This PostPrint this post
You can create a jad-file for the jar-file manually. I'm sure there is some tool to do this also but create a new file in notepad and enter the following lines (edited to match your jar-file)

MIDlet-Version: 1.0
MIDlet-Vendor: vendor
MIDlet-Jar-URL: myjarfile.jar
MIDlet-1: myjarname, myjarname.png, mainclassinmyjarfile
MIDlet-Jar-Size: 62000 <--- Change this to jar-size
MIDlet-Name: myjarname

Good luck!
Access the forum with a mobile phone via esato.mobi