Skip to content

Commit

Permalink
labsjdk -> openjdk
Browse files Browse the repository at this point in the history
  • Loading branch information
dougxc committed May 8, 2019
1 parent 925ba4e commit b087bcb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions compiler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ If you don't have a JDK that satisfies the requirement of a versioned project, t

If you want to develop on a single JDK version, you only need to define `JAVA_HOME`. For example:
```
export JAVA_HOME=/usr/lib/jvm/labsjdk1.8.0_202-jvmci-0.59
export JAVA_HOME=/usr/lib/jvm/openjdk1.8.0_202-jvmci-0.59
```
or:
```
Expand All @@ -44,12 +44,12 @@ If you want to ensure your changes will pass both JDK 8 and JDK 11 gates, you ca
For example, to develop for JDK 8 while ensuring `mx build` still works with the JDK 11 specific sources:

```
export JAVA_HOME=/usr/lib/jvm/labsjdk1.8.0_172-jvmci-0.46
export JAVA_HOME=/usr/lib/jvm/openjdk1.8.0_202-jvmci-0.59
export EXTRA_JAVA_HOMES=/usr/lib/jvm/jdk-11
```
And on macOS:
```
export JAVA_HOME=/Library/Java/JavaVirtualMachines/labsjdk1.8.0_172-jvmci-0.46/Contents/Home
export JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk1.8.0_202-jvmci-0.59/Contents/Home
export EXTRA_JAVA_HOMES=/Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home
```
If you omit `EXTRA_JAVA_HOMES` in the above examples, versioned projects depending on the specified JDK(s) will be ignored.
Expand Down
2 changes: 1 addition & 1 deletion substratevm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Substrate VM is a framework that allows ahead-of-time (AOT) compilation of Java

## Quick start

Install [mx](https://github.com/graalvm/mx) and point `JAVA_HOME` to a [labsjdk](http://www.oracle.com/technetwork/oracle-labs/program-languages/downloads/index.html) or a openjdk from [this location](https://github.com/graalvm/openjdk8-jvmci-builder/releases).
Install [mx](https://github.com/graalvm/mx) and point `JAVA_HOME` to a JVMCI-enabled JDK8 downloaded from [here](http://www.oracle.com/technetwork/oracle-labs/program-languages/downloads/index.html) or [here](https://github.com/graalvm/openjdk8-jvmci-builder/releases).

For compilation `native-image` depends on the local toolchain, so make sure: `glibc-devel`, `zlib-devel` (header files for the C library and `zlib`) and `gcc` are available on your system.
Building images on Windows is still experimental.
Expand Down
8 changes: 4 additions & 4 deletions sulong/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,14 @@ Next, use git to clone the Sulong project and its dependencies:
git clone https://github.com/oracle/graal

Next, you need to download a recent
[labsjdk](http://www.oracle.com/technetwork/oracle-labs/program-languages/downloads/index.html).
[JVMCI-enabled JDK8](https://github.com/graalvm/openjdk8-jvmci-builder/releases).
Extract it inside the `sulong-dev` directory:

tar -zxf labsjdk-8u172-jvmci-0.54-linux-amd64.tar.gz
tar -zxf openjdk1.8.0_202-jvmci-0.59-linux-amd64.tar.gz

Set `JAVA_HOME` to point to the extracted labsjdk from above:
Set `JAVA_HOME` to point to the extracted JDK from above:

echo JAVA_HOME=`pwd`/labsjdk1.8.0_172-jvmci-0.54 > graal/sulong/mx.sulong/env
echo JAVA_HOME=`pwd`/openjdk1.8.0_202-jvmci-0.59 > graal/sulong/mx.sulong/env

Sulong partially consists of C/C++ code that is compiled using `make`. To speed
up the build process you can edit the `MAKEFLAGS` environment variable:
Expand Down
2 changes: 1 addition & 1 deletion tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ language launchers. Some tools have their [APIs](http://www.graalvm.org/tools/ja

Graal uses the [MX build tool](https://github.com/graalvm/mx/), which must be downloaded
and put onto your PATH. Also, point `JAVA_HOME` to a
[labsjdk](http://www.oracle.com/technetwork/oracle-labs/program-languages/downloads/index.html).
[JVMCI-enabled JDK8](https://github.com/graalvm/openjdk8-jvmci-builder/releases).

```bash
git clone https://github.com/graalvm/mx.git
Expand Down

0 comments on commit b087bcb

Please sign in to comment.