Skip to content

Commit

Permalink
Update documentation for Java 17 requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
johngrimes committed May 21, 2024
1 parent d1c60b6 commit 5aa93dd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions lib/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,11 @@ Maven package. Once the cluster is restarted, the libraries should be available
for import and use within all notebooks.

By default, Databricks uses Java 8 within its clusters, while Pathling requires
Java 11. To enable Java 11 support within your cluster, navigate to __Advanced
Java 17. To enable Java 17 support within your cluster, navigate to __Advanced
Options > Spark > Environment Variables__ and add the following:

```bash
JNAME=zulu11-ca-amd64
JNAME=zulu17-ca-amd64
```

See the Databricks documentation on
Expand Down
15 changes: 8 additions & 7 deletions site/docs/libraries/installation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pip install pathling

### R

Prerequisites:
Prerequisites:

- R >= 3.5.0 (tested with 4.3.1)

Expand Down Expand Up @@ -48,6 +48,7 @@ To add the Pathling library to your project, add the following to
your `pom.xml`:

```xml

<dependency>
<groupId>au.csiro.pathling</groupId>
<artifactId>library-runtime</artifactId>
Expand All @@ -57,11 +58,11 @@ your `pom.xml`:

### Java Virtual Machine

All variants of the Pathling library require version 11 of a Java Virtual
Machine (JVM) to be installed. We recommend
using Azul OpenJDK, you can download installers for all major operating systems
at the [Azul OpenJDK](https://www.azul.com/downloads/?version=java-11-lts) web
site.
All variants of the Pathling library require version 17 of a Java Virtual
Machine (JVM) to be installed. We recommend using Azul OpenJDK, you can download
installers for all major operating systems at
the [Azul OpenJDK](https://www.azul.com/downloads/?version=java-17-lts#zulu)
website.

Ensure that the `JAVA_HOME` environment variable is set to the location of the
installation of Java 11.
installation of Java 17.
4 changes: 2 additions & 2 deletions site/docs/libraries/installation/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ hadoop
If this executes successfully, finding the Hadoop executable and printing the
help text, then the variables have been set correctly.

As with other operating systems, you also need to have Java 11 installed and
As with other operating systems, you also need to have Java 17 installed and
the `JAVA_HOME` environment variable set to its installation location. We
recommend
the [Azul Zulu installer for Windows](https://www.azul.com/downloads/?version=java-11-lts&os=windows&package=jdk#zulu).
the [Azul Zulu installer for Windows](https://www.azul.com/downloads/?version=java-17-lts&os=windows&package=jdk#zulu).

0 comments on commit 5aa93dd

Please sign in to comment.