|
|
j2me development
|
|
|
|
Grizzled Veteran
Join Date: Aug 2002
Location: Central Texas
Status:
Offline
|
|
If one is interested in doing j2me development for the Nokia Series 60 OS using Mac OS X- what would be the best environment - commercial or free - to do this with?
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status:
Offline
|
|
Originally posted by alex_kac:
If one is interested in doing j2me development for the Nokia Series 60 OS using Mac OS X- what would be the best environment - commercial or free - to do this with?
J2ME is just a subset of J2SE, so you can use any J2SE environment o do your development. Just make sure you only use APIs that are part of J2SE (which comes with OS X).
|
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Aug 2002
Location: Central Texas
Status:
Offline
|
|
Originally posted by Arkham_c:
J2ME is just a subset of J2SE, so you can use any J2SE environment o do your development. Just make sure you only use APIs that are part of J2SE (which comes with OS X).
Right, but what environments do most people like to use for J2SE development on the Mac?
Project Builder is good - but compared to the Visual Studio series lacks quite a bit. So I'd like to see if there is anything that people do use a lot on the Mac to develop in J2SE or even J2EE.
|
|
|
|
|
|
|
|
|
Registered User
Join Date: Feb 2003
Status:
Offline
|
|
Pro Java IDE's for OSX.
Netbeans (Free Based on SUN Microsystems Forte IDE)
www.netbeans.org
Eclipse (Free from IBM)
www.eclipse.org
Wich was one is personal choice. Both have strenght and weekness.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Oct 2000
Location: Edinburgh, Scotland
Status:
Offline
|
|
I was just about to post the exact same question about J2ME development!
It's all very well saying that it's a subset of J2SE which comes with OS X, but how can I test what my software will look like on my mobile phone without having to waste WAP minutes only to find out it won't work?!
Also, is there a list of APIs contained in the subset? I know it'll be on java.sun.com somewhere, but I'm too tired to look just now.
FYI, I've got the Nokia 3510i
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Oct 2000
Location: Edinburgh, Scotland
Status:
Offline
|
|
I've just downloaded various bits and bobs from java.sun.com/j2me but I can't compile anything. I don't have the necessary java extensions javax.microedition.*
Any hints on how I might be able to get my hands on this?
Thanks
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Oct 2000
Location: Edinburgh, Scotland
Status:
Offline
|
|
Ok, after a wee bit of digging around on Sun's java webpages I found the javax.microedition packages, and after searching Apple's java-dev email archives I found myself an OS X build of the Preverify tool.
I installed it into /usr/local/bin and all the libraries into /usr/local/lib but I can't get it to preverify any of my code. It compiles successfully, but the preverify tool outputs the following error:
Code:
Error preverifying class HelloMIDlet
Class loading error: Illegal constant pool index
Any thoughts?
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Oct 2000
Location: Edinburgh, Scotland
Status:
Offline
|
|
Ok, not that anybody was interested before, but in case anyone's interested from now onwards, I've solved the problem.
The preverify tool is incompatible with JDK1.4.1 - I went back to 1.3.1 and it's working fine now. Bit of a pain, but never mind.
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Jan 2002
Location: Trondhjem, Norway
Status:
Offline
|
|
Originally posted by Geobunny:
Ok, not that anybody was interested before, but in case anyone's interested from now onwards, I've solved the problem.
The preverify tool is incompatible with JDK1.4.1 - I went back to 1.3.1 and it's working fine now. Bit of a pain, but never mind.
I was actually a little interested. I didn't have anything to add though...
Did you have to completely remove 1.4.1?
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Oct 2000
Location: Edinburgh, Scotland
Status:
Offline
|
|
Originally posted by alien:
I was actually a little interested. I didn't have anything to add though...
Did you have to completely remove 1.4.1?
Nah, when you update java on OS X (provided you didn't do it manually), all previous versions of the JDK remain in /System/Library/Frameworks/JavaVM.framework/Versions
All you need to do is redirect the symbolic link "CurrentJDK" to point to 1.3.1 instead of 1.4.1 DO NOT change the symlink "current", that should remain pointing at "A"
Now you should be able to compile and preverify your MIDlets on OS X.
Still need a Nokia emulator though.....
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|