United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6778662 fixes 64-bits libraries directory search paths on linux
JDK-6778662 : fixes 64-bits libraries directory search paths on linux

Details
Type:
Bug
Submit Date:
2008-12-02
Status:
Closed
Updated Date:
2012-10-08
Project Name:
JDK
Resolved Date:
2009-02-11
Component:
hotspot
OS:
generic
Sub-Component:
runtime
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs15 (b01)

Related Reports
Backport:
Backport:

Sub Tasks

Description
Patch submitted by Lilian Angel from Red Hat.

--- origopenjdk/hotspot/src/os/linux/vm/os_linux.cpp    2008-01-04 18:11:53.000000000 -0500
+++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp        2008-04-21 14:00:59.000000000 -0400
@@ -265,7 +265,12 @@
  *       ...
  *       7: The default directories, normally /lib and /usr/lib.
  */
-#define DEFAULT_LIBPATH        "/lib:/usr/lib"
+
+#if defined(AMD64) || defined(_LP64) && (defined(PPC) || defined(S390))
+#define DEFAULT_LIBPATH "/usr/lib64:/lib64:/lib:/usr/lib"
+#else
+#define DEFAULT_LIBPATH        "/lib:/usr/lib"
+#endif

 #define EXTENSIONS_DIR "/lib/ext"
 #define ENDORSED_DIR   "/lib/endorsed"

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/9656bebe85a7
                                     
2008-12-23



Hardware and Software, Engineered to Work Together