Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004572 [Resin] minor always 05-24-11 17:56 07-25-11 15:43
Reporter rickHigh View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.21 Product Version
  Product Build
Summary 0004572: Unable to compile on OSX 10.6.6 due to ./configure not finding java
Description The error message from ./configure is as follows:

______________
checking if /System/Library/Frameworks/JavaVM.framework/Versions/Current/bin/java is Java 1.6...
no

configure: error: Java 1.6 required. /System/Library/Frameworks/JavaVM.framework/Versions/Current/bin/java returned: ./configure: line 11248: /System/Library/Frameworks/JavaVM.framework/Versions/Current/bin/java: No such file or directory
_____________

Java is on the system, but they have moved its location.

$ which java
/usr/bin/java

$ ls -l /usr/bin/java
lrwxr-xr-x 1 root wheel 74 Mar 11 00:14 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java

It is under .../Commands/java Not .../bin/java
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0005276)
cowan
05-25-11 13:22

OSX has a built-in command that's supposed to always tell you where java_home is

/usr/libexec/java_home

I have this in my .bash_profile, we could use it in the configure script also;

export JAVA_HOME=`/usr/libexec/java_home`
 

- Issue History
Date Modified Username Field Change
05-24-11 17:56 rickHigh New Issue
05-25-11 13:22 cowan Note Added: 0005276
07-25-11 15:43 ferg Assigned To  => ferg
07-25-11 15:43 ferg Status new => closed
07-25-11 15:43 ferg Resolution open => fixed
07-25-11 15:43 ferg Fixed in Version  => 4.0.21


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker