Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
How to install Java 8 JDK on RN312?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-09-13
11:48 PM
2017-09-13
11:48 PM
I want to install Java 8 JDK on RN312 (Intel based). I tried:
# apt-get update # apt-get install default-jdk
It installs Java 7 instead:
# java -version
java version "1.7.0_151"
OpenJDK Runtime Environment (IcedTea 2.6.11) (7u151-2.6.11-1~deb8u1)
OpenJDK 64-Bit Server VM (build 24.151-b01, mixed mode)
What is the correct way to install Java 8 on RN312 or other Intel based models?
I also tried this, but these packages cannot be found:
root@nas-XX-XX-XX:~# apt-get install openjdk-9-jdk Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package openjdk-9-jdk root@nas-XX-XX-XX:~# apt-get install openjdk-8-jdk Reading package lists... Done Building dependency tree Reading state information... Done Package openjdk-8-jdk is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'openjdk-8-jdk' has no installation candidate root@nas-XX-XX-XX:~# apt-get install openjdk-9-jre Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package openjdk-9-jre root@nas-XX-XX-XX:~# apt-get install openjdk-8-jre Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package openjdk-8-jre
Solved! Go to Solution.
Model: RN31200|ReadyNAS 300 Series 2-Bay
Message 1 of 3
Labels:
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-09-14
12:37 AM
2017-09-14
12:37 AM
Seems OpenJDK 8 is available from jessie backports archive. This works for me:
root@nas-XX-XX-XX:~# echo "deb http://http.debian.net/debian jessie-backports main" | tee --append /etc/apt/sources.list.d/jessie-backports.list > /dev/null root@nas-XX-XX-XX:~# apt-get update root@nas-XX-XX-XX:~# apt-get install -t jessie-backports openjdk-8-jdk root@nas-XX-XX-XX:~# java -version openjdk version "1.8.0_131" OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-1~bpo8+1-b11) OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
See also: https://linux-tips.com/t/how-to-install-java-8-on-debian-jessie/349/2
Model: RN31200|ReadyNAS 300 Series 2-Bay
Message 2 of 3
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-09-14
12:37 AM
2017-09-14
12:37 AM
Seems OpenJDK 8 is available from jessie backports archive. This works for me:
root@nas-XX-XX-XX:~# echo "deb http://http.debian.net/debian jessie-backports main" | tee --append /etc/apt/sources.list.d/jessie-backports.list > /dev/null root@nas-XX-XX-XX:~# apt-get update root@nas-XX-XX-XX:~# apt-get install -t jessie-backports openjdk-8-jdk root@nas-XX-XX-XX:~# java -version openjdk version "1.8.0_131" OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-1~bpo8+1-b11) OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
See also: https://linux-tips.com/t/how-to-install-java-8-on-debian-jessie/349/2
Model: RN31200|ReadyNAS 300 Series 2-Bay
Message 2 of 3
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-09-14
07:44 AM
2017-09-14
07:44 AM
Re: How to install Java 8 JDK on RN312?
Just an FYI for all you ARM-based owners, these instructions worked for me as well. Thanks!
Model: RN20400|4BAY Diskless Desktop Readynas Storage
Message 3 of 3