Issues building graal-jvmci-8 with Cygwin

Jorn Vernee jbvernee at xs4all.nl
Fri Nov 9 09:18:38 UTC 2018


Hi,

Using the .exe is fine. I only tried out cygwin with the launch script 
since I found the .exe afterwards.

Using the --jdkhome option works, where should I file the bug that IGV 
doesn't run with Java 10+?

Btw, I was also able to build IGV from the sources included with the 
OpenJDK, but that version seems to be obsolete since it didn't recognize 
the graphs outputted by the current version of Graal included with the 
JDK. Or is that version of IGV only suited for C2 graphs? Is there 
anywhere I can get a standalone version of IGV as well?

Thanks,
Jorn

Svata Dedic schreef op 2018-11-09 09:31:
> 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