mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-24 22:58:23 +01:00
* Upgrade to JDK11 Eclair can be built and used on Oracle JDK 1.8 or OpenJDK 11. JavaFX is now embedded in eclair-node-gui and does not need to be installed separately. * Install: update java download links OpenJDK 11 is now our recommendation. Tell users to download java from https://jdk.java.net/11 * README: Rewrite installation instructions
26 lines
685 B
Markdown
26 lines
685 B
Markdown
# Building Eclair
|
|
|
|
## Requirements
|
|
- [OpenJDK 11](https://jdk.java.net/11/).
|
|
- [Maven](https://maven.apache.org/download.cgi) 3.5.4 or newer
|
|
- [Docker](https://www.docker.com/) 18.03 or newer (optional) if you want to run all tests
|
|
|
|
:warning: You can also use [Oracle JDK 1.8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) to build and run eclair, but we recommend you use Open JDK11.
|
|
|
|
## Build
|
|
To build the project, simply run:
|
|
```shell
|
|
$ mvn install
|
|
```
|
|
|
|
#### Other build options
|
|
|
|
To skip all tests, run:
|
|
```shell
|
|
$ mvn install -DskipTests
|
|
```
|
|
To only build the `eclair-node` module
|
|
```shell
|
|
$ mvn install -pl eclair-node -am -DskipTests
|
|
```
|
|
|