Wednesday, December 18, 2013

Eclipse does not contain the JNI_CreateJavaVM - Mac OS X (10.9) Mavericks

Based on a recent experience, I thought it would be useful to post this blog for others who might also be struggling with this particular error message. After the Mac OS X Mavericks (10.9) upgrade, I hit the following error message from Eclipse Kepler (4.3.1) 32-bit
The JVM shared library "/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib" does not contain the JNI_CreateJavaVM symbol.
Also, there is another error message you might receive from Eclipse:
To open “” you need a Java SE 6 runtime. Would you like to install one now?
I read through this bug report at - and that gave me some ideas as to how to workaround my Eclipse on Mavericks issues. Easy solution, download & install the Oracle JDK 7 and make sure to use the 64-bit version of Kepler. I have had Java 7 on the machine for a while and Java 8. I have historically used the 32-bit version of Eclipse which worked great with Java 6 which was the default from the Mac OS X perspective. Here is what I think happened, Mac OS X Lion (10.7) included Apple's Java 6 JRE, with Mac OS X Mavericks (10.9) it is no longer included. The Apple Java 6 supported 32-bit & 64-bit with a command line switch, Eclipse Juno & Kepler were seemingly able to handle that scenario. Now, Java 7 comes directly from Oracle and is installed separately on my box. In order to address the "you need a Java SE 6 runtime" specifically, I also needed to update your Info.plist in the JDK7 at /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Info.plist with the following in the JVMCapabilities section:
Once the changes to Info.plist have been made you will need to reboot for it to take effect. Some other settings that might be important: JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home And I do not recall making any changes to Eclipse.ini that mattered, what follows is what I have right now on my machine, provided in case there is something tweaked in your installation. EDIT: It turns out that I did need to update my eclipse.ini, eclipse was picking up a Java 8 installation that I had and I needed to force it back to Java 7 as it was causing some other problems. Eclipse.ini for the 64-bit installation of Eclipse (underneath
Also, I did make the change recommended at It should be noted that you won't actually see something named "gatekeeper" in the UI.
Hopefully that helps, I spent plenty of time using Google looking at Bugzilla and StackOverflow entries but could not find something like this blog post that helped me address both issues (64-bit required, missing Java SE 6 runtime).

Tuesday, November 26, 2013

Personal Technology Radar: How to keep up?

I gave a short presentation/demonstration to NCSU Computer Science students last night, it was full of various buzzwords, thoughts, random associations, high speed talking, etc. :-)

I focused on things like Aerogear (SDKs for mobile app dev, Push Notifications, storage), Vert.x (polyglot async services for the JVM) and showed off JBoss Tools for mobile app dev (

One fellow posed a very interesting question to me, "how do you keep up?" and what follows was my off-the-cuff response.


  • I am no longer able to follow news sites such as HackerNews
  • I am no longer to follow RSS feeds
  • I am no longer to keep up with the blogs (via RSS) that show up in my Flipboard account and
  • I am unable to read even 10% of the messages that follow through Google+ or Twitter, which is where I follow key colleagues and industry experts.
Basically, I am unable to consume the "push" news, I am only able to consume the topics I seek out.

So, how does a topic show up on my personal technology radar, I follow conference agendas. If you simply look at key conference agendas and then drill-down on those topics yourself it is pretty easy to keep your finger on the pulse of things. Conferences that I have participated in and always enjoy attending when I can are:

and we, Red Hat folks, are working on a really cool developer conference ourselves - watch the twitter stream for that announcement. Plus, I am also very interested in UberConf and The Rich Web Experience - anything that Jay Zimmerman is putting on.

There is one slight disadvantage of using this particular filtering mechanism, your feeling for how important a topic is can be slanted based on the abilities of the associated speakers. For instance, someone like James Ward, who is one of the best developer advocates in our industry is not only a great public speaker but he is also fairly high volume - therefore you may be more inclined to delve deeper into one of his topics. The same could be said for many of the excellent presenters that show up for these conferences.

There is another more significant disadvantage, if a particular innovation/tool/technique has no evangelist, nobody to talk about it, is so "unpopular" that it does not show up at a conference...well then it tends to miss my radar. So I do have a personal bias towards "popular" topics, ones with buzz, ones with somebody willing to talk about it in public. I allow for this bias because, at the end-of-the-day, I have found that "popular" topics are more likely to have staying power over the course of several years.

You would rather not invest dozens if not hundreds of hours in learning a new thing to only have that item fade into history with nobody left using it. Granted, learning for learning sake is still a very good thing. :-)