@@ -545,17 +545,13 @@ Arguments::set_dll_dir(buf); if (pslash != NULL) { pslash = strrchr(buf, '/'); if (pslash != NULL) { - *pslash = '\0'; // Get rid of /<arch>. - pslash = strrchr(buf, '/'); - if (pslash != NULL) { *pslash = '\0'; // Get rid of /lib. } } - } Arguments::set_java_home(buf); set_boot_path('/', ':'); } // Where to look for native libraries.