Mac JDK Issues? Playing with JavaFX

After I came back from maternity leave, I realized that the world around me has changed quite a bit. To me, this is one scary thing about the technology world. If you were away for several months, you feel like you were gone for decades! New technologies and acronyms pop up everywhere and what used to be hot and cool seems to be already obsolete. Anyway, so one thing that seems to be in now is JavaFX. I see news about it, read about it, hear people talking about it - so what really is JavaFX? I got curious and thus I decided to play with this technology on my cool MacBook Pro :)

I used NetBeans to run sample applications. Here is a very well written tutorial on Getting Started with the JavaFX Script Language. Following the steps, it was very simple to create my very first "Hello World" JavaFX script. However, when I ran it, I got the following error message in the output window.

The complete error messages are shown below.

=============================================================================
2007-07-26 13:37:19.565 java[354] CFLog (0): CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port = 0x10903, name = 'java.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2007-07-26 13:37:19.565 java[354] CFLog (99): CFMessagePortCreateLocal(): failed to name Mach port (java.ServiceProvider)
=============================================================================

This does not happen on Windows XP, so it seems to be a Mac specific issue. I investigated a bit and then I was informed (thanks Karthink) that this is indeed a Mac JDK issue.

http://developer.apple.com/releasenotes/Java/Java50Release4RN/OutstandingIssues/chapter_4_section_3.html

OK, at least it is harmless, which is good.

I then ran the temperature application which exercises the Spinners and Sliders classes, and there seems to be some painting problems.

Yikes, this does not look good at all. I then did some research and again, it seems to be a Mac JDK issue. I see people posting issues around Mac JDK's repaint functionality in different forums. Again, there is no problem on XP.

Sun does not provide JDK implementations on Mac - they are provided by Apple. Hence, I am not able to use my internal connections. I hope these issues get resolved soon!

Comments:

It somehow helps to see, that I'm not the only person being disappointed about apples jdk :-|

Posted by Daniel on September 22, 2007 at 08:43 AM PDT #

Post a Comment:
Comments are closed for this entry.
About

naoko

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today