From dc0df76c9924b80ee3ebba20722aa6fbfd6d7308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Trondsen?= Date: Fri, 8 May 2020 10:55:37 +0200 Subject: [PATCH] Update README.md --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1474da2..4cb58a0 100644 --- a/README.md +++ b/README.md @@ -15,14 +15,12 @@ This project uses: * Run Jar * Go to the root of the project - * Run: ```java -cp target/factory-robots-1.0-SNAPSHOT.jar inf112.app.Main``` - + * Run: + * Windows/Linux: ```java -cp target/factory-robots-1.0-SNAPSHOT.jar inf112.app.Main``` + * Mac OS: ```java -XstartOnFirstThread -cp target/factory-robots-1.0-SNAPSHOT.jar inf112.app.Main``` ## Known bugs - Currently throws "WARNING: An illegal reflective access operation has occurred", when the java version used is >8. This has no effect on function or performance, and is just a warning. -- Exception when using Mac OS: Please run the JVM with -XstartOnFirstThread. For example:
-```java -XstartOnFirstThread -cp target/factory-robots-1.0-SNAPSHOT.jar inf112.app.Main``` - - In-game click listners does not work correctly when stretching the game beyond it original size. Work around: Resize the window below 1000 pixels in width for it to work correctly again.