Java Wrapper for Raspberry PI

I am trying to use the Tanuki Java Service Wrapper utility. The hardware I use is a Raspberry Pi with a Raspbian wheezy distribution. (see http://www.raspberrypi.org/downloads )

I tried the 32-bit Wrapper graduation form, but I have trouble reading libwrapper.so.

INFORMATION | jvm 1 | 2013/04/24 20:15:34 | WrapperManager: Initialization ...
INFO | jvm 1 | 2013/04/24 20:15:42 | WrapperManager Debug: attempt to load your own library with the name: libwrapper.so Result: /usr/iHome/lib/libwrapper.so: /usr/iHome/lib/libwrapper.so: cannot open the shared objects file: there is no such file or directory

I also tried armhf release, as it seems that “apt-get java-7-openjdk” installed the jdk-armhf version, but there I got a “Segmentation Error” when starting Wrapper.

Additional Information:

pi @ raspberrypi / usr / lib / jvm $ java -version
java version "1.7.0_07" OpenJDK Runtime Environment (IcedTea7 2.3.2)
(7u7-2.3.2a-1 + rpi1) OpenJDK Zero VM (build 22.0-b10, mixed mode)
pi @ raspberrypi / usr / lib / jvm $ ls -altr
total 28 -rw-r - r-- 1 root root 2437 September 26, 2012.java-1.7.0-openjdk-armhf.jinfo
lrwxrwxrwx 1 root root 20 September 26, 2012 java-1.7.0-openjdk-armhf → java-7-> openjdk-armhf drwxr-xr-x 3 root root 4096 Jan 17 20:59 java-7-openjdk-common
drwxr-xr-x 5 root root 4096 January 17 21:00 java-7-openjdk-armhf
drwxr-xr-x 4 root root 4096 Jan 17 9 p.m.
drwxr-xr-x 74 root root 12288 Apr 24 20:32 ..
pi @ raspberrypi / usr / lib / jvm $ uname -a
Linux raspberrypi 3.2.27+ # 250 PREEMPT Thu Oct 18 19:03:02 BST 2012 armv6l GNU / Linux

Thanks in advance,

BR, Rob

+5
source share
1 answer

This issue has already been discussed on the Java Service Wrapper user mailing list on this thread , but here is a summary of the permissions.

The armhf Wrapper version is built on the armv7 platform, and apparently this is not compatible with the rigid architecture of armv6. When using the rebar version of Wrapper with jhm armhf, loading the physical library due to a mismatch in the target.

, armel jvm Wrapper ( armv6 ), armhf . ( Sourceforge Wrapper) , shell script:

./build32.sh release

Wrapper . ( JDK Apache- Ant)

,

+1

All Articles