From 69c02bd742439adcc5102f8a4abd3047f9042c00 Mon Sep 17 00:00:00 2001 From: Werner Keil Date: Sat, 5 Oct 2024 01:48:40 +0200 Subject: [PATCH] 113: Update Valhalla demos Task-Url: https://github.com/unitsofmeasurement/uom-demos/issues/113 --- README.md | 2 +- lang/valhalla/README.md | 8 ++++---- lang/valhalla/settings-template.xml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 997e0ff7..cea92a10 100644 --- a/README.md +++ b/README.md @@ -13,13 +13,13 @@ The project currently contains the following modules: - [Basic Console Demos](console/basic) - [Java 12 Console Demos](console/java12) - [Java 17 Console Demos](console/java17) - - [Valhalla Demos](console/valhalla) (**Early-Access Build**) - [System Specific demos](console/systems) - [Desktop Demos](desktop) - [JavaFX Demos](desktop/javafx) - [FXlib Demo Application](desktop/javafx/fxlib) (**Uses OpenJFX**) - [Language Specific Demos](lang) - [Kotlin Repl Demos](lang/repl) + - [Valhalla Demos](lang/valhalla) (**Early-Access Build**) - [Device Specific demos](device) - [Hello Edison for Intel Edison IoT Devices](device/edison/hello) - [Domain Specific demos](domain) diff --git a/lang/valhalla/README.md b/lang/valhalla/README.md index 9fdd4e5e..e16fad2d 100644 --- a/lang/valhalla/README.md +++ b/lang/valhalla/README.md @@ -7,13 +7,13 @@ Project Valhalla Demos This project explores, how JDK [Project Valhalla](https://jdk.java.net/valhalla/) may work with Unit API. -see [uom-demos#71](https://github.com/unitsofmeasurement/uom-demos/issues/71) +see [uom-demos#113](https://github.com/unitsofmeasurement/uom-demos/issues/113) How to Run ------------------------------------- To run this demo: - First you need to download and install a Valhalla Early-Access Build from [Project Valhalla](https://jdk.java.net/valhalla/) -- Because of various Maven plugins not supporting Java 14 out of the box yet, please copy [settings-template.xml](settings-template.xml) to `settings.xml`. -- Change `Path-to-your/jdk-14/bin` in the new file to the `bin` folder of your Java 14 Early-Access installation. +- Because some Maven plugins don't support the Valhalla Early-Access Build out of the box yet, please copy [settings-template.xml](settings-template.xml) to `settings.xml`. +- Change `Path-to-your/valhalla-early-access/bin` in the new file to the `bin` folder of your Valhalla Early-Access installation. -After that you should be able to run the most common Maven goals like `package` or `test` from your IDE or the command line. Using Maven it should not matter which JDK you use to launch it, because the plugins will automatically use the required Early-Access JDK. If you want to run `ValhallaDemo` directly instead of the Maven goal `exec:exec` please add the JDK 14 Early-Access installation as JRE/SDK to your IDE, or adjust your `JAVA_HOME` in the command line. \ No newline at end of file +After that you should be able to run the most common Maven goals like `package` or `test` from your IDE or the command line. Using Maven it should not matter which JDK you use to launch it, because the plugins will automatically use the required Early-Access JDK. If you want to run `ValhallaDemo` directly instead of the Maven goal `exec:java` please add the Valhalla Early-Access installation as JRE/SDK to your IDE, or adjust your `JAVA_HOME` in the command line. \ No newline at end of file diff --git a/lang/valhalla/settings-template.xml b/lang/valhalla/settings-template.xml index 0e456eba..c573a522 100644 --- a/lang/valhalla/settings-template.xml +++ b/lang/valhalla/settings-template.xml @@ -3,7 +3,7 @@ set-java-path - Path-to-your/jdk-14/bin + Path-to-your/valhalla-early-access/bin