<div dir="ltr">Hope this is the right place to ask this question...If there was some IRC, Slack, or some other form of chat I would direct it there...<div><br></div><div>I am trying to build openjfx from master per <a href="https://wiki.openjdk.org/display/OpenJFX/Building+OpenJFX">https://wiki.openjdk.org/display/OpenJFX/Building+OpenJFX</a> </div><div><br></div><div>Using </div><div><ol><li>Cygwin in Windows 11 environment with specified add ons setup.  </li><li>Visual Studio 2022 Community in use, setting the 

<span style="color:rgb(0,0,0);font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;font-size:14px">VS150COMNTOOLS to subfolder under this </span></li><ol><li><span style="color:rgb(0,0,0);font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;font-size:14px">Is this acceptable or should a different variable be used here? </span></li><li><span style="color:rgb(0,0,0);font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;font-size:14px">Does ./vcvarsall.bat need to be called to set applicable VisualStudio variables, etc.)?</span></li></ol><li>I'm using SDKMAN to manage my JDKs in the Cygwin environment.<br></li></ol></div><div>Attempting the basic sh gradlew tasks command I'm getting </div><div><br></div><div>Build file 'C:\git\jfx\jfx\build.gradle' line: 693<br><br>* What went wrong:<br>A problem occurred evaluating root project 'jfx'.<br>> Missing or incorrect path to 'java': '\home\<userHome>\.sdkman\candidates\java\current\bin\java.exe'. Perhaps bad JDK_HOME? /home/

<userHome>  /.sdkman/candidates/java/current<br></div><div><br></div><div>In the build.gradle, the above issue occurs here</div><div><br></div><div>// Make sure JDK_HOME/bin/java exists<br>if (!file(JAVA).exists()) throw new Exception("Missing or incorrect path to 'java': '$JAVA'. Perhaps bad JDK_HOME? $JDK_HOME")<br></div><div><br></div><div>My environment variables are set like:</div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>$ echo $JAVA_HOME<br></div><div>/home/<userhome>/.sdkman/candidates/java/current<br><br></div><div>$ echo $JDK_HOME<br>/home/

<userhome>  /.sdkman/candidates/java/current<br></div><div><br></div><div>In the bin of the above there is the following which appears to have "java.exe" so not sure why this is happening.</div><div><br></div><div> ~/.sdkman/candidates/java/current/bin<br>$ ls -l java*<br>-rwxrwxr-x 1 146824 Apr 18 17:39 java.dll<br>-rwxrwxr-x 1 50056 Apr 18 17:39 java.exe<br>-rwxrwxr-x 1 287624 Apr 18 17:39 javaaccessbridge.dll<br>-rwxrwxr-x 1 23944 Apr 18 17:39 javac.exe<br>-rwxrwxr-x 1 23944 Apr 18 17:39 javadoc.exe<br>-rwxrwxr-x 1 179080 Apr 18 17:39 javajpeg.dll<br>-rwxrwxr-x 1 23944 Apr 18 17:39 javap.exe<br>-rwxrwxr-x 1 50056 Apr 18 17:39 javaw.exe<br></div><div><br></div><div>Not sure if this is due to the way sdkman creates a symbolic link from "current" to given candidate or if there is some "pathing differences" (i.e. Windows C:\\someplace" vs /c/someplace, etc.) issue.</div><div><div><br></div>Has anyone had similar issues and/or know how to get around this?</div><div><br></div><div>Eric Bresie<br><a href="mailto:ebresie@gmail.com" target="_blank">ebresie@gmail.com</a><br></div></div></div></div></div>