Getting everything working on linux java 1.6