Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java8 support #475

Merged
merged 13 commits into from
Apr 2, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added some documentation explaining how to install both Java 7 and Java
8 to support our use of retrolambda.
  • Loading branch information
dchambers committed Mar 30, 2014
commit a7bddaedd10de02eab9b0408d5169cb04bb0bd8b
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@ If you are interested in contributing to the BRJS core toolkit then the followin

You may need to run `git submodule sync` and `git submodule update` when changing branches if submodules have changed.

#### Install JDK

BRJS is written and compiled using Java 8, but we distribute it and run the tests against it using Java 7, courtesy of [retrolambda](https://github.com/orfjackal/retrolambda). Because of this, you will need to do the following:

* Install both Java 7 and Java 8 JDKs.
* Configure `JAVA7_HOME` to point to the Java 7 JDK home directory.
* Configure `JAVA8_HOME` to point to the Java 8 JDK home directory.
* Configure `JAVA_HOME` to point to either the Java 7 or the Java 8 JDK home directory, as you prefer.
* Configure the `path` environment variable to include `$JAVA_HOME/bin`.


#### Build a Distributable Zip

From the root `brjs` source directory:
Expand Down