Mantis - Resin
Viewing Issue Advanced Details
1311 minor always 08-23-06 07:58 08-01-06 09:26
closed 3.0.21  
none 3.0.22  
0001311: Configure script does not recognize IBM jdk 1.5 64bit
The way the configure script verifies if you are running java in 64-bit mode is by using grep and searching for '64-bit'. This only works with Sun's JDK and not with IBM.
The pertinent version line for SUN looks like this:
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_06-b05, mixed mode)
The pertinent version line for IBM looks like this:
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux amd64-64 j9vmxa6423-20060504 (JIT enabled)

The grep command in the configure script should look like this to take into account both versions of Java:
grep -E "(64-Bit|amd64-64)" $tmpname 1> /dev/null

There are no notes attached to this issue.