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.



_______________________________________________
openindiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to