Or build basex using openjdk.
On 9/18/17, 4:30 PM, "basex-talk-bounces@mailman.uni-konstanz.de on behalf of Kendall Shaw" <basex-talk-bounces@mailman.uni-konstanz.de on behalf of kendall.shaw@workday.com> wrote:
I don’t know if this helps. It could be because of openjdk vs oracle. In FileSystems.java in the oracle JDK getDefault loads:
sun.nio.fs.DefaultFileSystemProvider.create()
I imagine that openjdk wouldn’t use that, perhaps. So, maybe using the oracle JDK would work.
Kendall
On 9/18/17, 4:06 PM, "basex-talk-bounces@mailman.uni-konstanz.de on behalf of Liam R. E. Quin" <basex-talk-bounces@mailman.uni-konstanz.de on behalf of liam@w3.org> wrote:
It seems with the latest Java 1.8 - java-1.8.0-openjdk-headless-1.8.0.144-0.b01.el7_4.x86_64 on Centos 7, I can no longer drop a database, any ideas?
This is with both 8.5.3 and 8.6.6, and also with the latest snapshot, BaseX867-20170824.195627.zip
[[ $ bin/basexclient -p 1994 Username: admin Password: BaseX 8.6.6 [Client] Try 'help' to get more information. > open rdf Database 'rdf' was opened in 1.61 ms. > close Database 'rdf' was closed. > drop db rdf Improper use? Potential bug? Your feedback is welcome: Contact: basex-talk@mailman.uni-konstanz.de Version: BaseX 8.5.3 Java: Oracle Corporation, 1.8.0_131 OS: Linux, amd64 Stack Trace: java.lang.NoClassDefFoundError: Could not initialize class java.nio.file.FileSystems$DefaultFileSystemHolder at java.nio.file.FileSystems.getDefault(FileSystems.java:176) at java.nio.file.Paths.get(Paths.java:84) at org.basex.io.IOFile.toPath(IOFile.java:335) at org.basex.io.IOFile.delete(IOFile.java:243) at org.basex.io.IOFile.delete(IOFile.java:240) at org.basex.core.cmd.DropDB.drop(DropDB.java:77) at org.basex.core.cmd.DropDB.run(DropDB.java:46) at org.basex.core.Command.run(Command.java:253) at org.basex.core.Command.execute(Command.java:99) at org.basex.server.ClientListener.run(ClientListener.java:136)
> open rdf Database 'rdf' was opened in 1.56 ms. > xquery count(//image) 7370 Query executed in 68.2 ms. ]]
-- Liam Quin, W3C, https://urldefense.proofpoint.com/v2/url?u=http-3A__www.w3.org_People_Quin_&... Staff contact for Verifiable Claims WG, XQuery WG
Web slave for https://urldefense.proofpoint.com/v2/url?u=http-3A__www.fromoldbooks.org_&am...