I want to use package io which I tried to install as (inside the
pkg install -forge io
But then when I tried to use xlsread no interfaces were founded.
Googling suggested that the java package should also be installed and
load before the io one. I promptly typed:
pkg install -forge java
And got a lot of errors starting with:
Error while trying to install Java package:
environment variable 'JAVA_HOME' has not been set.
use 'setenv ("JAVA_HOME", "/full/path/to/javaJDK")'
JAVA_HOME should usually be set such that either:
<JAVA_HOME>/jre/lib/<arch>/client/ contains libjvm.so (file or symlink)
On Thu, Nov 20, 2014 at 09:35:25 +0100, Joao Rodrigues wrote:
> I want to use package io which I tried to install as (inside the
> pkg install -forge io
> pkg install -forge java
> System: Ubuntu 14.10, Octave 3.8.1
Good that you found a resolution on your own, but is there a reason
why you are installing packages with `pkg` instead of with `apt-get`
or your Ubuntu package manager of choice?