[OpenIndiana-discuss] Apache OpenOffice package
Dormition Skete (Hotmail)
dormitionskete at hotmail.com
Wed Aug 20 13:14:56 UTC 2014
On 08/20/2014 13:43, Eric Bautsch wrote:
> javaldx: Could not find a Java Runtime Environment!
It looks like it doesn’t know where your Java Runtime Environment is.
In your ~/.bash_profile, put something like this: (Adjust using your correct path as necessary.)
—
PATH=/usr/java/jdk1.7.0_65/jre/bin:$PATH:$HOME/bin
export PATH
JAVA_HOME=/usr/java/jdk1.7.0_65
export JAVA_HOME
—
Log out. Log back in for it to take effect.
Then at a command prompt: “java -version” [Enter]
See if it gives you something along the lines of:
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
I use Oracle’s Java, not OpenJDK, so your output will vary.
More information about the openindiana-discuss
mailing list