Tuesday, December 15, 2009

Using Multiple Java versions

For building Katta, I needed to use Java 6 (compilation did not work with Java 1.5). Now I have two java versions installed on my dev laptop. To make use of Java 6, I just needed to set JAVA_HOME and PATH appropriately (export PATH=$JAVA_HOME/bin:$PATH) and then the compilation worked fine.

No comments: