Monday, July 28, 2008

Getting Eclipse to Run on Leopard (with Java6)

Over the weekend, I finally upgraded to Leopard. The upgrade experience was very good; it sucked my backup files (that I had created using SuperDuper) from my attached USB drive and created all the appropriate accounts. WIN! Apart from the impression that since the upgrade I am seeing greater memory consumption than what I saw with Tiger, the Leopard experience has been pleasant. Java 6 installed itself sometime after the upgrade, but it wasn't made the default JDK. Setting that was as easy as creating a symlink:

/System/Library/Frameworks/JavaVM.framework/Versions> ln -s 1.6 CurrentJDK

However, Eclipse wouldn't launch after making this change.

Eclipse
Uploaded with plasq's Skitch!

With Dean Wette's help, I was able to sort this out. I edited:

[eclipse_home]/Eclipse.app/Contents/MacOS/eclipse.ini

And added:

-vm
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java

Launching Eclipse now uses the 1.5 version of the Java executable, and everything works. While I was trying the above, I had it as '-vm=/System...', but this did not work. For some reason, the newline between -vm and the path was important.

Monday, July 21, 2008

A redneck poll

I had a debate with friends over the weekend about whether rednecks outnumbered non-rednecks in the United States, which unfortunately ended inconclusively. So in the interest of gathering more data, I would like to pose the question to anyone with an internet connection. The following is a two-part poll (asked as one two-part question because the free polling system I am using distinguishes between polls and surveys by the number of questions allowed and only polls - which are restricted to a single question and answer - are free and allow unlimited responses). Please answer according to your best judgement.


Tuesday, July 01, 2008

Screencasting...

Over the past year, I have been working (in my free time) on a screencasting site that is finally out there: http://screencastic.com. My intention for the site is to offer high-quality screencasts on par with the great stuff coming out of Railscasts.com, peepcode.com, and elsewhere. The initial content includes JRuby/Swing screencasts, one on the Cheri library for JRuby and the other on Monkeybars, though the site will add content over time in a lot of different technical topics.