Glad that it works so far. I have just one caveat for OpenJDK 11: If you supply an absolute Windows path with forward slashes (such as C:/foo/bar) as part of the classpath, Java will try to make it absolute wrt the current working directory, resulting in something like java.nio.file.InvalidPathException: Illegal char <:> at index 49: c:\cygwin\home\gerrit\myproject\c:\foo\bar At least this is what we experienced with an XProc pipeline (XML Calabash and Saxon 9.8) about a year ago, when a customer tried to run it on OpenJDK 11. The issue doesn’t occur with Java versions 7, 8, 9, 13, or 15 (others not tested). Therefore I recommend not to use Java 11 on Windows. Use a more recent version, at least 13, instead.
Gerrit
On 17.04.2021 20:15, Peter Villadsen 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.")