February 4, 2010

Installing Java on the Bubba|Two

Java isn't very fast on the Bubba|Two, but if you still want to, here's how I did it.

Sun doesn't seem to have a JDK for power pc (the embedded section of the
java site was so bloated that I gave up on it), but IBM does.
I downloaded
32-bit IBM POWER SR-7 from

http://www.ibm.com/developerworks/java/jdk/linux/download.html
(You need to registrer for an account, just fill in some random noise)

As root or sudo:
apt-get install libstdc++5

Then unpack the file you downloaded (tar -xvf filename), and move it
into a suitable place, I moved it to /usr/local/java/jdk.


Add JAVA_HOME to your shell or system wide (/etc/profile)

JAVA_HOME="/usr/local/java/jdk"
export JAVA_HOME

Optional add $JAVA_HOME/bin to path:
PATH=$PATH:$JAVA_HOME/bin
export PATH

java -version should now work.

No comments:

Post a Comment