--- old/src/os/linux/vm/os_linux.cpp 2011-02-25 09:59:22.299753000 +0100 +++ new/src/os/linux/vm/os_linux.cpp 2011-02-25 09:59:21.901730300 +0100 @@ -2213,7 +2213,7 @@ if (rp == NULL) return; - if (strcmp(Arguments::sun_java_launcher(), "gamma") == 0) { + if (Arguments::created_by_gamma_launcher()) { // Support for the gamma launcher. Typical value for buf is // "/jre/lib///libjvm.so". If "/jre/lib/" appears at // the right place in the string, then assume we are installed in a JDK and