hotspot/src/os/linux/vm/os_linux.cpp
changeset 8476 7e34c2d4cf9b
parent 8119 81eef1b06988
child 9335 7bdd2a3ab3d8
child 9125 3b9a527cd492
equal deleted inserted replaced
8475:c2b97a27943a 8476:7e34c2d4cf9b
  2211   assert(ret != 0, "cannot locate libjvm");
  2211   assert(ret != 0, "cannot locate libjvm");
  2212   char *rp = realpath(dli_fname, buf);
  2212   char *rp = realpath(dli_fname, buf);
  2213   if (rp == NULL)
  2213   if (rp == NULL)
  2214     return;
  2214     return;
  2215 
  2215 
  2216   if (strcmp(Arguments::sun_java_launcher(), "gamma") == 0) {
  2216   if (Arguments::created_by_gamma_launcher()) {
  2217     // Support for the gamma launcher.  Typical value for buf is
  2217     // Support for the gamma launcher.  Typical value for buf is
  2218     // "<JAVA_HOME>/jre/lib/<arch>/<vmtype>/libjvm.so".  If "/jre/lib/" appears at
  2218     // "<JAVA_HOME>/jre/lib/<arch>/<vmtype>/libjvm.so".  If "/jre/lib/" appears at
  2219     // the right place in the string, then assume we are installed in a JDK and
  2219     // the right place in the string, then assume we are installed in a JDK and
  2220     // we're done.  Otherwise, check for a JAVA_HOME environment variable and fix
  2220     // we're done.  Otherwise, check for a JAVA_HOME environment variable and fix
  2221     // up the path so it looks like libjvm.so is installed there (append a
  2221     // up the path so it looks like libjvm.so is installed there (append a