NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
roger_roger
Dec 12, 2009Tutor
is there a Java VM for NV+
Is it possible to install java on the readynas NV+
I have a simple text based java application that grabs data from a webpage and loads to mysql on the readynas.
It would be nice if I could schedule and run it all from the NV+ without the need to have my PC do the java part.
I have a simple text based java application that grabs data from a webpage and loads to mysql on the readynas.
It would be nice if I could schedule and run it all from the NV+ without the need to have my PC do the java part.
20 Replies
Replies have been turned off for this discussion
- Nas_RAspirantI was able to manage to install Java 6 on the pro.
(not sure if the NV+ CPU/memory is able to handle it.)
Anyhow here are the steps...
In your /etc/apt/sources.list adddeb http://us.archive.ubuntu.com/ubuntu dapper main restricted
deb http://us.archive.ubuntu.com/ubuntu dapper universe multiverse
then I did;apt-get update
apt-get install sun-java6-jdk
After this the rest of the process will display a dialog that will require you to accept the license agreement. When you do, the rest of the setup will happen on its own.
change temporary indpkg-reconfigure debconf
NonInteractive to Readline, once completed change it back
When you're on the command prompt typejavac -version
orjava -version
You should be good to go! :D Nas-R wrote: I was able to manage to install Java 6 on the pro.
(not sure if the NV+ CPU/memory is able to handle it.)
Anyhow here are the steps...
In your /etc/apt/sources.list adddeb http://us.archive.ubuntu.com/ubuntu dapper main restricted
deb http://us.archive.ubuntu.com/ubuntu dapper universe multiverse
then I did;apt-get update
apt-get install sun-java6-jdk
After this the rest of the process will display a dialog that will require you to accept the license agreement. When you do, the rest of the setup will happen on its own.
change temporary indpkg-reconfigure debconf
NonInteractive to Readline, once completed change it back
When you're on the command prompt typejavac -version
orjava -version
You should be good to go! :D
Sorry for delay in the response, just come back from the year end vacation.
First of all thanks for the reply.
My NV+ is vanilla out of the box installation so the commands above don't appear on my box...... :(
How scarey is the process of changing it to handle this? I have plenty experience with linux , but there's alot of data on the NV+ that is not worth losing.- dbott67GuideYou would need to install the EnableRootSSH add-on in order to gain root access, followed by the APT add-on.
Both add-ons can be found here under the SHELL ACCESS PATCHES: http://www.readynas.com/?page_id=617
You do not need the ToggleSSH add-on (it will disable SSH access if you run it).
As for whether or not it will work, there are others that have also indicated that the CPU on the NV/NV+/Duo is not powerful enough. dbott67 wrote: You would need to install the EnableRootSSH add-on in order to gain root access, followed by the APT add-on.
Both add-ons can be found here under the SHELL ACCESS PATCHES: http://www.readynas.com/?page_id=617
You do not need the ToggleSSH add-on (it will disable SSH access if you run it).
As for whether or not it will work, there are others that have also indicated that the CPU on the NV/NV+/Duo is not powerful enough.
Will give it a whirl..... The application I have is so undemanding & I don't care if it takes 10 mins to run even if it only takes 5 secs on my Mac. It's a once per day app, the important thing is it runs by itself...... otherwise I'm going to have to crack out the python or perl books.....- berkut1Tutor
Nas-R wrote: I was able to manage to install Java 6 on the pro.
(not sure if the NV+ CPU/memory is able to handle it.)
Anyhow here are the steps...
In your /etc/apt/sources.list adddeb http://us.archive.ubuntu.com/ubuntu dapper main restricted
deb http://us.archive.ubuntu.com/ubuntu dapper universe multiverse
then I did;apt-get update
apt-get install sun-java6-jdk
After this the rest of the process will display a dialog that will require you to accept the license agreement. When you do, the rest of the setup will happen on its own.
change temporary indpkg-reconfigure debconf
NonInteractive to Readline, once completed change it back
When you're on the command prompt typejavac -version
orjava -version
You should be good to go! :D
I added the two lines to the end of my sources.list file and then attempted to use your instructions to install java jdk on my PRO and I got the following errorsnas3:/etc/apt# apt-get update
Ign http://www.readynas.com 4.2.13/ Release.gpg
Get:1 http://us.archive.ubuntu.com dapper Release.gpg [189B]
Hit http://us.archive.ubuntu.com dapper Release
Err http://us.archive.ubuntu.com dapper Release
Ign http://www.readynas.com 4.2.13/ Release
Get:2 http://archive.debian.org etch Release.gpg [1033B]
Get:3 http://us.archive.ubuntu.com dapper Release [34.8kB]
Ign http://www.readynas.com 4.2.13/ Packages/DiffIndex
Hit http://archive.debian.org etch Release
Ign http://www.readynas.com 4.2.13/ Packages
Hit http://www.readynas.com 4.2.13/ Packages
Ign http://archive.debian.org etch/main Packages/DiffIndex
Hit http://archive.debian.org etch/main Packages
Ign http://us.archive.ubuntu.com dapper Release
Ign http://us.archive.ubuntu.com dapper/main Packages/DiffIndex
Ign http://us.archive.ubuntu.com dapper/restricted Packages/DiffIndex
Ign http://us.archive.ubuntu.com dapper/universe Packages/DiffIndex
Ign http://us.archive.ubuntu.com dapper/multiverse Packages/DiffIndex
Hit http://us.archive.ubuntu.com dapper/main Packages
Hit http://us.archive.ubuntu.com dapper/restricted Packages
Hit http://us.archive.ubuntu.com dapper/universe Packages
Hit http://us.archive.ubuntu.com dapper/multiverse Packages
Fetched 34.9kB in 2s (17.0kB/s)
Reading package lists... Done
W: GPG error: http://us.archive.ubuntu.com dapper Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: You may want to run apt-get update to correct these problems
nas3:/etc/apt# apt-get install sun-java6-jdk
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package sun-java6-jdk
Running apt-get update again did not correct the problem. If you could give me the current deb lines for accessing the java jdk I would appreciate it.
Thanks - super_poussinVirtuosofor java on X86 use my addon
for sparc Sorry : nothing - berkut1Tutor
super-poussin wrote: for java on X86 use my addon
for sparc Sorry : nothing
Understood about the sparc, but fantastic news about the x86 platform! - Nas_RAspirantSorry for some delay;
It seems that Sun has moved their SUN-6-SDK to another location, just add this into your sources.listdeb http://archive.canonical.com/ lucid partner
and try again.
To verify:Crius:/etc/apt# java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
Crius:/etc/apt# javac -version
javac 1.6.0_20
Crius:/etc/apt# - berkut1Tutor
Nas-R wrote: Sorry for some delay;
It seems that Sun has moved their SUN-6-SDK to another location, just add this into your sources.listdeb http://archive.canonical.com/ lucid partner
and try again.
To verify:Crius:/etc/apt# java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
Crius:/etc/apt# javac -version
javac 1.6.0_20
Crius:/etc/apt#
Thanks, that did the trick! - Nas_RAspirantGlad I'm able to help you.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!