IBM makes a Java SDK for PowerPC - In my experience, it has much better performance than open JDK. It can be a bit of a pain to set up though... You will need to manually add it to update-alternatives.
Here is a link:http://www.ibm.com/developerworks/java/ ... html#java6
The download comes in the form of a .bin file. I had to use chmod +x to make it executable:
chmod +x ibm-java-sdk-6.0-10.1-linux-ppc.bin
Then, once it was finished extracting the SDK, I did the following:*Replace <MY_JAVASDK_PATH> with the path you extract the .bin file to.
sudo update-alternatives: --install /usr/bin/java java /<MY_JAVASDK_PATH>/bin/java 3
sudo update-alternatives: --install /usr/bin/javac javac /<MY_JAVASDK_PATH>/bin/javac 3
sudo update-alternatives: --install /usr/bin/javaws javaws /<MY_JAVASDK_PATH>/bin/javaws 3
after adding them to update alternatives, I then selected them with the following command and selecting the appropriate versions:
sudo update-alternatives --config java
sudo update-alternatives --config javac
sudo update-alternatives --config javaws
After that I added the following to the end of my ~/.zshrc file ( Note: edit ~/.bashrc if you don't use zsh ) - This step is probably only neccessary if you want to write some java code:
export JAVA_HOME= /<MY_JAVASDK_PATH>/bin
#this will instruct jit to compile code for PPC604 aka G4