Skip to main content

Just released: JavaFX Mobile 1.2 EA for Windows Mobile

Posted by terrencebarr on July 27, 2009 at 2:54 PM PDT



  • JavaFX Mobile development now also available for Mac OS!
  • Caveat when using NetBeans 6.7.1: After installing NetBeans 6.7.1 with JavaFX you should be able to build and run JavaFX applications on the Windows Mobile EA just fine. However, NetBeans 6.7.1 prompts you update JavaFX though the update center. Do not perform this update as there is an incompatibility between this update and the Windows Mobile EA that will cause certain applications to fail.
  • Also check out Steve's blog post

Ever since JavaFX Mobile was announced at Mobile World Congress in February developers were asking: When can we get our hands on real devices?

Sure, the Mobile Emulator has been available for a while - but nothing beats the real thing. Then, at JavaOne, attendees could buy a limited number of developer phones with a preinstalled version of JavaFX Mobile.

And now, Sun is pleased to announce the availability of JavaFX Mobile 1.2 Early Access for Windows Mobile.

Features of the EA Release

  • Ready-to-install binary stack for Windows Mobile 6.0 and 6.1
  • Implements JavaFX 1.2
  • Also includes the Sun Java Wireless Client stack supporting MIDP 2.1, CLDC 1.1a, and a number of Java ME optional packages
  • Applications can be deployed to devices via USB, with NetBeans integration
  • Includes several bundled sample applications
  • Tested on HTC Diamond and LG Incite phones
  • For development purposes only

Screencast picture.jpg Why Windows Mobile? Suns first priority was to get this release out quickly into the hands of as many developers as possible. We have gotten many request for Windows Mobile in the past so we know it's a popular platform, and furthermore we felt that Windows Mobile devices are readily available around the world at reasonable prices with the features we felt were important.

The EA release was tested specifically on the HTC Diamond and LG Incite but it is likely to work on similar Windows Mobile devices (Rakesh, for example, has installed it on a Sony Xperia). Keep in mind, though, that features, functionality, and performance may vary.

Watch the Screencast

Seeing is believing! I've put together a screencast demonstrating how to get started and how to run a sample application (Mosaic) on the HTC Diamond, including using the deploy-via-USB feature. Check it out, I hope you'll find it useful. And please give us feedback via the forums.


-- Terrence

PS: JavaOne attendees who bought the developer phone should upgrade to the 1.2 EA release to get the latest improvements.

Related Topics >>


Digital Signature error with WM6.1

I am recieving a digital signature error when I try to open the JavaFX app on my handheld device. The error reads: "The file 'JavaFX' can not be opened. Either it is not signed with a trusted certificate, or one of its components can not be found. You migth need to reinstall or restore the file" I am using a Motorola MC9090-G Pocket PC/Scanner with Windows Mobile 6.1 Classic CE OS 5.2.19590 (Build 19590.1.1.5) Is anyone else having a similar issue? Does anyone know how to turn off the digital signature checker or service? Thank you.

An answer to the problem please

It seems like a lot of people on this site have the "The file 'JavaFX' can not be opened. Either it is not signed with a trusted certificate, or one of its components can not be found. You migth need to reinstall or restore the file" problem after installing JavaFX. Could anyone please come up with a solution, in stead of pointing to the problem?

Window Mobile emulator is slow

Hi, Terrence: Thank you for the previous reply. I have another question. Compared with JavaFX mobile emulator, WM 6.1.4. professional emulator is very slow. Even running some examples from JavaFX site, such as "ProjectManager" application. Do you know what's the reason? Can we configure it? I don't have a real device to test. Will it be slow on the real device (Window Mobile 6.1)? Thanks!


The Windows Mobile emulator, as I understand it, actually pretty faithfully emulates most of the Window Mobile device, including the ARM instruction set and hardware components. Being a pure software emulation I expect it to significantly slower than a real device - for all types of Windows Mobile application. On a real device JavaFX Mobile is of course much faster.

I don't believe there is a way to improve the emulator speed.

Hope this helps,

-- Terrence

Thank you, Terrence. I will

Thank you, Terrence. I will try to test it a device, don't need to waste time on adjust the emulator.

JavaFX on iPhone

Hi Terrence, I would like to create software in JavaFX for iPhone. Would your team consider this platform?


Unfortunately, that's a question regarding the iPhone EULA that you'll need to address with Apple.

JavaFX Mobile 1.2 EA for Windows Mobile 6.1 Emulator

Hi, Terrence: I tried to test JavaFX Mobile 1.2 EA on Windows Mobile 6.1 Emulator - (downloaded from I successfully installed on the emulator. And the samples from the packages can be run on the emulator. However, when I run “C:\Program Files\NetBeans 6.5.1\javafx2\javafx-sdk\emulator\bin\emulator” -Xquery the device name or emulator name - " JavaFXWinceDevice1" can not be detected either through commander line or NetBean 6.5.1+. I know for the EA release, it claimed only tested on HTC Diamond and LG Incite phones. So how are about on any smartphone emulators with Windown Mobile 6.1. Thank you, Ying


I believe the JavaFX emulator supports either the built-in software emulation or a Windows Mobile device connected via USB and ActiveSync or WiFi. You may be able to connect to a Windows Mobile device emulator if you can make the device emulator appear as a network client with a fixed IP address (see here: - but I have not tried this.

In any case, I don't think it's necessary to connect the device emulator and NetBeans that way. It is much easier to use the shared folder feature of the Windows Mobile device emulator to copy files from the Windows desktop to the emulator file system. Once you've started the device manager and instantiated the device go to "Emulator Properties" and select a "Shared Folder", then simply copy the cab or jar file there to run in with the JavaFX EA stack.

-- Terrence

How to create .cab .ii .ss file?

Thank you for the quick reply. The 2nd suggestion is good for me. I copied a jar file, such as DisplayShelfMobile.jar example to the shared folder. On the emulator when I installed the jar file, got error message - not installed because the critical information between the website and .... From the examples in the JavaFX EA stack, I saw the same sample associated with three file names 9001.jar, 9001.ii, under JavaFx/Java folder. Do you know how to create the .cab file or .ii .ss files so that a JavaFX mobile application can be correctly installed and run on the WM device emulator?


Just to be clear about the steps:

1) First, you copy the SUN_JAVAFX.CAB file over to the device emulator file system
2) Click on the SUN_JAVAFX.CAB to install it
3) Copy the JavaFX application jar file over to the device emulator file system
4) Click on the jar file - this should start the JavaFX application installer and should ask you if you want to install the application
5) Once the installation finishes you can start JavaFX by choosing the "JavaFX" icon in the "Programs" section of the device
6) You should see your JavaFX application in the list of installed applications. Click to run it.

Please confirm this is the steps you are following and let me know specifically where the error occurs.


-- Terrence

It works ...

Hi, Terrence: I rebuilt the JavaFX mobile applications with NetBeans IDE 6.7.1 and 6.5.1. Following your steps, I successfully installed several examples from JavaFX web site and the JavaFX mobile applications developed by myself. For all the applications built with NetBeans IDE 6.5.1, they run well on the device emulator (WM 6.1.4 Professonal). Except for "FXAddressBook" example, the bottom menu bar missing on WM emulator - actually they were overlapped by the emulator bottom menu bar. As for the applications built with NetBeans IDE 6.7.1, they can be successfully installed. But when clicked them on the installed list (Step 6), only "JavaFX version 1.2 Early Access" screen were displayed, and it stuck there, didn't go forward. Thank you so much for your help! Ying


Regarding NetBeans 6.7.1, please see my comment "Caveat when using NetBeans 6.7.1" at the top of this post. There is an incompatibility between the NetBeans 6.7.1 JavaFX update and the JavaFX Mobile EA.

-- Terrence



When will support the simplifed chinese

We are waiting for the Window Mobile Runtime, but no any update, when we can have it with the simplified chinese? thank you for answerring my issue, I have post many help message,but no any confirmation, thank you


As mentioned previously we are looking into expanding the number of supported locales, but I can't give you a specific availability date at this point.

-- Terrence

JavaFX Installation on windows mobile 5.0

I installed successfully on the HP iPAQ hw6940 "windows mobile 5.0. So when I run the next step in the installation guide: " JavaFX on the device. From the Start menu, select Programs. JavaFX Tap the icon." An error message is displayed: "The file 'JavaFX' can not be opened. Either it is not signed with a trusted certificate, or one of its components can not be found. You migth need to reinstall or restore the file" Does you have this experience?

JavaFX Installation Error on HP IPAQ windows mobile 5.0

I have encountered exactly the same error message ("The file 'JavaFX' can not be opened. Either it is not signed with a trusted certificate, or one of its components can not be found. You migth need to reinstall or restore the file") when trying to run JavaFX on my HP iPAQ rx5940, which runs Windows Mobile 5.0. I'm a bit desparte, because I need JavaFX to run We-Travel (Openstreetmap navigation software)


Sorry for the trouble you are having - We-Travel looks very interesting, I'll have a look at it and try running it on the WM stack. It might take me a day or two to get to it.


-- Terrence

Took me a while to figure out

For those using the Windows Mobile 6 emulator and are receiving the message:

"The file 'JavaFX' can not be opened. Either it is not signed with a trusted certificate, or one of its components can not be found. You migth need to reinstall or restore the file" Make sure you are using the Windows Mobile 6 Professional Images. The Windows Mobile 6 Classic image would cause this error every time!!!! -Tres

Took me a while to figure out

What do you mean by "Windows Mobile 6 Professional Images" exactly? Where can I find this files and what do I need to do with them? Thanks! -- André



Apologies for the slow reply - I didn't see your question until now.

I personally have not tried a WM 5.x device yet - the Release Notes state the requirement for 6.0 or 6.1 devices. I don't know if there is a way to get this release to work on WM 5. It may be easier to try and find a device with a newer Windows Mobile version.

-- Terrence

Ive tried to load this on a

Ive tried to load this on a Windows 6.1 Mobile device, and I also get the "Certificate error or a component is missing" error. Any suggestions?

JavaFX bootstrap on Windows Mobile 6.0

I'm having the same problem, but on 6.0, specifically on an iPaq 111. This seems general to the Windows Mobile system.
Obviously it could be a certificate issue, but haven't found any documentation on it (as necessary). An upgrade to 6.1 isn't an option, per hardware
distributor (or HP, as it seems...). If the javaFx stack has been successfully used on any iPaq hardware, the info would be helpful. Any other nuggets on
this would be GREATLY appreciated :)

Can chat at


I've installed the JavaFX EA on several 6.0 devices and haven't encountered any installation problems so far. What's the error message?

-- Terrence

Terrence; following is the

Terrence; following is the error returned after JavaFX has been installed; there is no problem installing. I get 'successful' feedback during that process. The problem comes as I click to open the midlet manager, or the entry point of the JavaFX program. It spins for a second or two then the following is displayed "The file 'JavaFX' cannot be opened. Either it is not signed with a trusted certificate, or one of its components can not be found..." I've tried reinstalling quite a bit, as well as disabling security on the pda with the Microsoft environment. Doesn't seem to affect the install, so I'm thinking that the security is not the problem. I haven't been able to get any other debugging info out of it, other than the above error. Any suggestions would be appreciated. Or, if you've had to make any custom configuration changes for any instance, that info would be great too. Best..

hi Terrence, Cannot show the asia language.

We are trying on the Runtime, it is great but it cannot show any asia language font in our simplified chinese HTC Touch Diamond2, they are all shown as rectangle. everything show chinese on the device but the JavaFX application, the application can shown correctly in the desktop profile. we have tried all way we can, but it doesn't work. is it possible for a non-english application on the JavaFX mobile?


Just confirmed that simplified chinese is not supported in the 1.2 EA version.

-- Terrence



Sorry for the slow reply. We are having problems with the comment notifications - I didn't realize you had posted a comment. I am checking with the engineering team to see if simplified chinese is supported. I'll get back to you.

-- Terrence

huetz, Currently it is not possible to add JSRs easily. However, we are already considering adding the JSRs you mentioned for final release. -- Terrence

Hi Terrence, I am playing around with JavaFX Mobile and I have a question about the optional JSR's. Is it possible to add new API's and use them on my HTC Diamond? I tried to use JSR.82 and JSR-256, but none of them works, my phone does not start the programms. I saw your Accelerometer example and tried to use it, but it only works in the emulator. Is there anything I need to consider running this example on my phone? thanks huetz

@mprohit, Android is obviously something we're looking at as well - but as above I can't give any specifics. -- Terrence

what about Android platform? what can we expect from future releases of javafx mobile ?

Currently we're focused on Window Mobile. Symbian is obviously an important platform but I can't give you any specifics on availability at this point. -- Terrence

Will this be able to Symbian SO later?... Im intrested in this project.. :D