help-octave
[Top][All Lists]
Advanced

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

Re: jhandles with debian


From: Hielos
Subject: Re: jhandles with debian
Date: Wed, 9 Sep 2009 14:28:17 -0700 (PDT)

Hello. If it makes you feel better, I am having the same issue as you. There
is not much information on how to solve it, and I think it should. May be,
jhandles was only destined to work with Windows..? As a matter of fact, I
think that the bottom line goes to installing octave-java. I am running
Jaunty (ubuntu 9.04) 64 bits. From my perspective, this is a REAL issue,
since I can't program any GUI's without jhandles (I have seen it's marked as
whish-list somewhere else). Good luck to all of us



oz123 wrote:
> 
> Hello, again
> ./configure on my debian machine will succeed only if I do:
> 
> export JAVA_HOME="/usr/lib/jvm/java-6-sun-1.6.0.13/"
> 
> These are the last line of the configure out put.
> 
> But like I said before it fails on make .
> __java__.cc: In member function ‘octave_value
> octave_java::do_java_set(JNIEnv*, const std::string&, const
> octave_value&)’:
> __java__.cc:1812: warning: deprecated conversion from string constant to
> ‘char*’
> __java__.cc: In static member function ‘static octave_value
> octave_java::do_java_set(JNIEnv*, const std::string&, const std::string&,
> const octave_value&)’:
> __java__.cc:1834: warning: deprecated conversion from string constant to
> ‘char*’
> make[1]: *** [__java__.oct] Error 1
> make[1]: Leaving directory `/home/ozdeb/Desktop/java-1.2.6/src'
> make: *** [build] Error 2
> 
> Are these the header files you mean ?
> 
> /usr/lib/jvm/java-6-sun-1.6.0.13/include
> /usr/lib/jvm/java-6-sun-1.6.0.13/include/linux
> /usr/lib/jvm/java-6-sun-1.6.0.13/include/linux/jni_md.h
> /usr/lib/jvm/java-6-sun-1.6.0.13/include/linux/jawt_md.h
> /usr/lib/jvm/java-6-sun-1.6.0.13/include/jni.h
> /usr/lib/jvm/java-6-sun-1.6.0.13/include/jdwpTransport.h
> /usr/lib/jvm/java-6-sun-1.6.0.13/include/jawt.h
> /usr/lib/jvm/java-6-sun-1.6.0.13/include/classfile_constants.h
> /usr/lib/jvm/java-6-sun-1.6.0.13/include/jvmti.h
> 
> 
> Because if so, they are already under java home.
> 
> I even tried copying them to the working directory of java/src/ where make
> is working. But it still fails.
> 
> Any idea ?
> B.T.W the silence about the subject means nobody is using jhandles on
> linux
> ? Someone ?
> 
> Thanks, Oz
> 
> 
> On Thu, May 21, 2009 at 5:02 PM, Michael Goffioul <
> address@hidden> wrote:
> 
>> On Thu, May 21, 2009 at 3:56 PM, Oz Nahum <address@hidden> wrote:
>> >>JDK include directory is not in the standard include path, so it
>> >>seems you have to add it manually, through some environment
>> >>variable. Under MSVC, I use INCLUDE variable.
>> >
>> > Ok, could someone translate this to noobs simple language ?
>> > I understand you develop this software under microsoft windows [:-(],
>> and
>> I
>> > don't understand
>> > what is the include variable. You mean I have to change manually the
>> > configure or make files ?
>>
>> What it means is that the headers provided by JDK are not installed
>> in some standard location, so the compiler cannot find them
>> automatically.
>> The configure script expects them in $JAVA_HOME/include. If this is not
>> the case, then you'll have to fix your system, or let the compiler know
>> about
>> the non standard location, usually by using some well-known environment
>> variable. Under MSVC, this is achieved through the variable called
>> "INCLUDE".
>>
>> I don't know the equivalent for GCC, but I guess using CPPFLAGS and the
>> -I compiler flag could do it.
>>
>> Michael.
>>
> 
> 
> 
> -- 
> ----
>            Imagine there's no countries
>            It isn't hard to do
>            Nothing to kill or die for
>            And no religion too
>            Imagine all the people
>            Living life in peace
> 
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> 
> 

-- 
View this message in context: 
http://www.nabble.com/jhandles-with-debian-tp23652114p25373464.html
Sent from the Octave - General mailing list archive at Nabble.com.




reply via email to

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