cran-rjava-r32 build failure

cran-rjava-r32 does not build (see the log).

cran-rjava-r32 is depended by cran-rcmdr-r32.

The latest version (0.9-8 or above) should be tested.

The log says

cpp flags : '-I/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/../include -I/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/../include/darwin'
java libs : '-L/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/lib/server -ljvm'


but my Java path is
/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/

which clearly is the issue.

More generally, Java’s path is problematic (see here).

By checking the version of "system-java", we can get 1.8.0, but not "65".

$ fink list system-java
Information about 9081 packages read in 1 seconds.
i system-java 1.8.0-1 [virtual package representing Java 1.8.0]
i system-java-dev 1.8.0-1 [virtual package representing Java SDK 1.8.0]
system-java17 1.7.0-1 [virtual package representing Java 1.7.0]
system-java17-dev 1.7.0-1 [virtual package representing Java 1.7.0 development h...
i system-java18 1.8.0-1 [virtual package representing Java 1.8.0]
i system-java18-dev 1.8.0-1 [virtual package representing Java 1.8.0 development h...
system-java3d 0-0 [virtual package representing Java3D]
system-javaai 0-0 [virtual package representing Java Advanced Imaging]