Sharing experiences with the latest EA build // #ReflectiveAccessToNonExportedTypes #ResourceEncapsulation
Alan.Bateman at oracle.com
Fri Sep 30 15:55:03 UTC 2016
On 30/09/2016 16:16, Rafael Winterhalter wrote:
> PS: I noticed that when running java (without commands), it
> still lists the
> non-GNU-style options that are no longer supported.
> Can you paste in `java -version` and give an example?
> rafael at raftop:~$ ~/jdk-9/bin/java -version
> java version "9-ea"
> Java(TM) SE Runtime Environment (build
> Java HotSpot(TM) 64-Bit Server VM (build
> 9-ea+138-jigsaw-nightly-h5546-20160929, mixed mode)
> Running "java" does for example mention:
> -addmods <modulename>[,<modulename>...]
> Which was replaced by the GNU-style "--add-modules".
I realize this isn't the meat of the thread but I checked this build and
I don't see an issue:
$ java -version
java version "9-ea"
Java(TM) SE Runtime Environment (build
Java HotSpot(TM) 64-Bit Server VM (build
9-ea+138-jigsaw-nightly-h5546-20160929, mixed mode)
$ java 2>&1 | grep add
root modules to resolve in addition to the initial
maybe in "Running java" above it is finding another "java" on the path.
More information about the jigsaw-dev