bredsj wrote:
>
> I have installed the java successfully (I think), see result of pkg list:
>
> octave-3.2.4:1> pkg list
> Package Name | Version | Installation directory
> -------------------+---------+-----------------------
:
<snip>
:
> io *| 1.0.12 | /usr/share/octave/packages/3.2/io-1.0.12
> java *| 1.2.8 | /usr/share/octave/packages/3.2/java-1.2.8
<snip>
> octave-3.2.4:2>
Looks good, but no guarantee.
How did you install the java pkg?
- By downloading from Ubuntu repository, or
- Compiling / installing yourself?
The java pkg can be installed even with compilation errors but won't
work then, usually if the (proper) JVM wasn't found.
Pls read on...
>
> I've followed all the other steps and downloaded chk_spreadsheet_support now
> with result:
>
> octave-3.2.4:4> chk_spreadsheet_support ('/usr/lib/java/',3)
>
> Checking Excel/ActiveX/COM... not working.
>
> Checking Java support...
> 1. Checking Java JRE presence.... OK, found one.
> 2. Checking Octave Java support... error: No Java support found.
This is telling....
>
>
> I think I still have some rights issues, see following:
>
> octave-3.2.4:3> javaaddpath ('/usr/lib/java/xercesImpl.jar')
> error: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/client/libjvm.so: cannot
> open shared object file: No such file or directory
......"amd64".....
There you go.
>
> This is a very complicated process indeed for a novice.
For cracks as well, don't worry :-)
By coincidence, several weeks ago Martin Helm posted in the help-octave
ML about installing the java pkg on a 64-bit OpenSUSE (IIRC):
https://mailman.cae.wisc.edu/pipermail/help-octave/2011-May/046089.html
<QUOTE>
Namely /usr/lib64/jvm/jre-1.6.0-sun/lib/amd64/client does not exist but only
/usr/lib64/jvm/jre-1.6.0-sun/lib/amd64/server and needs to be symlinked.
</QUOTE>
As your system says "No such file or directory" I suppose you hit this
issue.
So, apparently you might need to make the appropriate symlink....
(in ...../amd/ make a symlink "client" pointing to "server/",
ln -s client server or ln -s server client - I always forget the
right order, sorry)
(this is one of those gotcha's a novice won't be able to solve by
him-/herself).
Try that, and report back, please...
Philip
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev