MinimServer Forum
BananaPi Java update - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: BananaPi Java update (/showthread.php?tid=2562)



BananaPi Java update - bodel007 - 18-07-2015 21:13

Hello,

I'm trying to install MinimServer on a Banana Pi running Raspbian and can't get past the Java version.

Raspbian is up to date but I get Java version 1.6.

So far I've tried:
sudo apt-get install oracle-java7-jdk
sudo apt-get install openjdk-7-jre
and
bananapi@lemaker ~ $ sudo apt-get install oracle-java8-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
oracle-java8-jdk is already the newest version.

But still:
bananapi@lemaker ~ $ java -version
java version "1.6.0_35"
OpenJDK Runtime Environment (IcedTea6 1.13.7) (6b35-1.13.7-1~deb7u1+rpi1)
OpenJDK Zero VM (build 23.25-b01, mixed mode)

I'm pretty much a beginner with Linux. What can I try next?
Thanks for any help.

**Update**
I was able to change the Java version with:
sudo update-alternatives --config java

Selected Java 7, and now everything seems to be running OK!


RE: BananaPi Java update - simoncn - 19-07-2015 23:04

The OpenJDK Zero version of Java for ARM is very slow. You should use Oracle Java 7 or 8 in order to get reasonable performance from MinimServer. For the Raspberry Pi, the current Raspbian image includes a preinstalled version of Oracle Java. It sounds like for some reason you are not getting this preinstalled Oracle Java when you install Raspbian on the Banana Pi.