'Facing an error when trying to install rJava in Azure Data Bricks
Error in dyn.load("/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so") No such file or directory. Facing this error in Azure Databricks.
Solution 1:[1]
It's well documented in the Azure Databricks knowledge base. Because rJava depends on the specific locations, you need to perform some magic with symlinks before installing rJava (this could be done via init script as well):
%sh
ls -l /usr/bin/java
ls -l /etc/alternatives/java
ln -s /usr/lib/jvm/java-8-openjdk-amd64 /usr/lib/jvm/default-java
R CMD javareconf
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Alex Ott |
