Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
electronstudio committed Nov 30, 2021
1 parent aace442 commit f1034a7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ repositories {
}
dependencies {
implementation 'uk.co.electronstudio.jaylib:jaylib:3.7.+'
implementation 'uk.co.electronstudio.jaylib:jaylib-natives-windows-x86_64:3.7.+'
implementation 'uk.co.electronstudio.jaylib:jaylib-natives-macosx-x86_64:3.7.+'
implementation 'uk.co.electronstudio.jaylib:jaylib-natives-linux-x86_64:3.7.+'
implementation 'uk.co.electronstudio.jaylib:jaylib:4.0.+'
implementation 'uk.co.electronstudio.jaylib:jaylib-natives-windows-x86_64:4.0.+'
implementation 'uk.co.electronstudio.jaylib:jaylib-natives-macosx-x86_64:4.0.+'
implementation 'uk.co.electronstudio.jaylib:jaylib-natives-linux-x86_64:4.0.+'
}
Expand Down Expand Up @@ -90,19 +90,19 @@ public class Demo {

Compile it:

javac -cp jaylib-3.7.0.jar:jaylib-natives-linux-x86_64-3.7.0.jar Demo.java
javac -cp jaylib-4.0.0-0.jar:jaylib-natives-linux-x86_64-4.0.0-0.jar Demo.java

Run it:

java -cp jaylib-3.7.0.jar:jaylib-natives-linux-x86_64-3.7.0.jar:. Demo
java -cp jaylib-4.0.0-0.jar:jaylib-natives-linux-x86_64-4.0.0-0.jar:. Demo

On MacOS you need this additional option:

java -XstartOnFirstThread -cp jaylib-3.7.0.jar:jaylib-natives-macosx-x86_64-3.7.0.jar:. Demo
java -XstartOnFirstThread -cp jaylib-4.0.0-0.jar:jaylib-natives-macosx-x86_64-4.0.0-0.jar:. Demo

On weirdy Windows you use semi-colons:

java -cp jaylib-3.7.0.jar;jaylib-natives-windows-x86_64-3.7.0.jar;. Demo
java -cp jaylib-4.0.0-0.jar;jaylib-natives-windows-x86_64-4.0.0-0.jar;. Demo

## Known issues

Expand Down

0 comments on commit f1034a7

Please sign in to comment.