Update:
- Nov 12: The issue regarding Java 1.5 has been fixed. The Java ME SDK 3.0 for Mac OS should now work with both Java 1.5 and Java 1.6.
It’s been a long time in the making … but it’s finally here. Native Java ME development is coming to Mac OS X!
The Java ME SDK 3.0 for Mac OS (Early Access) was released this morning. It supports CLDC and includes the following features:
- Brings the functionality of the Java ME SDK 3.0 to Mac developers – first official Mac release.
- Unique architecture enables the developer to work with the real device directly from within the ME SDK 3.0.
- Communication with the devices, application deployment and even On-Device debugging are supported over Wi-Fi.
- Supports the latest CLDC Hot Spot VM and Java Micro Edition APIs
- High-end Tools for optimizations: Profiler, Network Monitor, Support for Debugging, Wireless Messaging Console and more
- Introducing JavaFX 1.2.1 Mobile emulator running on Mac OS
- Integrated Device Search Database for easy reference
- Powerful Autoupdate for additional plug-ins and product updates
- Development Environment based on NetBeans Platform
Complete list of APIs supported:
- Mobile Information Device Profile (MIDP) 2.1 (JSR 118)
- Connected Limited Device Configuration (CLDC) 1.1 (JSR 139)
- Java Technology for the Wireless Industry 1.0 (JSR 185)
- Mobile Service Architecture 1.0 (JSR 248)
- PDA Optional Packages for the J2ME Platform (JSR 75)
- Java APIs for Bluetooth (JSR 82)
- Mobile Media API (MMAPI) 1.2 (JSR 135)
- J2ME Web Services Specification (JSR 172)
- Security and Trust Services API for J2ME (JSR 177)
- Location API for J2ME (JSR 179)
- SIP API for J2ME (JSR 180)
- Wireless Messaging API (WMA) 2.0 (JSR 205)
- Content Handler API (JSR 211)
- Scalable 2D Vector Graphics API for J2ME (JSR 226)
- Payment API (JSR 229)Mobile Internationalization API (JSR 238)
- Mobile Sensor API (JSR 256)
- XML API for Java ME (JSR 280)
It is ready for download now. Check it out and let us know what you think!
Important Installation Note:
The Java ME SDK 3.0 for Mac OS requires Java 1.6. You can download Java 1.6 from Apple’s update website or install it via the Mac OS “Software Update”. Next, be sure to verify Java 1.6 is set as the default runtime for Java applications in the Java Preferences (Applications->Utilities->Java Preferences).
For more info and a screen shot check out the Java ME SDK blog.
Cheers,
— Terrence
20 comments
Comments feed for this article
10/24/2009 at 22:02
Just released: Java ME SDK 3.0 for Mac OS « Chicago Mac/PC Support
[…] 24, 2009 chimac Leave a comment Go to comments Isn’t this exciting. Finally! Click here to read […]
10/26/2009 at 07:46
veljko
I’m running Mac OS X 10.4 and SoyLatte (http://landonf.bikemonkey.org/static/soylatte/) as Java SDK 1.6 has not been ported to Mac OS X 10.4 yet.
When I try to run Java ME SDK 3.0 for Mac OS I get the following error:
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:240)
…
it pretty much goes like this for another page or so.
Also, if I open a project I get ‘unresolved reference problem’, and the following suggestion:
Problem: The project uses the Java Platform called “CLDC Sun Java(TM) Micro Edition SDK 3.0 EA”, but this platform was not found.
Solution: Click Resolve and create new platform called “CLDC Sun Java(TM) Micro Edition SDK 3.0 EA”.
However, clicking on the resolve button doesn’t help as I don’t know how to set the platform to be anything else than 1.5 which I’m given by default and which is the latest Sun Java SDK that I have installed (note: SoyLatte java 1.6 is the preferred one in my Path).
Did anyone try running Java ME SDK 3.0 on Mac OS X 10.4? Did you encounter similar problems, and have you managed to solve them?
Thanks a lot,
Veljko
10/26/2009 at 11:45
terrencebarr
Veljko,
I saw the same errors initially when using Java 1.5. Only after upgrading to Apple’s Java 1.6 *AND* setting the Java Preferences to tell the system to use the 1.6 version did the Java ME SDK work.
I haven’t used SoyLatte yet – so I am guessing here – but first I’d make sure that SoyLatte is actually used as the runtime when starting the Java ME SDK. Have you set the JAVA_HOME and JAVA_SDK env variables? And where does /System/Library/Frameworks/JavaVMframework/Versions point to?
Cheers,
11/09/2009 at 11:18
veljko
Hi,
Thanks for the reply. Unfortunately, I didn’t manage to get it running…
The soylatte is in /usr/local/soylatte16-i386-1.0.3 and I set my JAVA_HOME and JAVA_SDK to point to the same directory.
I created /System/Library/Frameworks/JavaVMframework/Versions/1.6.0/Home that points to /usr/local/soylatte16-i386-1.0.3 and /System/Library/Frameworks/JavaVMframework/Versions/Current and CurrentJDK point to that 1.6.0 directory.
When I call “java” from the command line I get the right version (1.6) but Java Preferences doesn’t allow me to set anything but 1.5 as the default, so that’s no way to go obviously. Is anyone aware of another way to make sure that Java ME SDK is indeed using JVM 1.6?
Cheers
Veljko
10/27/2009 at 10:09
Arnau
Great! But I am surprised to see this coming earlier than the Linux version! Do we have an estimated release date for that?
10/27/2009 at 10:32
terrencebarr
The Linux version of the Java ME SDK 3.0 is coming. In the meantime you can use the WTK 2.5.2 version for Linux: http://java.sun.com/products/sjwtoolkit/download.html
— Terrence
10/28/2009 at 16:24
Arnau
Thanks Terrence, it’s what I am using already. Unfortunately it (and the Windows version as well) has a severe bug when receiving datagrams (http://forums.sun.com/thread.jspa?messageID=3050861�), which blocks the app for 5 seconds (in my case) per datagram. Multiple datagrams in a row = long block = unusable.
I still don’t understand why the Mac version should have precedence, but well, I’ll wait.
Thanks again and keep up the good work.
Arnau
11/11/2009 at 18:31
kTom
If you download Early Access from http://java.sun.com/javame now it works on jdk 1.5 and jdk 1.6 as well. Above mentioned problem has been fixed.
12/22/2009 at 15:00
kTom
Java ME SDK 3.0 for Mac OS final version has been just released. Check it out.
12/31/2009 at 02:36
currydt
Thanks for this note/notice. Running nicely in Netbeans on my Mac.
One simple question – should the JavaFx Mobile device within this build work? I have my J2ME applications working, just cannot seem to get the Fx Mobile Compiles to run on the Mac Version.
Any suggestions?
Thanks in Advance
01/11/2010 at 10:34
terrencebarr
Are you trying the DefaultFXPhone1 or the DefaultFXTouchPhone1? What are the problems you are seeing?
01/28/2010 at 13:32
Simo
Hi currydt, how did you manage to get the J2ME 3.0 to show in NetBeans? I’m using NetBeans 6.8, there is no selection to add this SDK.
01/28/2010 at 14:49
terrencebarr
Unfortunately, the Java ME SDK 3.0 for Mac currently does not integrate with NetBeans on the Mac.
03/04/2010 at 19:00
JD Evora
Any update Java ME SDK 3.0 for Linux?
Thanks
03/05/2010 at 10:23
terrencebarr
Sorry, no news on the Java ME SDK for Linux yet.
03/05/2010 at 12:18
JD Evora
😦
06/19/2010 at 12:00
Amar
Hi I want to used
Java(TM)ME platform SDK 3.0 in my project I have software but I dont know how can used it can you help me?
07/12/2010 at 20:40
loreNZO ANTONIO BRITO MORALES
its nice to work whit apple. But what plans has Java ME to compete whit iphone/android market? i really like java me cause you developed once you run every where. But now we have seen thata ipods/adroid are winning market. and no one of those (ipods/android) are not planing to suport j2me
08/01/2010 at 11:00
swp
Can it be that J2ME SDK for Mac OS has been removed? I can only find the Windows version on the site linked.
08/18/2010 at 10:08
terrencebarr
Sorry for the slow reply. The link to the Mac version is still there, it’s just hidden a bit in the text. The link is: http://www.oracle.com/technetwork/java/javame/downloads/sdk30-mac-jsp-137878.html