4WvgqJu commented on issue #8688:
URL: https://github.com/apache/netbeans/issues/8688#issuecomment-3138840714

   > > Incidentally, `/usr/libexec/java_home -V` will list the actual folders 
that contain system-installed JDKs that can be set as `JAVA_HOME`, and the 
locations for those that can be registered in NetBeans.
   > > We could possibly add a better information message in this wizard, but 
with [#8682](https://github.com/apache/netbeans/pull/8682) the bulk of this 
issue is fixed.
   > 
   > That's my configuration now
   > 
   > ```
   > folkert@MacBook-Pro-von-Folkert Documents % /usr/libexec/java_home -V      
    
   > Matching Java Virtual Machines (3):
   >     23.0.1 (arm64) "Homebrew" - "OpenJDK 23.0.1" 
/opt/homebrew/Cellar/openjdk/23.0.1/libexec/openjdk.jdk/Contents/Home
   >     21.0.8 (arm64) "Eclipse Adoptium" - "OpenJDK 21.0.8" 
/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home
   >     11.0.27 (arm64) "Homebrew" - "OpenJDK 11.0.27" 
/opt/homebrew/Cellar/openjdk@11/11.0.27/libexec/openjdk.jdk/Contents/Home
   > /opt/homebrew/Cellar/openjdk/23.0.1/libexec/openjdk.jdk/Contents/Home
   > folkert@MacBook-Pro-von-Folkert Documents % 
   > ```
   > 
   > and no JAVA_HOME was required until yet
   > 
   > ```
   > folkert@MacBook-Pro-von-Folkert Documents % env | grep JAVA_HOME
   > folkert@MacBook-Pro-von-Folkert Documents % 
   > ```
   > 
   > Is JAVA_HOME reality? I thought it is shifted somewhere into Limbo! But 
I'm wrong[ java_home and 
JAVA_HOME](https://medium.com/notes-for-geeks/java-home-and-java-home-on-macos-f246cab643bd)
   > 
   > and
   > 
   > ```
   > folkert@MacBook-Pro-von-Folkert Documents % /usr/libexec/java_home --exec 
java -version
   > openjdk version "23.0.1" 2024-10-15
   > OpenJDK Runtime Environment Homebrew (build 23.0.1)
   > OpenJDK 64-Bit Server VM Homebrew (build 23.0.1, mixed mode, sharing)
   > ```
   
   I get it! We're all wrong!
   
   <img width="468" height="563" alt="Image" 
src="https://github.com/user-attachments/assets/146d79fc-ab04-4508-9f95-64e6d123d594";
 />
   
   <img width="933" height="607" alt="Image" 
src="https://github.com/user-attachments/assets/6c308964-8eb6-4c01-8a68-0c1a48a7fe42";
 />


-- 
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: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to