Due to the fact that my SD Card on which I installed the Raspbian OS is only 4Gb and I've already installed lots of other stuff, this is the Java of choice for me at the moment. Maybe later on after I'll install my OS on another bigger SD Card (don't forget that the Oracle JVM 7 is not installable on the hard-float Raspian OS, which is the one that I've got installed on my SD Card. To be able to install this JVM I'll have to use a soft-float OS, probably Debian).
- SSH/VNC to the Pi, logging in as 'pi'
- Run "ln -s /mnt/projects" to create a projects folder in my home directory that's actually safely tucked away on my Synology.
- Then I installed the OpenJDK version 6 (as stated above, I'll save JDK 7 for another post as that's a whole different theme): run "sudo apt-get install openjdk-6-jdk"
- It took a while, but when it was done, "which java" gave me:
- and "java -version" gave:
- Afterwards I run "sudo apt-get clean", to remove the cached installation files from the various tools I had installed - I found this saved about 50Mb of space, so a not inconsiderable saving on such a small file system.
Everything went real smooth. No problems there. Now only the flashplayer had to be installed. Unfortunately Adobe does not support it for the ARM processors. There is absolutely no way of getting Flash for RasPi. Adobe is a closed-source developer and the only version they made for ARM CPUs is the Android one, which requires ARMv7 CPU with NEON extension. That makes RasPi unable to run it even if someone ports Android. Bastards...
Instead I installed an old friend of mine: GNASH, which is a flashplayer look-alike, ie, it allows flash pages to work on any kind of browser without having installed the flashplayer plug-in.
Installation of the Gnash plugin using:
1) Type “apt-get install gnash” and accept anything you’re maybe missing;
2) Now type “apt-get install browser-plugin-gnash”.
Now the standard test using the site http://ce.uwex.edu/techsupport/flashtest.aspx on midori:
Done! Flash pages can now be used.
I also installed Iceweasel (Firefox for Linux...), because it's a more powerful browser than the Midori:
sudo apt-get install iceweasel browser-plugin-gnash
Now I need to overclock the Pi, in order to improve the performance, but that's for another post.
And that's that.
Happy hacking. You don’t learn to hack – you hack to learn…