Re: Use of java (specifically on older macOS)

2022-01-03 Thread Gerben Wierda via macports-users
I’m getting back to this because (a) I’m still confused and (b) I had a local disaster which kept me form getting back to it > On 13 Dec 2021, at 04:02, Steven Smith wrote: > > Java figures out which version to use from JAVA_HOME or > /Library/Java/JavaVirtualMachines. Are you sure that’s not

Re: Use of java (specifically on older macOS)

2021-12-14 Thread Steven Smith
Please see https://github.com/macports/macports-ports/pull/13353 , which sets SOLR_JAVA_HOME to accomplish this. > On Dec 12, 2021, at 6:18 PM, Gerben Wierda via macports-users > wrote: > > Which means that MacPorts solr8 runs using macOS

Re: Use of java (specifically on older macOS)

2021-12-12 Thread Richard L. Hamilton
BTW, in Xcode.app bundle (12.4), /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/share/OSGi-Bundles/org.apache.logging.log4j.core-2.11.2.jar I imagine that will be getting updated not long after they realize it's there. > On Dec 12, 2021, at 22:

Re: Use of java (specifically on older macOS)

2021-12-12 Thread Steven Smith
Java figures out which version to use from JAVA_HOME or /Library/Java/JavaVirtualMachines. Are you sure that’s not a MacPorts version? My native macOS java binary runs the last LTS jdk from MacPorts: > sudo -u solr /usr/bin/java -version > openjdk version "11.0.13" 2021-10-19 > OpenJDK Runtime E

Re: Use of java (specifically on older macOS)

2021-12-12 Thread Ryan Schmidt
On Dec 12, 2021, at 19:10, Christopher Chavez wrote: >> And shouldn’t ports that use java not depend on a java that comes with (old, >> outdated) java’s in macOS? But install and use an open source version >> instead? Or use the one from Oracle if available? > > Because JDK is not a lightweight

Re: Use of java (specifically on older macOS)

2021-12-12 Thread Christopher Chavez
Sent: Monday, December 13, 2021 at 12:18 AM From: "Gerben Wierda" > Which means that MacPorts solr8 runs using macOS native java and not one from > MacPorts itself. I thought the MacPorts stuff was supposed to be fully > independent (except for Xcode). The JDK ports are an exception in that the

Use of java (specifically on older macOS)

2021-12-12 Thread Gerben Wierda via macports-users
While looking at my systems because of the log4j security issues I noticed the following: I am running solr8 as part of my MacPorts mail server setup and it shows up like this: $ ps laxww|grep java 504 50615 50613 0 20 0 7594340 1316684 - S ?? 97:31.56 /usr/bin/java -server