Shanedell commented on issue #386: URL: https://github.com/apache/daffodil-vscode/issues/386#issuecomment-1353296756
@scholarsmate ah gotcha. But still based on what @mbeckerle stated, I think we do want to use whatever runtime is installed and set as the default on the host. As if he is using JDK 19 testing a local daffodil version it would probably be easier that the debugger is compiled using his hosts default JDK. As using this Red Hat extension to be able to do that he would then need to go through and specify settings for where the JDK is at and make sure it is the one that is going to be used. But to that same point I am unaware of how we would be able to use the extensions provided JDK to run our Scala servers. This is because the scripts for running the servers are based on what the value of `bundled_jvm` and/or `JAVA_HOME` are set to. So, to be able to use this extension we would need to find the path to the extensions provided JDK and make sure to set one of those ENV's to that value or if they specify an alternative runtime, as mentioned in the doc linked, we would need to read in those settings, grab the version desired then pass into the script. So, I believe trying to do this will cause more work to be able to get the servers to run for both a developer and a regular user. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
