How can I install the Java Development Kit on a PowerBook G4 running Debian Linux?
-
I have a PowerBook G4 running Debian Linux. It is not intel based but a powerpc. I wanted to install Eclipse and some other tools but stuck at not being able to get the JDK on it. Here is my question on stackoverflow that has a copy of the errors in the terminal. http://stackoverflow.com/questions/20938923/oracle-java7-installer-not-installing-on-powerbook-g4-running-debian/20939137?noredirect=1#20939137 Can someone help me with a concise set of bullet points to how to get it running. Ihave tried pretty much every solution on the first three pages of Google results.And apparently there is a step that I am missing. I ended up on this page with Oracle, http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html but not sure how to select the download since they all appear to be for newer systems.
-
Answer:
There's been a big ongoing effort to port OpenJDK to the PowerPC/Linux platform: https://wiki.openjdk.java.net/display/PPCAIXPort You should be able to download and install the precompiled archive they provide there: DOWNLOAD THIS: http://openjdkpower.osuosl.org/OpenJDK/download/bootstrap/openjdk1.7.0-ppc-aix-port-linux-ppc64-b03.tar.bz2 Just in case that's not outdated, I got the link from the README-ppc.html file included with http://hg.openjdk.java.net/ppc-aix-port/jdk7u/archive/tip.zip which I grabbed off this page the Wiki pointed me to: http://hg.openjdk.java.net/ppc-aix-port/jdk7u Okay, so now you extract that, probably in your home directory, and then add these lines at the end of your .bashrc: export PATH=/home/jgallardo/openjdk1.7.0-ppc-aix-port-b03/bin:$PATH export JAVA_HOME=/home/jgallardo/openjdk1.7.0-ppc-aix-port-b03 Might've got your username wrong, but, with that, open a new terminal, and whenever you type java -version you should see the version of your java executable. I believe Eclipse looks for that JAVA_HOME variable too, to see where the full JDK installation is. Now, in your terminal window, which you opened after modifying your .bashrc (or by typing source ~/.bashrc), you can install Eclipse using Debian's package manager, apt-get: sudo sudo apt-get install eclipse eclipse-jdt That ought to work. Good luck!
Scott Danzig at Quora Visit the source
Related Q & A:
- How can I install node.js module using phantom, instead of npm?Best solution by Stack Overflow
- How can I install ".deb" file for mobile user?Best solution by Ask Ubuntu
- How can I install my Epson stylus c45?Best solution by Yahoo! Answers
- How can I install MSN on Linux?Best solution by addictivetips.com
- How can I install a new firmware or update to my PSP?Best solution by wikihow.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.