I have installed NetBeans 6.8 on my Mac OS X (Leopard) system and use the Kenai plugin for this platform to create an Android application. The trouble is that I cannot run the Android emulator from NetBeans logged in to the Mac as a normal user. I can run the emulator from the command line and the Eclipse environment when logged in as root. When I try to run NetBeans as root, it displays a message indicating many of components of the Android plugin cannot be loaded because the root user somehow links to Java 1.5 and the plugin needs Java 1.6.
There are 3 solutions to this problem as far as I can see:
- Make the root user environment link to Java 1.6 and use NetBeans as root.
- Coerce NetBeans to su to root before running the Emulator.
- Stick to using Eclipse for Android development.
If anyone knows how how to do 1 or 2 I would appreciate getting advice from you. Thanks in advance.