[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trouble installing Java and Jhandles
From: |
Khaled |
Subject: |
Re: Trouble installing Java and Jhandles |
Date: |
Sat, 1 Mar 2008 21:37:32 -0800 (PST) |
Dear Michael,
I liked the code and it was really helpful, although it did not work, but
I learned many things.
first of all, I compiled it on a Dell Inspiron 1300 and I succeeded to
install it on Linux (OpenSuSE 10.3), but I had to do some tricks in the
configure file and the make file, for instant:
at 4231 for jhandles ver 0.3.2:
HAVE_OCTAVE_JAVA=`echo "pkg('load','java');disp('yes');" | octave -qf`
returns exactly yes, however the check at the next line (if test
"$HAVE_OCTAVE_JAVA" = "yes"; then) fails!! probably that is because the
variable HAVE_OCTAVE_JAVA was not successfully updated. Therefore, I
changed it to some thing like hard coded yes!! and then it works and it got
the Makefile changed as well. There I removed the "-l __java__"
Afterwards, it was installed in octave. However, I got this two notes:
" Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details."
More over, there is no (*) beside the package name, for example:
Package Name | Version | Installation directory
--------------+---------+-----------------------
general *| 1.0.5 | /usr/local/share/octave/packages/general-1.0.5
java *| 1.2.3 | /usr/local/share/octave/packages/java-1.2.3
jhandles | 0.3.2 | /usr/local/share/octave/packages/jhandles-0.3.2
this means, that I can not recall any of the jhandles function.
I don't know what to do, may be I just need to learn how I could use the
jhandles in octave as I learned how to install it :)
I hope you could solve this problem for me
Thanks
Yours
Khaled Hassan
Michael Goffioul-2 wrote:
>
> On 2/28/08, Telescope_Nerd <address@hidden> wrote:
>>
>> Michael
>> Thanks vey much for your help so far, each small piece of advice you have
>> given me seems to have had some effect. But I still don't have Jhandles
>> working In linux. It seems to me that installing and configuring Java and
>> Jogl to work with jhandles in linux is a highly non-trivial task and
>> there
>> are no usefull instructions out there for how to do this. So I have two
>> questions:
>>
>> 1. Has anyone ever actually had jhandles running in linux and how much of
>> a
>> task was it to get there?
>
> Yes, David Bateman has done it.
>
>> 2. Can you or somebody please release a step by step for dummies like me
>> on
>> how to set up java and jogl to run jhandles?
>
> I don't use Linux, so it's difficult for me to give a complete
> description.
> However, I can try to give some hints:
> - JHandles has only been tested with Sun JDK, so it's better to use it;
> from
> David's experience, the recommended version is 1.6
> - David didn't use the pre-compiled packages of JOGL, but recompiled it
> from source (this requires a few additional packages, but avoids any
> library incompatibility). The jar files have been installed somewhere in
> PATH (for instance /usr/bin) and the libraries have been installed
> somewhere
> in LD_LIBRARY_PATH.
> - When compiling Java or JHandles packages, you should pre-define
> JAVA_HOME to the actual location of Sun JVM library: if the client JVM
> is installed in /my/java/dir/jre/lib/i386/client/libjvm.so (replace i386
> with
> your actual architecture), then define JAVA_HOME to /my/java/dir
> - When compiling Java or JHandles packages, be sure that "java" and
> "javac" corresponds to Sun JDK; it happened to a few people that the
> eclipse java compiler was used instead.
>
> Hope this helps.
>
> Michael.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
>
--
View this message in context:
http://www.nabble.com/Trouble-installing-Java-and-Jhandles-tp15653720p15784119.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Re: Trouble installing Java and Jhandles,
Khaled <=