Best way to determine openjdk jvm
swingler at apple.com
Wed Feb 8 10:53:10 PST 2012
On Feb 8, 2012, at 3:19 AM, Michael Hall wrote:
> I am looking at...
> Mac OS X Port Using jsadebug, jinfo, jmap
> Which appears to require a openjdk specific signing certificate, or sudo.
> Assuming you wanted to provide the cert, I would further assume you would still need to determine at runtime if you had the features available - meaning a openjdk runtime.
> Would checking this system property be the best, recommended, way to do that?
> java.runtime.name=OpenJDK Runtime Environment
I don't understand what you are asking. The signing certificate is only required at build time to sign the Mach-o binary of the JDK debugging tools. What do you need to know at runtime when you are using the tools?
More information about the macosx-port-dev