[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Java/JHandles available for Linux
From: |
Michael Jones |
Subject: |
Re: Java/JHandles available for Linux |
Date: |
Wed, 6 Jun 2007 10:19:20 -0700 (PDT) |
I have problems with the extra/java package which is required for
extra/jhandles. I am installing under linux with java SDK 1.4.2 (Sun J2SE).
1. problem:
In the configure script the java version is tested by calling "javac
-version". However javac doesn't understand "-version", instead "java
-version" gives the answer, but not in the format understood by the
configure script. So I hardcoded the version 1.4.2 into the script.
2. problem:
As posted by somebody else
http://www.nabble.com/forum/ViewPost.jtp?post=10645618&framed=y
I get the same compiler error
__java__.cc:463: error: invalid conversion from ‘__jarray*’ to
‘__jobjectArray*’
and don't know how to proceed. Maybe a gcc problem (my version is 3.3.4)?
You write that you used "Sun java implementation 1.6". Could you specify
that more precisely (link)? If J2SE 6 is needed, this should be checked in
the configure script (which says java>=1.2 required).
Can someone confirm that installing J2SE6 solves the problems? Otherwise I'm
reluctant to update my running system.
Cheers
Michael
Michael Goffioul-2 wrote:
>
> Hi,
>
> Thanks to David, I'm pleased to announce that the java interface as well
> as the
> java-based graphics backends (AKA jhandles) now run under Linux. You can
> see a screenshot here:
> http://www.geocities.com/sw286000/oplot-gl/snapshot4.png
>
> Both packages are available under CVS on octave-forge and should be part
> of
> the next octave-forge release. Tests under Linux have been made using the
> Sun
> java implementation 1.6 and JOGL 1.1 (latest version available from
> Sun web site).
>
>>From an installation point of view, you'll need (David, correct me if I'm
wrong)
> 1) jogl.jar and gluegen-rt.jar somewhere in PATH (may be octave bin dir)
> 2) libjvm.so and JOGL support shared libs somewhere in LD_LIBRARY_PATH
>
> Have fun, and big kudos to David.
>
> Michael.
>
>
--
View this message in context:
http://www.nabble.com/Java-JHandles-available-for-Linux-tf3839778.html#a10993183
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
- Re: Java/JHandles available for Linux,
Michael Jones <=