Displaying 1 result from an estimated 1 matches for "ok_java_vars".
2008 Oct 14
1
R CMD config doesn't export JAVA_LD_LIBRARY_PATH (PR#13165)
...th to the home of Java distribution
JAVA_LIBS flags needed for linking against Java libraries
JAVA_CPPFLAGS C preprocessor flags needed for compiling JNI programs
JAVA_LD_LIBRARY_PATH is defined in Makeconf, but not exported.
Specifically, src/scripts/config includes the following line:
ok_java_vars="JAVA JAVAC JAVAH JAR JAVA_HOME JAVA_LIBS JAVA_CPPFLAGS"
This list does not include JAVA_LD_LIBRARY_PATH, with no explanation of
why not. Providing this env variable would allow developers to use RPATH
instead of setting the LD_LIBRARY_PATH variable by hand before running R
extensions...