Tuesday, July 21, 2009

The new Netbeans look on OS X - Part II

Earlier, I had mentioned about the impressive UI improvements for OSX in the latest release of Netbeans( "The new Netbeans look on OS X" )
If you are a look and feel freak like me, you will notice that the toolbar is not just right under OS X 10.5, when running with default java 1.6, which is "1.6.0_13". The toolbar does not appear as "unified" and it will sooner or later turn out in to an eye-sore.
The way to work around this is to edit your netbeans.conf and tell netbeans to use JDK 1.5 instead of 1.6 for running. Put the following lines in to netbeans.conf (Probably at /Applications/NetBeans/NetBeans\ 6.7.app/Contents/Resources/NetBeans/etc/netbeans.conf)

netbeans_jdkhome="/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/"

This will use your 1.5 version of Java, and it gives the right Unified toolbar look to netbeans. You can always set project specific JDK for each project in Netbeans.
So, here are couple of screen shots for comparisons.
1) Running with Jdk 1.6, non-unified
2) Running with Jdk 1.5, unified

If you don't want to edit the netbeans.conf file, just set your default java preference using "Java preferences" dialog in OS X. Select Java SE 5 as your default application Java, and you are all set.

Monday, July 13, 2009

Ubuntu 9.04 on OS X via virtual box

Virtualization and virtual machines are a great concept and it is here to stay. I tried installing virtual box (from Sun) on my OS X 10.5, and the experience had been smooth, smoother and the smoothest. I am running Ubuntu on top of my Mac OS, with full screen enabled. For tips to enable fullscreen, visit this link. Though it was written for vista, applies to other OSs as well.
The next step was to bridge the network adapter to use the wired connection en0 on mac.
For this,
  • Shut down your guest OS (ubuntu)
  • Click Network option in the details tab of Sun Virtualbox
  • It will show a small dialog with Adapter1 as selected tab as below
Change the settings to look like what I have in the above picture.

Also, after installing - "Vbox additions" I have noticed the automatic mouse capture and release whenever you move your mouse in and out of the Virtual guest OS window - too cool.
Oh yes, sound works right off the box.

Here is a screen capture of Ubuntu running on OS X

Thursday, July 9, 2009

Chrome OS? what the heck?

Headline in one of India's English news paper read : "Google to challenge Microsoft with new operating system" - as I read the piece I had this strange feeling of mixed emotion that ranged from being pissed-off to starting to LMAO. First off, Chrome OS targeted for netbooks/nettops can't even be called an operating system - it is a shame to the years and years of human labor and hard work involved in developing other great OSs. It may be an operating environment. And god, it is going to be based on chrome? well, who uses chrome? how soon does google think to capture the internet browser market share from IE/Safari and Firefox? - and what is the market share of netbooks? Who even cares? it may be around 5% of the whole computer/mobile device market - I know how many people in India uses netbooks - "0" - that is how many. - Oh well, that is where Google is going to give M$ for a run for its money.
Pissed off both at the Newspaper as well as google's lack of imagination in projecting Chrome OS as the next Microsoft basher....

Wednesday, July 1, 2009

Downloading free software

Life in software development would have sucked without all the free/open tools available from soureforge or code.google.com or even netbeans

But at times your exciting rush to download your favorite tool is cut short by the firewall/proxy server at your work. So, here are two alternatives.

One is source forge mirror that would go under the radar(all source forge projects are indexed and served here)

Another is netbeans FTP sites just in case your firewall prohibits download sites