From 332f2ec084b39cd108281dd0c62ef0661fa72103 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 3 Nov 2018 12:26:04 +0100 Subject: [PATCH] jdk 11 --- README.md | 16 ++++++++-------- pom.xml | 21 ++++++++++++++++++--- 2 files changed, 26 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 4aa0619e..9eafa7da 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ For more information please use the bundled help from the board editor. ## Here are some instructions how to run the Freerouting project in the NetBeans IDE -1. Download and install [Oracle JDK 9](http://www.oracle.com/technetwork/java/javase/downloads/index.html), next download and install [Development version of NetBeans IDE](http://bits.netbeans.org/download/trunk/nightly/latest/) +1. Download and install [Oracle JDK 11](http://www.oracle.com/technetwork/java/javase/downloads/index.html), next download and install [Development version of NetBeans IDE](http://bits.netbeans.org/download/trunk/nightly/latest/) 2. Start the NetBeans IDE and select File | Open Project in the pull down menu and select freeroute project. 3. Build the project. The router should run now. @@ -40,15 +40,15 @@ Install maven sudo dnf install maven ``` -Install [Oracle JDK & JRE 9](http://www.oracle.com/technetwork/java/javase/downloads/index.html) +Install [Oracle JDK & JRE 11](http://www.oracle.com/technetwork/java/javase/downloads/index.html) ```bash -tar xzvf jdk-9.0.1_linux-x64_bin.tar.gz -C /usr/java +tar xzvf jdk-11_linux-x64_bin.tar.gz -C /usr/java su -c chown -R root:root /usr/java su -c chown -R +x /usr/java/bin -su -c pdate-alternatives --install /usr/bin/java java /usr/java/jdk1.9*/bin/java 1065 -su -c update-alternatives --install /usr/bin/javac javac /usr/java/jdk1.9*/bin/javac 1065 -su -c update-alternatives --install /usr/bin/jar jar /usr/java/jdk1.9*/bin/jar 1065 -su -c update-alternatives --install /usr/bin/javaws javaws /usr/java/jdk1.9*/bin/javaws 1065 +su -c pdate-alternatives --install /usr/bin/java java /usr/java/jdk-11*/bin/java 1065 +su -c update-alternatives --install /usr/bin/javac javac /usr/java/jdk-11*/bin/javac 1065 +su -c update-alternatives --install /usr/bin/jar jar /usr/java/jdk-11*/bin/jar 1065 +su -c update-alternatives --install /usr/bin/javaws javaws /usr/java/jdk-11*/bin/javaws 1065 su -c update-alternatives --config java ``` @@ -75,7 +75,7 @@ java -jar freeroute-[version]-jar-with-dependencies.jar ``` ### OS X -Download and install [Oracle JDK & JRE 9](http://www.oracle.com/technetwork/java/javase/downloads/index.html) +Download and install [Oracle JDK & JRE 11](http://www.oracle.com/technetwork/java/javase/downloads/index.html) Install Apache Maven. https://maven.apache.org/ diff --git a/pom.xml b/pom.xml index 28c5f6d4..39390058 100644 --- a/pom.xml +++ b/pom.xml @@ -13,8 +13,8 @@ UTF-8 net.freerouting.freeroute.FreeRouting - 9 - 9 + 11 + 11 @@ -113,7 +113,7 @@ maven-compiler-plugin 3.8.0 - 9 + 11 -verbose -Xlint:all,-options,-path @@ -298,6 +298,21 @@ + + org.openjfx + javafx-controls + 11 + + + org.openjfx + javafx-fxml + 11 + + + org.openjfx + javafx-swing + 11 + junit junit