You are currently browsing the tag archive for the ‘NetBeans’ tag.

Demo sample

Now that Java ME 8 is released a lot of people trying it out and are asking for sample code and demos. We’ve got you covered:

1) The first place you should go is the ”Java ME SDK 8 Developer Guide“. This is your one-stop-shop for getting started with Java ME 8 development on your PC (no external hardware required). Chapter 2 is “Creating a Java ME SDK 8 Sample Project”, and part IV is all about “Sample Applications”.

2) Next, you will want to browse the “Java ME Embedded Developer Guide”, which covers important topics for developing Java ME 8 embedded applications. Chapter 5 talks about “General Purpose I/O”, chapter 6 about “Working with the I2C Bus”, and chapter 7 about “The Serial Peripheral Interface (SPI) Bus”.

3) The Java ME SDK 8 comes with a whole set of ready-to-go demo applications. After installing the Java ME SDK 8 and NetBeans 8, start up NetBeans and make sure the “Java ME SDK Demos” plug-in is installed and active (this should be the default case). Then, create a new project and in the New Project dialog look under the “Samples > Java ME SDK 8.0” folder for a number of complete Java ME Embedded 8 demo projects.

4) Finally, check out the “Getting Started Guide (Raspberry Pi)” and the “Getting Started Guide (Qualcomm IoE)” for information on how to run apps on these platforms, including access to real-world peripherals via GPIO, I2C, SPI, UART, and others.

We are also working on additional demos and sample code – stay tuned for more information on this.

And remember to head over to the OTN Java ME Embedded forum to browse and ask questions – we are monitoring this forum on a regular basis.


— Terrence

Newsflash 757208

Obfuscation is a really helpful mechanism to reduce the size of your Java ME Embedded application code to a minimum.

When developing Java embedded applications using the Java ME SDK  3.3 with NetBeans you would normally be able to easily install the ProGuard obfuscator via the NetBeans ProGuard plugin and then set it to automatically obfuscate every project build.

However, for NetBeans 7.3 a licensing incompatibly prevents the ProGuard plugin to be available directly on the NetBeans 7.3 update center. This issue has been fixed for the upcoming NetBeans 7.4.

If you want to use ProGuard with NetBeans 7.3 there is an easy workaround described on the NetBeans bug tracker: Scroll down to the end of the thread to see:


For now it is possible to use following workaround for proguard:

1. Download proguard.jar from
2. Insert following line in {YOUR_PROJECT_DIR}/nbproject/private/ OR {NB_USERDIR}/ (no need to insert in both):


(e.g. obfuscator.classpath=C:\\JavaME\\Proguard\\proguard.jar)


Hope this helps. Cheers,

— Terrence



It’s Devoxx time again!

If you’re at Devoxx, sure to check the schedule for a whole range of exciting Java and Oracle topics:

JavaFX, OpenJDK, JDK 7, Java Embedded, Java EE, JCP, NetBeans, Greenfoot, as well as Java Duchess and JUG meetings. Talks, labs, BOFs, demos, and more.

Embedded Java will also play a prominent role. Want to see Java on Raspberry Pi in action? Find out why what’s happening with Java in IoT (Internet of Things)? Play with NetBeans and Tinkerforge?

Check out the full Devoxx schedule.

Why do I think Java has the most exciting part of its future still ahead of it? Catch up with me at my talk on Wed 14:00:  “Small, Smart, Connected: Java in the Internet of Things”.


— Terrence

nb-rs232.png As reported four weeks ago, Ingmar Hendriks has been working on improving integration of microcontroller development with the NetBeans IDE.

Ingmar just released the new RS232 communication plugin for NetBeans, called nbplugin-avr. This plugin features sending, receiving, displaying, and logging of serial data from within the NetBeans IDE as well as setting configuration parameters and some handy UI features. The plugin also offers a public API which allows other NetBeans modules to leverage RS232 communications.

Next, Ingmar will be working on adding support for AVR/Ardunio microcontrollers in the NetBeans IDE. Great stuff – this brings a new class of development targets and better integration to NetBeans!


— Terrence


Just back from Brazil and no time to catch my breath … so much happening:

  • JavaOne Latin America was a blast – so much enthusiasm in the developer community! Check out some of the videos and podcasts, including the JavaOne Community Keynote, OTN interviews with a variety of Java luminaries, as well as the Java Spotlight Podcast #60: JavaOne Latin America: Videos and Podcasts
  • Java 7u2 has been released, featuring an updated VM, support for Oracle Solaris 11, support for Firefox 5 and later, and security fixes. Also, JavaFX 2.0.2 is now included with Java SE to make developing and running JavaFX applications even easier: Java SE 7u2 Release Notes, JavaFX 2.0.2 Release Notes
  • Aligning with mainline JDK development, Java SE Embedded 7u2 has been released as well. This release includes new ports to Linux on PPC and performance improvements on ARM systems by 20-40%. Also, Oracle intends to port JavaFX to Linux on ARM in order to support a broad range of platforms from mid-range embedded all the way to desktops: Henrik’s blog on the Java SE Embedded 7u2 release.
  • Lots of activity around JavaFX as well – interest is really taking off. Point in case: A new project, eFX, has been started on aiming to create a generic application framework for JavaFX 2.0 based on the NetBeans platform: Geertjan’s blog on eFX
  • Finally, OTN put together a list of their “Most Popular Tech Articles of 2011”. Java topics, from Java SE 7 and 8 features, Java EE 6, JSF, and JavaFX dominate the list. Have a look: Our Most Popular Tech Articles of 2011


— Terrence

javame-sdk-profiler.pngAdmittedly, I am a bit late with this announcement. The Java ME SDK 3.0.5 was, in fact, released 3 weeks ago – but I haven’t had the time to blog about it.

Despite its minor number increment (from 3.0 to 3.0.5) there are substantial changes and improvements in the new Java ME SDK version, including:

  • Netbeans integration: All Java ME tools are now implemented as NetBeans plugins
  • LWUIT 1.5 support, including the new GUI Builder
  • Ability to use the NetBeans CPU profiling for Java ME applications and even VM classes
  • Network Monitor supports monitoring connections such as SIP, Bluetooth, and OBEX, and more
  • New tracing functionality for monitor events, method invocation, garbage collection, and more
  • Support for multiple Device Managers
  • WURFL device database updated with more than 1000 new devices
  • New or updated JSR support for a number of APIs

Definitely worth checking out. Find out more and download directly at the Java ME SDK OTN page.


— Terrence


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!


— Terrence

NetBeans-7.0.1.pngHot off the press: NetBeans IDE 7.0.1 has just been released.

Beyond the numerous new features of NetBeans IDE 7.0, version 7.0.1 adds full JDK 7 support, integration of recent patches, and performance improvements. Find all the info and download here.

Also, listen in to our recent Java Spotlight Podcast episode 41, which features Geertjan Wielenga, Principal Product Manager for NetNeans.


— Terrence

Screen shot 2011-06-06 at 10.54.56.png A couple of days ago I blogged about the release of a new embedded Java product called “Oracle Java ME Embedded Client”. The interest has been tremendous, and I plan to follow up with more information and a webinar on this topic.

In the meantime, I would like to point your attention to another embedded Java product: Java SE for Embedded. Unlike the Oracle Java ME Embedded Client, which is a Java ME (CDC)-based runtime, the Java SE for Embedded product is a full-blown Java SE 6 runtime, optimized for embedded use in a number of important ways (footprint, memory, power, platform support, and more).

My colleague, Jim Conners, has created an excellent webcast called “Java SE Embedded Development Made Easy”. It consists of two 15-minute video with slides and demos covering all the basics of embedded Java SE development:

  • Embedded Microprocessor Trends, covering ARM, Intel, and Freescale
  • Getting Started with the SheevaPlug
  • The Java SE Embedded Runtime Environment: Downloading and Installing
  • Running Apache Tomcat on the SheevaPlug
  • Installing and Setting Up NetBeans for Embedded Java Development
  • Running the ScoreBoard Application locally and on the SheevaPlug
  • Live, Remote Debugging of the ScoreBoard Application
  • Monitoring the Remote ScoreBoard Application using JMX and JConsole

Once you’re on Jim’s blog you should also check out his entry “The Unofficial Java SE Embedded SDK”, which talks about using your favorite desktop Java IDE for embedded Java development.


— Terrence


Amazing … The Java Spotlight Podcast is only 6 months old but we just hit 100,000 downloads! Thanks to everyone for tuning in, and keep the comments and suggestions coming.

If you haven’t had a chance yet, check these latest episodes:

  • Episode 26: John Jullion-Ceccarelli on the Netbeans 7.0 Release
  • Episode 25: JavaOne Russia
  • Episode 24: Joe Darcy on Project Coin
  • Episode 23: Vinicius Senger – Netbeans Dream Team on embedded development



— Terrence

Enter your email address to subscribe to this blog

Join 180 other followers

Twitter Updates

August 2020

Blog Stats

  • 280,276 hits