help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I install the java and jhandles packages?


From: Michael Goffioul
Subject: Re: How do I install the java and jhandles packages?
Date: Fri, 18 Jul 2008 15:43:22 +0200

On Fri, Jul 18, 2008 at 3:23 PM, Matthias Brennwald
<address@hidden> wrote:
>> http://www.nabble.com/Trouble-installing-Java-and-Jhandles-td15653720.html#a15747857
>
> Aha. I've read that, but I don't understand what I am supposed to do. I
> am a Linux dummy...

It appears the java package did not install correctly, so you have
to re-install it, but take care of the following:

Requirements
==========

Java
  - JRE (Java Runtime Environment): the java package has only
    been tested with Sun JRE (1.5 and 1.6)
  - JDK (Java Development Kit): only tested with Sun JDK (1.6)

JHandles
  - JOGL: Java OpenGL interface, https://jogl.dev.java.net/

Installation
========

The executables from JDK must be in your path, as well as the
JRE executables. So you should be able to write in a terminal

  java -version
  javac -version

The java package needs to load the JVM (Java Virtual Machine)
from the library libjvm.so. This library is expected in (<ARCH>
can be i386, mac, solaris...)

/usr/lib/jvm/jre/lib/<ARCH>/client/libjvm.so

If the JVM is located in another directory, then you need to define
the environment variable JAVA_HOME such that the JVM is located
at

$JAVA_HOME/jre/lib/<ARCH>/client/libjvm.so

When everything is set up, you can try to install the packages
normally.

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]