OHDSI Home | Forums | Wiki | Github

Does Usagi require Oracle Java 1.8? Can I use OpenJDK or Amazon Corretto?

(Tim Quinn) #1

We’re trying to install Usagi on a multi-user Windows server on which most users do not have admin privileges.

Because of Oracle’s new (unfortunate) stance on licensing the Java Platform Standard Edition in production environments, we only have OpenJDK 12 and Amazon Corretto 8 installed on this Windows server.

Apparently, Usagi doesn’t like this. It fails to parse our Athena files into the required BerkeleyDB and Apache Lucene files (in the sleepyCat and mainIndex directories, respectively). It hangs on the initial dialog box warning us that this one-time indexing process may take a while. (We let it run for more than 48 hours before killing it.)

In comparison, Usagi indexed our Athena files in about 20 minutes running locally on a laptop with Oracle Java 8 (version 1.8) installed.

Any guidance from the Usagi gurus like @MaximMoinat?

(Maxim Moinat) #2

Thanks for also reporting the issue on Github and sharing your solution as well there. Great to read that you could solve it. Just adding the link to the issue here for others with the same problem: https://github.com/OHDSI/Usagi/issues/103