You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If JAVA_HOME is set (e.g., by sdkman), and DTC_JAVA_HOME is explicitely set or computed by DTC, the latter should be used.
To Reproduce
Steps to reproduce the behavior:
Install local (DTC) Java: dtcw install java -> results in ~/.doctoolchain/jdk
Set JAVA_HOME to a different directory (or simply use SDKMAN
Run ./dtcw local generateSite -> Will use the Java from ${JAVA_HOME} instead of the one installed by step one.
On many systems/architectures this might work perfectly without problems. On Apple Silicon this might result in a Gradle error Can't load library: ... (since JBake still uses an x86_64 native library).
The text was updated successfully, but these errors were encountered:
Describe the bug
If JAVA_HOME is set (e.g., by sdkman), and DTC_JAVA_HOME is explicitely set or computed by DTC, the latter should be used.
To Reproduce
Steps to reproduce the behavior:
dtcw install java
-> results in~/.doctoolchain/jdk
./dtcw local generateSite
-> Will use the Java from${JAVA_HOME}
instead of the one installed by step one.Can't load library: ...
(since JBake still uses an x86_64 native library).The text was updated successfully, but these errors were encountered: