[Swift-devel] JAVA_HOME misdetection

Mihael Hategan hategan at mcs.anl.gov
Mon Feb 9 13:06:39 CST 2009


On Mon, 2009-02-09 at 17:01 +0000, Ben Clifford wrote:
> Another thing i've seen is when java is on the path, but JAVA_HOME is not 
> set, and java is found not-in-JAVA_HOME, like this:
> 
> $ which java
> /usr/bin/java
> $ ls -l /usr/bin/java
> lrwxr-xr-x   1 root  wheel  77 Feb  3 11:11 /usr/bin/java -> 
> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Commands/java
> 
> then setting JAVA_HOME incorrectly to /usr/ in this case breaks things, 

How does it break things?

> when leaving it entirely unset does not break things.
> 
> This is on my os x box.
>  




More information about the Swift-devel mailing list