image
image

Go Back   macosx.com > Design, Media, Programming & Scripting > Software Programming & Web Scripting

Reply
 
Thread Tools
  #1  
Old August 8th, 2004, 07:31 PM
Registered User
 
Join Date: Jan 2002
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
DerangedPEZ is on a distinguished road
Nokia Java Games on OS X?

Even though this has little to do with software programming, I assume this is a question you Java developers can answer.

I have a nokia cellphone that can run java applications and games. However, i want to test the games I download on my mac before I transfer them to my phone. Is there an easy way to do this? I've found several articles on the internet about developing java games on mac os x, but I have never coded anything in java and I know very little about it. In other words i'm looking for something user friendly.

I have Virtual PC, but i would prefer to run the games straight from Mac OS X (panther)

Thanks in advance!

Last edited by DerangedPEZ; August 8th, 2004 at 07:33 PM. Reason: adding a bit politeness to my post:D
Reply With Quote
  #2  
Old August 9th, 2004, 08:03 PM
symphonix's Avatar
Scratch & Sniff Committee
 
Join Date: Jul 2001
Location: The Australian Jungles
Posts: 4,022
Thanks: 2
Thanked 2 Times in 2 Posts
symphonix is on a distinguished road
Not terribly easy. You could try unpacking the JAR file and opening it in a nice, easy Java testbench such as BlueJ. The functions called on a cell-phone are different to those called by an applet or desktop applications, so you'll need to experiment a bit.
__________________
- iMac G5 1.8GHZ 17" | SuperDrive | 160GB | 512MB | Airport Extreme | Bluetooth Keyboard & Mouse | Wacom Intuos II
- Pentax *ist DL - JVC MiniDV Camcorder - Airport Express - iPod Nano 1gb white
Reply With Quote
  #3  
Old August 10th, 2004, 03:53 AM
Viro's Avatar
Registered User
 
Join Date: Nov 2003
Location: Oxford, UK
Posts: 2,492
Thanks: 0
Thanked 1 Time in 1 Post
Viro will become famous soon enoughViro will become famous soon enough
Short Answer:
Probably not.

Medium Answer:
Java doesn't have the necessary libraries to run your game on OS X.

Long Answer:
Mobile phones and other embedded devices that support Java run a version of Java called the Java 2 Micro Edition (J2ME). This is different from Java on the desktop (OS X, Linux, Windows, etc) which is called Java 2 Standard Edition (J2SE).

While Java applications are portable, you can't expect to run a J2SE application on a J2ME runtime. The libraries are different. J2ME is a cut down version of J2SE and doesn't support a lot of the libraries that J2SE supports, most notably Swing. To make things even worse, J2ME isn't officially supported under OS X. You can download it from some hacks website, but that isn't fully tested so who knows what could go wrong.

Now if you're using a Nokia phone, chances are high its based on MIDP 1.0.x specification, and the following J2ME implementation for OS X might work. It just might, so use it at your own discretion. http://mpowers.net/midp-osx/
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 07:47 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.