Issues building graal-jvmci-8 with Cygwin
Svata Dedic
svatopluk.dedic at oracle.com
Fri Nov 9 08:31:40 UTC 2018
Hi,
the UNIX launcher script was not tested at all under cygwin. I believe
neither NetBeans (platform for IGV) tested the shell launcher on
windows. It was expected that windows users will run the .exe launchers
instead.
Will investigate / fix, but it could be rather hard to prepare script
which runs on MacOS, Linxues AND cygwin :)
Dne 8.11.2018 v 16:00 Doug Simon napsal(a):
>> I'm using JDK 11 by default, which doesn't seem to have that module, but even after setting JAVA_HOME and PATH to JDK 10 (which does have the module) I'm still getting the same error. I'm not sure where it's picking up the JRE to use?
>
> @Svata: How does IGV find a JDK? Can this be overridden on the IGV command line?
>
Will investigate / fix, but it could be rather hard to prepare script
which runs on MacOS, Linxues AND cygwin :)
Unless you provide --jdkhome switch on commandline to the .exe launcher,
it will look in the Windows Registry to find the JDK location in this order:
* JDK 9+ (Software\JavaSoft\JDK)
* JRE 9+ (Software\JavaSoft\JRE)
* older JDK (Software\JavaSoft\Java Development Kit)
* older JRE (Software\JavaSoft\Java Runtime Environment)
in each case CurrentVersion is used, so whatever jdk is the newest, or
configured for the system AND exists.
Please file a bug on not being able to run on JDK10+. The latest NB
platform should already address this.
It also seems I have to add some hook into platform sources, because (I
think) standard NB-application launchers do not even suppose they could
be bundled with JDK (and should use that one, if it is the case).
Another bug.
In the meantime, please use
--jdkhome path/to/jdk/installation
switch on IGV's commandline
Regards,
-Svata
More information about the graal-dev
mailing list