Post Reply 
QNAP JRE_ARM qpkg
31-03-2014, 21:20
Post: #1
QNAP JRE_ARM qpkg
Just noticed that Java Runtime Environment 7 qpkg is available from QNAP for the ARM processor since 2014/01/21. Is it working with MinimServer? Anyone any issues? Otherwise this could simplify the "Installing Java (ARM models)" section.
Find all posts by this user
Quote this message in a reply
03-04-2014, 12:34
Post: #2
RE: QNAP JRE_ARM qpkg
Yes it works!
Find all posts by this user
Quote this message in a reply
05-04-2014, 16:14 (This post was last modified: 20-04-2014 15:00 by simoncn.)
Post: #3
RE: QNAP JRE_ARM qpkg
(03-04-2014 12:34)pat Wrote:  Yes it works!

This package doesn't work for me because of a bug with how the JRE_ARM package sets up the symbolic link to the 'jre' directory.

To fix this problem, you need to install the JRE_ARM package, then login to the QNAP using SSH, then enter the following command:

Code:
ln -sf $(dirname $(dirname $(readlink "/usr/local/jre")))/JRE_ARM/jre /usr/local/jre

After you have done this, the JRE_ARM package should work with MinimServer.

Edit: It seems you would need to do this every time the QNAP is rebooted.
Find all posts by this user
Quote this message in a reply
07-04-2014, 12:28
Post: #4
RE: QNAP JRE_ARM qpkg
That's weird, It worked perfectly for me without having to modify the symbolic link (with ln -s).
From QNAP package center web Interface:
I've stopped MinimServer, installed JRE 7, stopped JRE 6 (the previous install), restarted JRE 7, restarted MinimServer.
Find all posts by this user
Quote this message in a reply
07-04-2014, 13:45
Post: #5
RE: QNAP JRE_ARM qpkg
(07-04-2014 12:28)pat Wrote:  That's weird, It worked perfectly for me without having to modify the symbolic link (with ln -s).
From QNAP package center web Interface:
I've stopped MinimServer, installed JRE 7, stopped JRE 6 (the previous install), restarted JRE 7, restarted MinimServer.

I think you'll find that you're actually using the previous JRE 6 installation because the incorrect link is pointing to this version of Java.

You can check this by opening the MinimServer log window. The Java version is shown near the start of the log output.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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