OS X commandline tools

Michael Hall mik3hall at gmail.com
Sat Oct 28 14:12:19 UTC 2017


I think I may of raised this as an issue sometime earlier.

I filed a bug report through bug report.java
We will review your report and have assigned it an internal review ID : 9051382 .

But as I recall earlier it was indicated that this involved files owned by Apple. For one thing I think they seem to symbolic link files in an apple legacy java Framework.
The solution as I remember it was for Mike Swingler to update the files. This doesn’t seem like something you would want him to continue doing on an ongoing basis.

For now I looked at it again because there seems to be nothing at all pointing to the jlink command for me.

echo `which jdeps` is here
/usr/bin/jdeps is here

echo `which jlink` is here
is here

Nothing ‘is here’

What didn’t seem appropriate to the bug report is /usr/libexec/java_home. 
This has been a useful platform specific command line tool for some time. Currently it is somewhat broken. 
This works…
/usr/libexec/java_home
/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home

This didn’t seem to work but now does seem to but with a incorrect(?) error message.
/usr/libexec/java_home -v 1.9 --exec java -version
Unable to find any JVMs matching version "1.9".
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)

Is this supported? Did Apple contribute this to the port? Would anyone be making changes to it or is it possible to get the source to change on your own?




More information about the jigsaw-dev mailing list