Does OpenJDK statically link the C++ runtime?

Andrew Haley aph at
Wed Jan 4 10:41:11 UTC 2012

On 01/04/2012 06:16 AM, John Von Seggern wrote:
> Way back in a bug report for Java 1.4, I found this note:
> "We statically link the C++ runtime in JDK and enabled linker script
> to hide symbols from libstdc++ and other internal symbols."
> --
> Does OpenJDK continue to take this approach?

Yes it does, but if you're using Linux be aware that most Linux
distros patch this out, AFAIK.


More information about the build-dev mailing list