Anyway to install Java on the Wandboard Quad?

704 views
Skip to first unread message

patryk zdunczyk

unread,
Aug 16, 2013, 1:43:05 PM8/16/13
to wand...@googlegroups.com
Out of curiosity since i have the quad core model with 2 gb ram, i would like to test how well it can perform as a server for MineCraft! But when i want to install the packages for Open Jdk 6 i get this message.


linaro@wandboard:~$ sudo apt-get -f install openjdk-6-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libglib2.0-bin : Depends: libglib2.0-0 (= 2.32.3-0ubuntu1) but 2.30.0-0ubuntu4linaro9 is to be installed
 libglib2.0-dev : Depends: libglib2.0-bin (= 2.30.0-0ubuntu4linaro9) but 2.32.3-0ubuntu1 is to be installed
 openjdk-6-jre-headless : Depends: openjdk-6-jre-lib (>= 6b27-1.12.6-1ubuntu0.12.04.2) but it is not going to be installed
                          Depends: ca-certificates-java but it is not going to be installed
                          Depends: tzdata-java but it is not going to be installed
                          Depends: java-common (>= 0.28) but it is not going to be installed
                          Depends: libnss3-1d (>= 3.12.9+ckbi-1.82-0ubuntu4) but it is not going to be installed
                          Recommends: icedtea-6-jre-cacao (= 6b27-1.12.6-1ubuntu0.12.04.2) but it is not going to be installed
                          Recommends: icedtea-6-jre-jamvm (= 6b27-1.12.6-1ubuntu0.12.04.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
linaro@wandboard:~$

Any help would be appreciated!

nizamov...@gmail.com

unread,
Aug 16, 2013, 3:59:14 PM8/16/13
to wand...@googlegroups.com
Which distribution are you using? It looks like a mix of ubuntu with linaro packages. In pure ubuntu I had no problems installing java.

Best regards,

patryk zdunczyk

unread,
Aug 16, 2013, 4:37:29 PM8/16/13
to wand...@googlegroups.com

How does one install pure ubuntu?

Otavio Salvador

unread,
Aug 16, 2013, 11:56:31 PM8/16/13
to Wandboard Discussion Group
On Fri, Aug 16, 2013 at 2:43 PM, patryk zdunczyk
<polish...@gmail.com> wrote:
> Out of curiosity since i have the quad core model with 2 gb ram, i would
> like to test how well it can perform as a server for MineCraft! But when i
> want to install the packages for Open Jdk 6 i get this message.

I just prepared a demo for a customer using Wandboard Dual and Yocto.
It has Java and it runs just fine.

If you intend to try it, use Yocto and meta-java layer.

Regards,

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750

nizamov...@gmail.com

unread,
Aug 17, 2013, 12:22:25 PM8/17/13
to wand...@googlegroups.com

Am Freitag, 16. August 2013 22:37:29 UTC+2 schrieb patryk zdunczyk:

How does one install pure ubuntu?

Hi, I installed ubuntu 13.04 according to the instructions given at https://www.eewiki.net/display/linuxonarm/Wandboard
Right now I tried to install openjdk-6-jdk on wandboard and it went smooth. Don't know about official wandboard ubuntu images - is it the one which you are using?

Best regards,

Daan Gerits

unread,
Aug 17, 2013, 2:56:42 PM8/17/13
to wand...@googlegroups.com
Hey, you might have got enough feedback yet, but just to let you know, I'm running 6 wandboards with oracle JDK8 ea and performing well with Hadoop on them.

D.

Mike Panetta

unread,
Aug 17, 2013, 3:33:36 PM8/17/13
to wand...@googlegroups.com
Donno if you care that it be the open source JVM or not, but I use the official jdk8 one to run my minecraft server on my dual:

https://jdk8.java.net/download.html

It runs very very well.

Mike

patryk zdunczyk

unread,
Aug 17, 2013, 4:08:38 PM8/17/13
to wand...@googlegroups.com
Yea i tried running the server on jdk 7 with horrible performance, so i will have to purge the previous install.

patryk zdunczyk

unread,
Aug 17, 2013, 4:34:18 PM8/17/13
to wand...@googlegroups.com
What was your startup script for the server?


On Saturday, August 17, 2013 3:33:36 PM UTC-4, Mike Panetta wrote:

patryk zdunczyk

unread,
Aug 17, 2013, 4:35:15 PM8/17/13
to wand...@googlegroups.com
And did you use the arm or full 32 bit installs of Java?


On Saturday, August 17, 2013 3:33:36 PM UTC-4, Mike Panetta wrote:

Mike Panetta

unread,
Aug 18, 2013, 1:40:15 AM8/18/13
to wand...@googlegroups.com


On Saturday, August 17, 2013 4:35:15 PM UTC-4, patryk zdunczyk wrote:
And did you use the arm or full 32 bit installs of Java?

I use the Linux ARMv6/7 VFP, HardFP ABI release.  Here is my startup script:


#!/bin/sh
NUM_CPUS=$(awk '/processor/ { N_CPUS=$3 } END { print N_CPUS+1 }' /proc/cpuinfo)

GC_OPTS="-XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -XX:ParallelGCThreads=${NUM_CPUS} -Xloggc:server_gc.log -XX:+AggressiveOpts"


#../jdk1.8.0/bin/java -Xmx768M -Xms768M ${GC_OPTS} -jar Tekkit.jar nogui
../jdk1.8.0/bin/java -Xmx768M -Xms768M ${GC_OPTS} -jar mcpc-plus-151compat-1.5.2-R1.1-forge738-C610.jar nogui


Hope this helps. 

Thanks,
Mike

patryk zdunczyk

unread,
Aug 18, 2013, 12:06:45 PM8/18/13
to wand...@googlegroups.com
I keep getting an error, saying java was not found. Is there a specific way of installing JDK 8 on the wand board? I unzipped the JDK 8 arm zip into the OPT folder, then when i try to run the Java version i get an error saying Java is not found. Thanks for all your help Mike!

nizamov...@gmail.com

unread,
Aug 18, 2013, 1:16:42 PM8/18/13
to wand...@googlegroups.com


Am Sonntag, 18. August 2013 18:06:45 UTC+2 schrieb patryk zdunczyk:
I keep getting an error, saying java was not found. Is there a specific way of installing JDK 8 on the wand board? I unzipped the JDK 8 arm zip into the OPT folder, then when i try to run the Java version i get an error saying Java is not found.

It is not a java problem. If you installed java in /opt then you should call it with the correct path, like /opt/bin/java (pay attention to the case).

Best regards,

patryk zdunczyk

unread,
Aug 18, 2013, 2:32:27 PM8/18/13
to wand...@googlegroups.com
Still cant get it to work :/, this is how i attempt to start it up.

linaro@linaro-ubuntu-desktop:~$ opt/jdk1.8.0/bin/java -Xmx768M -Xms768M ${GC_OPTS} -jar Tekkit.jar nogui
-bash: opt/jdk1.8.0/bin/java: No such file or directory
linaro@linaro-ubuntu-desktop:~$

Even though it exists!'

linaro@linaro-ubuntu-desktop:~$ cd /opt
linaro@linaro-ubuntu-desktop:/opt$ ls
jdk1.8.0
linaro@linaro-ubuntu-desktop:/opt$ cd jdk1.8.0
linaro@linaro-ubuntu-desktop:/opt/jdk1.8.0$ ls
COPYRIGHT  README.html                  bin  include  lib  release
LICENSE    THIRDPARTYLICENSEREADME.txt  db   jre      man  src.zip
linaro@linaro-ubuntu-desktop:/opt/jdk1.8.0$ cd bin
linaro@linaro-ubuntu-desktop:/opt/jdk1.8.0/bin$ ls
appletviewer  javac     jdeps       jsadebugd     pack200      servertool
extcheck      javadoc   jhat        jstack        policytool   tnameserv
idlj          javah     jinfo       jstat         rmic         unpack200
jar           javap     jjs         jstatd        rmid         wsgen
jarsigner     jcmd      jmap        keytool       rmiregistry  wsimport
java          jconsole  jps         native2ascii  schemagen    xjc
java-rmi.cgi  jdb       jrunscript  orbd          serialver
linaro@linaro-ubuntu-desktop:/opt/jdk1.8.0/bin$

Catalin Miu

unread,
Aug 18, 2013, 2:40:34 PM8/18/13
to wand...@googlegroups.com
Hi,
you forgot a / before opt/jdk1.8.0/bin/java

you can use tab for autocomplete
KR

KR
Catalin Miu


--
You received this message because you are subscribed to the Google Groups "Wandboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wandboard+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

patryk zdunczyk

unread,
Aug 18, 2013, 3:08:26 PM8/18/13
to wand...@googlegroups.com
I tried that, still no dice... 

linaro@linaro-ubuntu-desktop:/opt/jdk1.8.0/bin$ /opt/jdk1.8.0/bin/java -Xmx768M -Xms768M ${GC_OPTS} -jar Tekkit.jar nogui
-bash: /opt/jdk1.8.0/bin/java: No such file or directory
linaro@linaro-ubuntu-desktop:/opt/jdk1.8.0/bin$

Arcanjo Azrael

unread,
Aug 18, 2013, 3:19:02 PM8/18/13
to wand...@googlegroups.com
Try to put a . before the first /

./opt/jdk********

Leonardo

patryk zdunczyk

unread,
Aug 18, 2013, 3:25:09 PM8/18/13
to wand...@googlegroups.com
Still no dice. Thanks for the input!


On Sunday, August 18, 2013 3:19:02 PM UTC-4, ArchAngel Azrael wrote:
Try to put a . before the first /

./opt/jdk********

Leonardo

On 18/08/2013 16:08, patryk zdunczyk wrote:
I tried that, still no dice... 

lin...@linaro-ubuntu-desktop:/opt/jdk1.8.0/bin$ /opt/jdk1.8.0/bin/java -Xmx768M -Xms768M ${GC_OPTS} -jar Tekkit.jar nogui
-bash: /opt/jdk1.8.0/bin/java: No such file or directory

Mike Panetta

unread,
Aug 18, 2013, 4:27:20 PM8/18/13
to wand...@googlegroups.com
Did you put it in /opt or /OPT like you originally said? Linux paths
are case sensitive...

Since I only installed the JDK8 for minecraft, my path looks like this:

[mike@bonobo mnt]$ ls -l tekkit
total 18548
drwxrwxr-x 8 mike mike 4096 Jul 19 00:28 jdk1.8.0
drwxrwxr-x 11 mike mike 4096 Aug 18 09:49 server
-rw-rw-r-- 1 mike mike 18983146 May 9 00:01 Tekkit_Server_v1.0.6.zip
[mike@bonobo mnt]$

So to run the server from the server directory my path to invoke the
jdk (from the server directory) is
../jdk1.8.0/bin/java

Hope this helps.

Mike

On Sun, Aug 18, 2013 at 3:25 PM, patryk zdunczyk
> You received this message because you are subscribed to a topic in the
> Google Groups "Wandboard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/wandboard/o10ZJVzxKTQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to

Daan Gerits

unread,
Aug 18, 2013, 4:45:08 PM8/18/13
to wand...@googlegroups.com
Just for the obvious, but make sure the java command is executable by doing

chmod 777 /opt/jdk1.8.0/bin/java

It's a long shot ...

if that doesn't work, send the output of 'ls -la /opt/jdk1.8.0' in a post

patryk zdunczyk

unread,
Aug 18, 2013, 5:02:22 PM8/18/13
to wand...@googlegroups.com
/opt

patryk zdunczyk

unread,
Aug 18, 2013, 5:03:41 PM8/18/13
to wand...@googlegroups.com
Still not working, the way i installed it is i just unzipped it to my opt folder, and when i type java it says that i can install certain packages pertaining to Java. 

Mike Panetta

unread,
Aug 18, 2013, 5:05:42 PM8/18/13
to wand...@googlegroups.com
Yeah, can you give us the output of this command please?

ls -la /opt

Should help figure out what is going on...

Thanks,
Mike

On Sun, Aug 18, 2013 at 5:03 PM, patryk zdunczyk

patryk zdunczyk

unread,
Aug 18, 2013, 5:07:27 PM8/18/13
to wand...@googlegroups.com
linaro@linaro-ubuntu-desktop:/opt/jdk1.8.0/bin$ ls -la /opt/jdk1.8.0
total 20176
drwxrwxrwx 8 root root     4096 Aug 18 17:38 .
drwxr-xr-x 3 root root     4096 Aug 18 17:38 ..
-r--r--r-- 1 root root     3244 Aug  8 21:24 COPYRIGHT
-r--r--r-- 1 root root       40 Aug  8 21:24 LICENSE
-r--r--r-- 1 root root    21854 Aug  8 21:24 README.html
-r--r--r-- 1 root root   172135 Aug  8 21:24 THIRDPARTYLICENSEREADME.txt
drwxr-xr-x 2 root root     4096 Aug  8 21:24 bin
drwxr-xr-x 4 root root     4096 Aug  8 21:24 db
drwxr-xr-x 3 root root     4096 Aug  8 21:24 include
drwxr-xr-x 4 root root     4096 Aug  8 21:24 jre
drwxr-xr-x 2 root root     4096 Aug  8 21:23 lib
drwxr-xr-x 4 root root     4096 Aug  8 21:24 man
-rw-r--r-- 1 root root      103 Aug  8 21:24 release
-rw-r--r-- 1 root root 20411083 Aug  8 21:24 src.zip
linaro@linaro-ubuntu-desktop:/opt/jdk1.8.0/bin$

patryk zdunczyk

unread,
Aug 18, 2013, 5:08:42 PM8/18/13
to wand...@googlegroups.com
linaro@linaro-ubuntu-desktop:/opt/jdk1.8.0/bin$ ls -la /opt
total 12
drwxr-xr-x  3 root root 4096 Aug 18 17:38 .
drwxr-xr-x 25 root root 4096 Jul  5 06:14 ..
drwxrwxrwx  8 root root 4096 Aug 18 17:38 jdk1.8.0
linaro@linaro-ubuntu-desktop:/opt/jdk1.8.0/bin$

Daan Gerits

unread,
Aug 18, 2013, 5:15:10 PM8/18/13
to wand...@googlegroups.com
Ok, just another thing to be sure of, follow these exactly:

cd /opt/jdk1.8.0/bin
./java -version

BTW, I did the exact same thing on my wandboards here. If it turns out
this isn't working either, I have a deb here that will help out. It is
against regulations though to share it, but if it can help you ... :)

D.

patryk zdunczyk

unread,
Aug 18, 2013, 5:29:54 PM8/18/13
to wand...@googlegroups.com
linaro@linaro-ubuntu-desktop:/opt/jdk1.8.0/bin$ ./java -version
-bash: ./java: No such file or directory

Well, that did not work LOL.

patryk zdunczyk

unread,
Aug 18, 2013, 5:31:42 PM8/18/13
to wand...@googlegroups.com
Dean im considering to do a clean install of ubuntu 12.04 before installing your package. Thanks for your help!

Daan Gerits

unread,
Aug 18, 2013, 5:51:24 PM8/18/13
to wand...@googlegroups.com
Sure no problem. Let me figure out where I can put the deb so you can
download it. 

Anyone else wanting a link to the deb, mail me. don't want to get into
too much trouble with the oracle guys ;)

D.

patryk zdunczyk

unread,
Aug 18, 2013, 7:09:28 PM8/18/13
to wand...@googlegroups.com
Would you like my email?

patryk zdunczyk

unread,
Aug 18, 2013, 11:04:33 PM8/18/13
to wand...@googlegroups.com
Mike what distribution are you using?

Mike Panetta

unread,
Aug 18, 2013, 11:52:15 PM8/18/13
to wand...@googlegroups.com
Fedora 19.

On Sun, Aug 18, 2013 at 11:04 PM, patryk zdunczyk

Daan Gerits

unread,
Aug 18, 2013, 5:49:53 PM8/18/13
to wand...@googlegroups.com
Sure no problem. Let me figure out where I can put the deb so you can
download it.

Anyone else wanting a link to the deb, mail me. don't want to get into
too much trouble with the oracle guys ;)

D.

patryk zdunczyk

unread,
Aug 19, 2013, 11:14:09 AM8/19/13
to wand...@googlegroups.com
Ill install Fedora 19 from the CSOS website, and for the sake of the forum, i'd like to email you since you actually got the server up and running. <3

patryk zdunczyk

unread,
Aug 19, 2013, 12:36:18 PM8/19/13
to wand...@googlegroups.com
My email is Polish...@gmail.com, and how did you compile fedora 19 for the Wand board Mike?

patryk zdunczyk

unread,
Aug 19, 2013, 2:44:16 PM8/19/13
to wand...@googlegroups.com
Turns out, the CCOS image, was not the whole dekstop version , can you provide a brief explanation on how you setup fedora?

Mike Panetta

unread,
Aug 20, 2013, 1:29:21 AM8/20/13
to wand...@googlegroups.com
I'm not using the desktop version either. I am using the Fedora
Minimal image with Roberts kernel build and some additional rpms for
C/C++ development installed. Just recently installed node.js,
thinking about writing a small http IO server to access the I2C busses
so that I can blink LED's and read switches in the real world using
computercraft.

I am using my wandboard headless so I don't know if the video works in
the configuration or not. I have read that it does in the newer
kernel builds though.

On Mon, Aug 19, 2013 at 2:44 PM, patryk zdunczyk

patryk zdunczyk

unread,
Aug 20, 2013, 1:18:39 PM8/20/13
to wand...@googlegroups.com
Thanks FOR ALL THE HELP GUYS! 
Great community!
I got Java finally functioning by switching to Arch Linux, will be uploading pre compiled images for the Wand Board Quad.

Ali Anwar

unread,
Feb 1, 2014, 12:47:52 AM2/1/14
to wand...@googlegroups.com
Hi,

Can you share your hadoop logs? I also tried hadoop on Wandboard but I am getting terrible numbers.

I will really appreciate it if you could do that.

I have OS from SD card but I have hdfs, along with temp files, set up in SATA HDD.

Regards,
-Ali

On Saturday, August 17, 2013 2:56:42 PM UTC-4, Daan Gerits wrote:
Hey, you might have got enough feedback yet, but just to let you know, I'm running 6 wandboards with oracle JDK8 ea and performing well with Hadoop on them.

D.

On Friday, August 16, 2013 7:43:05 PM UTC+2, patryk zdunczyk wrote:
Out of curiosity since i have the quad core model with 2 gb ram, i would like to test how well it can perform as a server for MineCraft! But when i want to install the packages for Open Jdk 6 i get this message.


linaro@wandboard:~$ sudo apt-get -f install openjdk-6-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libglib2.0-bin : Depends: libglib2.0-0 (= 2.32.3-0ubuntu1) but 2.30.0-0ubuntu4linaro9 is to be installed
 libglib2.0-dev : Depends: libglib2.0-bin (= 2.30.0-0ubuntu4linaro9) but 2.32.3-0ubuntu1 is to be installed
 openjdk-6-jre-headless : Depends: openjdk-6-jre-lib (>= 6b27-1.12.6-1ubuntu0.12.04.2) but it is not going to be installed
                          Depends: ca-certificates-java but it is not going to be installed
                          Depends: tzdata-java but it is not going to be installed
                          Depends: java-common (>= 0.28) but it is not going to be installed
                          Depends: libnss3-1d (>= 3.12.9+ckbi-1.82-0ubuntu4) but it is not going to be installed
                          Recommends: icedtea-6-jre-cacao (= 6b27-1.12.6-1ubuntu0.12.04.2) but it is not going to be installed
                          Recommends: icedtea-6-jre-jamvm (= 6b27-1.12.6-1ubuntu0.12.04.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
linaro@wandboard:~$

Any help would be appreciated!

Clay D. Montgomery

unread,
Feb 1, 2014, 3:04:53 PM2/1/14
to wand...@googlegroups.com
Java is built-in with Android.  It would be interesting to compare the performance of Java on Android verses the other distros on WandBoard.

Regards, Clay

anotherol...@gmail.com

unread,
Jan 24, 2015, 2:01:15 PM1/24/15
to wand...@googlegroups.com
Fixed!
I don't have a wandboard (I'd really like one - but they are out of my price range at the moment... sob). I was helping someone with their Riotboard running Linaro-Ubuntu, they were having the same problem (they were also wanting to run MineCraft and had the same Java issue). The problem was that Java was referencing /lib/ld-linux-armhf.so.3 which does not exist on the system. In my case when you look at /lib the only load file is /lib/ld-linux.so.3 so I just soft linked them and it works. Below is how I worked it out and what I did to fix it. You may have a different load file, but it's worth a shot.

Enjoy

root@linaro-ubuntu-desktop:/opt/java/jdk1.8.0_06/bin# java
-su: /usr/bin/java: No such file or directory

root@linaro-ubuntu-desktop:/opt/java/jdk1.8.0_06/bin# strings java
/lib/ld-linux-armhf.so.3
qwwBI
libpthread.so.0
_Jv_RegisterClasses
libjli.so
_ITM_deregisterTMCloneTable
JLI_Launch
__gmon_start__
_ITM_registerTMCloneTable
libdl.so.2
libc.so.6
abort
__libc_start_main
lib.so
$ORIGIN/../lib/arm/jli:$ORIGIN/../lib/arm
SUNWprivate_1.1
GLIBC_2.4
1.8.0_06-b23
java

root@linaro-ubuntu-desktop:/opt/java/jdk1.8.0_06/bin# ls /lib/ld*
/lib/ld-linux.so.3

root@linaro-ubuntu-desktop:/opt/java/jdk1.8.0_06/bin# ln -s /lib/ld-linux.so.3 /lib/ld-linux-armhf.so.3

root@linaro-ubuntu-desktop:/opt/java/jdk1.8.0_06/bin# ls /lib/ld*
/lib/ld-linux-armhf.so.3  /lib/ld-linux.so.3


root@linaro-ubuntu-desktop:/opt/java/jdk1.8.0_06/bin# java -version
java version "1.8.0_06"
Java(TM) SE Runtime Environment (build 1.8.0_06-b23)
Java HotSpot(TM) Client VM (build 25.6-b23, mixed mode)
root@linaro-ubuntu-desktop:/opt/java/jdk1.8.0_06/bin#

TaDa!

Daan Gerits

unread,
Jan 25, 2015, 5:39:55 AM1/25/15
to wand...@googlegroups.com
Hey Ali,

For BigBoards.io we have hadoop 2.5 running on 6 wandboards, even inside docker. You can always use some of the docker images we use right now, or I can send you the DockerFile for the hadoop repo.

Btw, Running Java-7

D.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages