I’ve been running BaseX webapp under Tomcat using either OpenJDK 8 or 11 on Mac. But I just checked, and the BaseX GUI and command line programs, which I installed using HomeBrew use the OpenJDK installed by HomeBrew, so it appears I’ve been running that variously under OpenJDK 8,11,12 and now 15.
JAVA_HOME="/usr/local/opt/openjdk" exec "/usr/local/Cellar/basex/9.5.1/libexec/bin/basex" "$@“
/usr/local/opt/openjdk@ -> ../Cellar/openjdk/15.0.2
— Steve M.
On Apr 17, 2021, at 2:15 PM, Peter Villadsen Peter.Villadsen@microsoft.com wrote:
I have installed OpenJDK on one machine so far, and it seems to work well on windows. Thanks to those who helped make these suggestions.
Best Regards
Peter Villadsen
-----Original Message----- From: Graydon graydonish@gmail.com Sent: Friday, April 16, 2021 11:20 PM To: Peter Villadsen Peter.Villadsen@microsoft.com Cc: BaseX basex-talk@mailman.uni-konstanz.de Subject: [EXTERNAL] Re: [basex-talk] Using other Java runtimes?
On Fri, Apr 16, 2021 at 09:39:46PM +0000, Peter Villadsen scripsit:
I was wondering what the options are for running BaseX on top of a runtime that is different from the Oracle one? I see Oracle is aggressively monetizing the Java runtime, but I know there are alternatives out there. Have any been tested with BaseX?
I can't talk about _tested_, but I've been using BaseX on Fedora for a decade now, and it's been fine as Fedora shifted to OpenJDK pacakages to provide Java. Current happens to be openjdk 11.0.10 2021-01-19.
I'm also not running any server anything; this is pretty strictly command line or gui with not that much data (at most single-digit GB) and not-that-complex queries, so this isn't a comprehensive thing, but for at least those purposes I can say BaseX works fine on the OpenJDK.
-- Graydon Saunders | graydonish@gmail.com Þæs oferéode, ðisses swá mæg. -- Deor ("That passed, so may this.")