You are currently browsing the tag archive for the ‘Mac OS X’ tag.
Just to let you know there are a bunch of new and interesting podcasts around embedded Java, JavaFX, and Java on Mac OS X available on The Java Spotlight Podcast:
- Episode 89: Geoff Morton on Java Embedded
- Episode 88: HTML5 and JavaFX 2 with Gerrit Grunwald
- Episode 87: Nandini Ramani on JavaFX and Embedded Java
- Episode 83: Scott Kovatch on Java for Mac OS X
This is a bit off-topic but I wanted to share because it seems a lot of people are running into issues with choppy video playback and stutter on Mac OS X.
I am using a Mac Mini with Snow Leopard (10.6.8) as a home media center and it has worked great in the past, playing back music and videos from multiple sources (web, quicktime, VLC, EyeTV). A few weeks ago the video playback from all my sources started to become choppy, to stutter, and often the picture would hang for seconds at a time. Totally unusable. Drove me nuts for two weeks.
After much research and trial-and-error it turns out the problem was an outdated Flash Player which seems to have messed up the video pipeline for the entire system. The short is, I updated the Flash Player to version 11 directly from the Adobe web site, rebooted the Mac Mini, and all is well again!
Judging from the various posts across the web, video playback appears to be a fairly widespread problem for Mac users and I hope this helps some of you out there! And I can’t wait to get rid of Flash altogether – I can’t remember the times it has crashed my browser, hung my system, and screwed up things. Thanks Adobe ;-(
In case you missed it among the host of announcements at JavaOne (JavaOne 2011: First Wrap-Up):
Java FX 2.0 is now available for Mac OS X as a Developer Preview (download). Also, the NetBeans 7.1 Beta release (download), which includes full support for JavaFX 2.0 as well Java 7, is also available for OS X.
Questions about JavaFX 2.0? Here you can find the ‘short and sweet’ JavaFX 2.0 FAQ page.
Finally, getting started with JavaFX 2.0 is easy: Follow this excellent JavaFX 2.0 Tutorial and learn about Getting Started, Creating a User Interface, Effects, Animation, and Media, Application Logic, API Reference and Deployment.
JavaFX is back!
Some quick updates and links that have accumulated over the past days:
- The Expert Group on Project Lamba (“Closures for Java”) decides on the syntax. Check out Brian Goetz’ posting to the EG mailing list.
- Apple posts a new developer preview of “Java for Mac OS X 10.7 Update 1” and “Java for Mac OS X 10.6 Update 6″. See the post to the OpenJDK mailing list by Mike Swingler from Apple.
- Scott Kovatch announces starting at Oracle and his return as Technical Lead on the Mac OS X port of OpenJDK. Read his blog post “An old new beginning”.
- Josh Marinacci writes about client-side improvements in Java 6 and 7, including Swing, graphics, AWT, look and feel, installation and start-up, and more. Read the full OTN article
With the release of JDK 7 people have been asking “Where is JDK 7 for Mac OS X?”.
Apple and Oracle engineers are currently actively working on integrating the OS X Java code base into OpenJDK. This initial integration takes time and we can’t yet give you a specific date on the completion.
However, the integration is coming along well. You can check out the details of the Mac OS X Port Project within OpenJDK, see the status on the project wiki, and follow the mailing list. There are also regular (but unofficial) builds available for download.
PS: Of course, you can still always get the official Apple OS X JDK 6 implementation through the OS X “Software Update” mechanism.
Apple has recently announced that it would prefer if someone else were to continue the development of the JDK for Mac OS X. As Apple’s own JDK is mature and well-integrated, we would love to see Apple contributing the source code of the existing JDK for Mac OS X to the OpenJDK BSD Port project (http://openjdk.java.net/projects/bsd-port).
Please sign the petition Contribute the Apple JDK source to OpenJDK by clicking here
But there are lots of interesting sessions and labs that might be easily overlooked so today I’d like to share my recommended list – basically, things that interest me from a core platform/language/mobile/embedded perspective. Guaranteed to be totally subjective ;-). So, here we go:
Sunday: (full schedule listing)
- 12:30PM -01:30PM: Java User Group Community: Opening Session
- 02:30PM -04:30PM: GlassFish Community Event
Monday: (full schedule listing)
- 10:00AM -11:00AM: Groovy and Concurrency
- 10:00AM -11:00AM: JDK 7 and Java SE 7
- 10:00AM -11:00AM: Script Bowl 2010: A Scripting Languages Shoot-out
- 10:00AM -11:00AM: Writing Stunning Cross-Platform Applications Using LWUIT
- 10:00AM -11:00AM: Crossing the Java Frontier: How to Interact with Physical Worlds, Using Arduino
- 11:30AM -12:30PM: Developing Applications with Oracle Berkeley DB for Java and Java ME Smartphones
- 11:30AM -12:30PM: Groovy: To Infinity and Beyond
- 11:30AM -12:30PM: Multiple Languages, One Virtual Machine
- 01:00PM -02:00PM: Examining FOSS Java Implementations for ARM Systems
- 01:00PM -02:00PM: Attractive and Portable Mac OS X Swing Clients for Java
- 01:00PM -02:00PM: HTML5 and Java: Opening the Door to New Possibilities
- 02:30PM -03:30PM: The Next Big Java Virtual Machine Language
- 02:30PM -03:30PM: Funky Java, Objective Scala
- 04:00PM -05:00PM: Developing Java TV Applications with LWUIT for DTVi-J
- 07:30PM -08:15PM: Java SE Platform Q&A BOF
Tuesday: (full schedule listing)
- 08:00AM -09:00AM: Systems Architecture Is Not Network Topology: Connecting the Consumer Device
- 08:00AM -09:00AM: Augmented Reality on Mobile Phones with Java ME
- 09:30AM -10:30AM: Bringing Web Widgets to MSA-Empowered Phones
- 01:00PM -02:00PM: BD-J: Behind the Scenes with Blu-ray
- 01:00PM -02:00PM: Java SE for Embedded Meets Oracle Berkeley DB at the Edge
- 06:00PM -06:45PM: Blu-ray APIs for Stereoscopic 3D
- 06:00PM -06:45PM: Meet the Java Posse
- 07:00PM -07:45PM: OpenJDK BOF
- 07:00PM -07:45PM: Java Community Process: What You Like and What You Don’t Like
- 07:00PM -07:45PM: Java ME Checkpoint: Current Status and Future
- 08:00PM -08:45PM: LWUIT Cheat Sheet: How to Optimize Your LWUIT-Based Java ME Applications
- 09:00PM -09:45PM: Java ME for Emerging Markets and the Developing World
Wednesday: (full schedule listing)
- 11:30AM -12:30PM: Mobile Apps: Where Do We Go from Here?
- 11:30AM -12:30PM: Developing for Mobile Devices: Oracle Application Development Framework and Java
- 01:00PM -02:00PM: Polyglot Programming in the Java Virtual Machine (JVM)
- 01:00PM -02:00PM: Using Capabilities of the Java ME Platform from Web Applications
- 01:00PM -02:00PM: Techniques, Benefits, and Best Practices for Using Java in Embedded Devices
- 02:15PM -03:00PM: Apache Harmony: An Open Innovation
Thursday: (full schedule listing)
- 12:30PM -01:30PM: Spice Up Your Blu-ray Home Video with Java
Hands-on Labs: (search Schedule Builder with session type ‘Hands-on Lab’ for full listing)
- Wednesday, 10:00AM: Sun SPOT Sensor Network Application Architecture Lab
- Thursday, 12:30PM: Spice Up Your Blu-ray Home Video with Java
- Thursday, 03:30PM: Where My Friends Are: Java ME Location API in Practice
And if you’re into Rich Internet Applications, check out Stephen Chin’s JavaOne Expert RIA Track.
A few days ago JavaFX 1.3 as well as NetBeans 6.9 Beta were released, featuring a host of significant improvements in many areas. I won’t be covering all the the changes but will highlight the most important ones and provide pointers to more information.
So, let’s dive in:
JavaFX 1.3 improvements:
- New and enhanced support for UI controls, CSS, and programmatic layout
- A native JavaFX font family called “Amble”
- Support for the development of TV applications, including a new TV emulator
- Enhancements for mobile applications, with the availability of the mobile emulator on the Mac platform
- Support and improved editing features in NetBeans IDE 6.9 Beta
- New features and enhanced performance in JavaFX Production Suite
- Bind performance: 2-3x faster
- Applet start-up time: 20% faster (with Java SE 6u18+)
- Text Animation: 5-10x faster (frames per second)
- Highly complex animations: up to 10x faster (frames per second)
- Memory usage: 20-33% reduction (real-world apps, with Java SE 6u18+)
- UI Controls: 50% faster, 33%-50% less memory (typical)
For a complete discussion of what’s new in 1.3 see this article on javafx.com.
More information on this release is available:
- Steven Chin has Wayne and Garth present the “JavaFX 1.3 Top 10 Features” on his blog.
- The JavaFX Blog has more details on the release, in particular around performance.
- Check out the the JavaFX 1.3 SDK Release Notes for details on the software development toolchain
- JavaFX 1.2 application will continue to run on the JavaFX 1.3 SDK but if you want to take advantage of the new improvements you should read the JavaFX 1.3 migration guide
- Also, be sure to head over to Jim Weaver’s blog for an impressive demo of a JavaFX-enabled 3D version of Google calendar
- Finally, I wanted to point you to fxexperience, a site by some of the UI designers behind JavaFX – it’s constantly updated with articles, news, and interesting links around JavaFX
NetBeans 6.9 Beta improvements:
- JavaFX Composer to simplify and visualize FX development is now integrated
- JavaFX SDK 1.3
- Support for Equinox and Felix OSGi frameworks in NetBeans Platform
- Spring Framework 3.0 library support
- Rails 3.0 support
- PHP Zend Framework support
- Support for JSR-299, Contexts and Dependency Injection (CDI)
- Additional Enhancements are listed on the NetBeans IDE 6.9 New and Noteworthy page
- 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.