JDK-7190813 : (launcher) RPATH needs to have additional paths
  • Type: Bug
  • Component: tools
  • Sub-Component: launcher
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris
  • CPU: generic
  • Submitted: 2012-08-11
  • Updated: 2012-12-18
  • Resolved: 2012-09-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
8 b55Fixed
Related Reports
Relates :  
jawt libraries cannot be loaded anymore, there is a special path $ORIGIN/lib/$LIBARCH
path needed to load jawt libraries, see http://docs.oracle.com/javase/1.3/docs/guide/awt/AWT_Native_Interface.html,
thus when the build systems began using RPATH and the launcher purged  LD_LIBRARY_PATH
this path was lost, forcing users to either preload it or use LD_LIBRARY_PATH.

Test: http://hg.openjdk.java.net/jdk8/awt/jdk/file/f003387c33ad/test/tools/launcher/RunpathTest.java

EVALUATION http://hg.openjdk.java.net/jdk8/awt/jdk/rev/f003387c33ad This was pushed to awt, so that it gets better awt soaking.

EVALUATION Added the necessary RPATHs to the launchers RPATH variable.