Wednesday, May 7, 2008

Desktop Cube & Netbeans Install

If you have Ubuntu, there's one thing you MUST do, and that's sit in the front row of a boring lecture with your laptop open and make it a point of using applications on ALL four faces of your Ubuntu cube. This way, you'll reach optimum distraction levels with the people sitting behind you.

They changed it up on me in Hardy Heron. Used to, to get your cube working, you'd install "compiz-config-settings-manager," but now it's called "ccsm."

There's also a new settings manager, simple-ccsm, but I still like the thoroughness of the fully featured one.

The Cube in Action


Netbeans in Ubuntu
With Hardy Heron, Sun has ported Netbeans into the official Ubuntu repository! As luck would have it, I just got a project that requires viewing some mock-ups inside it, so this means my Ubuntu relationship is meant to be.


Woops, a fishy error occurred while I tried to run it for the first time, saying something about specifying the JDKHome:
However, it says something about specifying the --jdkhome option, so I looked it up my openjdk's path in the Synaptic Package Manager and started it with that path specified, and voila! So to get past this, make sure you run netbeans like so:
netbeans --jdkhome /usr/lib/jvm/java-6-openjdk
Note: your jdk might be in a different directory. If so, do what I did to find it, just open synaptic package manager in System > Administration > Synaptic Package Manager, and look for a package with jdk in the name. More than likely it will be installed already - just look at its properties (right click) and look under the installed files tab for something ending in "/lib/tools.jar," and then you know that directory before lib is the 'home' you want.

3 comments:

bsdpunk said...

You crazy college kid's and your java. Awesome blog though, really.

union said...

I had/have the same error.

I opened bug report, so hopefully in next version (6.1) this will be fixed.

https://bugs.launchpad.net/ubuntu/+source/netbeans/+bug/254587

Chris "Jesdisciple" said...
This comment has been removed by the author.