|
From: | Daniel J Sebald |
Subject: | Re: dlgtest() no longer needs Octave package |
Date: | Tue, 27 Nov 2012 19:58:13 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 |
On 11/27/2012 07:08 PM, Mike Miller wrote:
On Tue, Nov 27, 2012 at 06:22:46PM -0600, Daniel J Sebald wrote:On 11/27/2012 06:14 PM, Mike Miller wrote:On Tue, Nov 27, 2012 at 05:42:13PM -0600, Daniel J Sebald wrote:On 11/27/2012 05:14 PM, Daniel J Sebald wrote:Perhaps your definition of JAVA_HOME is wrong, but in my case I can set JAVA_HOME to any valid directory and "dlgtest(0)" functions properly.dlgtest(1) is supposed to reinstall Java Octave package. I presume that is obsolete now:I'm catching up on all these Java developments, but I think so, yes. That also means dlgtest has no need for JAVA_HOME.Why is that? Please explain because I'm wondering what the roll of JAVA_HOME is in configuration and once Octave is running. How about the compiled javaexac.c and javacomp.c that disable JAVA_HOME. What's happening there?I don't see those files being used anywhere in the Octave build. They are part of gnulib, but not a part that is currently used by Octave. I do not have JAVA_HOME in my environment and Octave builds and runs fine on my setup. I have to set it for dlgtest(0), but as you noticed, it can be set to any directory, I set it to /tmp and the demos work just fine for me.
OK, thanks for clearing that up.I did a bit of web search and JAVA_HOME is apparently some convention for servers to find where Java is located:
http://stackoverflow.com/questions/2025290/what-is-java-home-how-does-jvm-will-find-the-javac-path-stored-in-java-home ...Regarding some of the functions in the java package and directing to the broader list, are the names "errordlg", "helpdlg", etc. language standards? If not, I wonder if their names should include "java" in some way. The reason I wonder is because if one launches Octave with the new GUI/IDE then it seems to me that "errordlg", etc. would be nicer as a Qt widget, not Java. That way, it is the same look and feel and uses just one software exterior.
I just tried creating some Java dialog boxes under the Octave IDE and it crashes on my system. Should we start entering bugs for Java in the tracker, or wait a while?
Dan
[Prev in Thread] | Current Thread | [Next in Thread] |