OS X commandline tools

Michael Hall mik3hall at gmail.com
Sat Oct 28 14:58:08 UTC 2017


> 
>> 
>> 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?
>> 
>> 
> 
> On Oct 28, 2017, at 9:55 AM, Alan Snyder <javalists at cbfiddle.com> wrote:
> 
> Use “9” instead of “1.9”

Eliminates the error message. I should of looked at what version was actually giving me. 
Curious on the rest but this was the only real current issue.

Thanks.



More information about the jigsaw-dev mailing list