Hi Michael, Michael Goffioul wrote: > There have been some fixes committed recently to support > MinGW better. So the first thing would be to grab sources > from the SVN repository (the changed files are src/Makefile, > src/configure.base and src/__java__.cc). Then you have to > define JAVA_HOME variable as C:\Programs\Java\jdk1.6.0_16 > and it should (hopefully) work out of the box. >
Thank you very much (also for the updated files sent in another e-mail). It did work out-of-the-box - that is: sort of; no errors but a lot of warnings. Echoed below, perhaps it's useful for the developers: =======================<screen messages>=============================== Octave-3.2.0: 4 > pkg install java-1.2.6.tar.gz __java__.cc: In function 'void initialize_jvm()': __java__.cc:385: warning: deprecated conversion from string constant to 'char*' __java__.cc: In function 'octave_value get_array_elements(JNIEnv*, _jobject*, const octave_value_lis t&)': __java__.cc:612: warning: deprecated conversion from string constant to 'char*' __java__.cc: In function 'octave_value set_array_elements(JNIEnv*, _jobject*, const octave_value_lis t&, const octave_value&)': __java__.cc:634: warning: deprecated conversion from string constant to 'char*' __java__.cc: In function 'octave_value box(JNIEnv*, _jobject*, _jclass*)': __java__.cc:783: warning: deprecated conversion from string constant to 'char*' __java__.cc:848: warning: deprecated conversion from string constant to 'char*' __java__.cc: In function 'octave_value box_more(JNIEnv*, _jobject*, _jclass*)': __java__.cc:927: warning: unused variable 'cols' __java__.cc: In function 'int unbox(JNIEnv*, const octave_value&, jobject_ref&, jclass_ref&)': __java__.cc:988: warning: deprecated conversion from string constant to 'char*' __java__.cc:1052: warning: deprecated conversion from string constant to 'char*' __java__.cc: In function 'int java_event_hook()': __java__.cc:1117: warning: deprecated conversion from string constant to 'char*' __java__.cc: In member function 'octave_value octave_java::do_java_invoke(JNIEnv*, const std::string &, const octave_value_list&)': __java__.cc:1696: warning: deprecated conversion from string constant to 'char*' __java__.cc: In static member function 'static octave_value octave_java::do_java_invoke(JNIEnv*, con st std::string&, const std::string&, const octave_value_list&)': __java__.cc:1721: warning: deprecated conversion from string constant to 'char*' __java__.cc: In static member function 'static octave_value octave_java::do_java_create(JNIEnv*, con st std::string&, const octave_value_list&)': __java__.cc:1746: warning: deprecated conversion from string constant to 'char*' __java__.cc: In member function 'octave_value octave_java::do_java_get(JNIEnv*, const std::string&)' : __java__.cc:1767: warning: deprecated conversion from string constant to 'char*' __java__.cc: In static member function 'static octave_value octave_java::do_java_get(JNIEnv*, const std::string&, const std::string&)': __java__.cc:1787: warning: deprecated conversion from string constant to 'char*' __java__.cc: In member function 'octave_value octave_java::do_java_set(JNIEnv*, const std::string&, const octave_value&)': __java__.cc:1813: 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:1835: warning: deprecated conversion from string constant to 'char*' Octave-3.2.0: 5 > =======================</screen messages>============================== At least I've got a Java package now (including __java__.oct). Next job: Installing jhandles. I'll keep you updated. Best wishes, Philip ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
