mthmulders commented on PR #14:
URL: 
https://github.com/apache/maven-toolchains-plugin/pull/14#issuecomment-1972961108

   > @mthmulders Do you know which paths they are installed to ?
   
   ```
   [INFO] Found 1 possible jdks: [C:\Users\<windows 
username>\scoop\apps\openjdk21\21.0.2-13]
   [INFO] Discovered 1 JDK toolchains:
   [INFO]   - C:\Users\<windows username>\scoop\apps\openjdk21\21.0.2-13
   [INFO]     provides:
   [INFO]       version: 21.0.2
   [INFO]       runtime.name: OpenJDK Runtime Environment
   [INFO]       runtime.version: 21.0.2+13-58
   [INFO]       vendor: Oracle Corporation
   [INFO]       current: true
   [INFO]       lts: true
   [INFO]       env: JAVA_HOME
   ```
   
   But what I have on disk (reported on Git Bash, hence /c/, but you get the 
idea):
    
   ```
   $ pwd
   /c/Users/<windows username>/scoop/apps
   $ ls -l openjdk*/
   openjdk17/:
   total 4
   drwxr-xr-x 1 <windows username> 4096  0 Oct 27 08:27 17.0.2-8/
   lrwxrwxrwx 1 <windows username> 4096 46 Oct 27 08:27 current -> 
/c/Users/<windows username>/scoop/apps/openjdk17/17.0.2-8/
    
   openjdk21/:
   total 8
   drwxr-xr-x 1 <windows username> 4096  0 Oct 27 08:29 21.0.1-12/
   drwxr-xr-x 1 <windows username> 4096  0 Feb 15 09:05 21.0.2-13/
   lrwxrwxrwx 1 <windows username> 4096 47 Feb 15 09:05 current -> 
/c/Users/<windows username>/scoop/apps/openjdk21/21.0.2-13/
   ```
   
   So, generally speaking, the path is `C:\Users\<windows 
username>\scoop\apps\openjdk<major version>\<full version>\`, and for 
convenience, there's a symlink `C:\Users\<windows 
username>\scoop\apps\openjdk<major version>\current\` that points to the latest 
installed version for that major release.
   
   They're all installed from https://github.com/ScoopInstaller/Java, by the 
way.


-- 
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]

Reply via email to