Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BananaPi Java update
18-07-2015, 21:13 (This post was last modified: 19-07-2015 09:11 by bodel007.)
Post: #1
BananaPi Java update
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!
Find all posts by this user
Quote this message in a reply
19-07-2015, 23:04
Post: #2
RE: BananaPi Java update
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)