Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Note: Later in 2013 the Pi Foundation announced Raspbian now ships with Oracle hard-float.]
- The oracle 8 preview works for me, thus far. Compiling is slow on the pi, surprise, but the jre seems to run quite fast once it loads. I think bearbin's answer is pretty definitive but if you want a simple way to try oracle:
- Download. You get a .tar.gz file, which is a gzipped tarball.
- Put the .tar.gz in /usr/local and unpack it: tar -xzf oracle8-blah-blah.tar.gz. This will create a directory with everything in it. You can rename the directory, mv oracle-jdk-whatever jdk1.8.0. Everything in there is self-contained.
- Put the bin/ directory at the beginning of your executable search $PATH. If there are any other javas installed, that will make this one take precedence: PATH=/usr/local/jdk1.8.0/bin:$PATH.
- That will only work for your current shell. To make it the default from now on, add this to ~/.profile:
- export PATH=/usr/local/jdk1.8.0/bin:$PATH
- Note you must log in again to make .profile effective. However, if you are using lightdm, the default GUI login won't do this, see here for a solution.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement