Commit d2922b2e authored by Kunshan Wang's avatar Kunshan Wang

Notes for Mac OS X and JDK.

parent 5ecd431e
...@@ -84,6 +84,22 @@ cc `/path/to/refimpl2-config --cflags` -fPIC -shared -o libmyclient.so my_client ...@@ -84,6 +84,22 @@ cc `/path/to/refimpl2-config --cflags` -fPIC -shared -o libmyclient.so my_client
The `MuVM` struct has an extra non-standard function `execute()`. See The `MuVM` struct has an extra non-standard function `execute()`. See
[../README.md](../README.md) for more details. [../README.md](../README.md) for more details.
## Notes for Mac OS X
You need to download the JDK from Oracle, preferably JDK 8. Set `JAVA_HOME` to
the output of `/usr/libexec/java_home`, or wherever your preferred JRE is. The
following command should work:
```bash
export JAVA_HOME=$(/usr/libexec/java_home)
```
When you upgraded the OS X operating system, and you run `test_client`, it may
complain "No Java runtime present, requesting install" and "To use the java
command-line tool you need to install a JDK". Do what it says. Click the "More
Info..." button and install the legacy Java 6 from Apple. Your `test_client`
will still use your chosen JRE.
<!-- <!--
vim: tw=80 vim: tw=80
--> -->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment