|
From: | Daniel J Sebald |
Subject: | Re: java and fc16 |
Date: | Mon, 26 Nov 2012 11:43:53 -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/26/2012 05:24 AM, Michael D. Godfrey wrote:
On 11/26/12 9:37 AM, Daniel J Sebald wrote:On 11/26/2012 03:33 AM, Michael D. Godfrey wrote:On 11/26/12 9:02 AM, Daniel J Sebald wrote:JAVA_HOME='/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin' export JAVA_HOMEThis worked for me with fc16. Thanks.There should be some "invariant" symlink for JAVA_HOME that does not include version, etc. Anyone know what this is?
Well, that would be a bundle-level decision, and I didn't see such a directory either. There are one or two related directories for the JDK, but they don't seem to go anywhere.
However, it seems to me that this JAVA_HOME shouldn't be needed. That is, if all that is done is access the executables. If I type "java" and then double tab at a shell command line (not inside Octave)
[sebald ~]$ java java javac javadoc javah javap javaws [sebald ~]$ jar jar jarsigner [sebald ~]$ jsta jstack jstat jstatdetc., most of the contents of the java bin directory is automatically in the path. (Not everyone of the binaries is though.)
My thinking is that if JAVA_HOME were empty, all these binaries should be accessible. The Octave java tools don't like an empty JAVA_HOME, however.
Dan
[Prev in Thread] | Current Thread | [Next in Thread] |