Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
electronstudio committed Apr 12, 2024
1 parent 38a0cf8 commit 3e8604f
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
@@ -1,4 +1,4 @@
# Jaylib - JNI bindings for [Raylib](https://github.com/raysan5/raylib/) 4.5 + RLGL + Raymath + Physac + RayGui
# Jaylib - JNI bindings for [Raylib](https://github.com/raysan5/raylib/) 5.0 + RLGL + Raymath + Physac + RayGui

JNI is the fastest kind of native binding for Java, but is difficult to write. Therefore
we are using [JavaCPP](https://github.com/bytedeco/javacpp) to automatically generate the bindings.
Expand All @@ -15,7 +15,7 @@ they are auto-generated. See [How To Build](#how-to-build)

## Platforms

4.5 release includes binaries for:
4.5+ release includes binaries for:
* Windows x86_64
* Macos x86_64
* Macos ARM64
Expand Down Expand Up @@ -46,7 +46,7 @@ Download [the Gradle example project](https://github.com/electronstudio/jaylib-e
```
dependencies {
implementation 'uk.co.electronstudio.jaylib:jaylib:4.5.+'
implementation 'uk.co.electronstudio.jaylib:jaylib:5.0.+'
}
```
Expand All @@ -59,7 +59,7 @@ dependencies {
<dependency>
<groupId>uk.co.electronstudio.jaylib</groupId>
<artifactId>jaylib</artifactId>
<version>[4.5.0,4.6)</version>
<version>[5.0.0,5.1)</version>
</dependency>
</dependencies>
Expand Down Expand Up @@ -106,19 +106,19 @@ public class Demo {

Compile it:

javac -cp jaylib-4.5.0-0.jar Demo.java
javac -cp jaylib-5.0.0-0.jar Demo.java

Run it:

java -cp jaylib-4.5.0-0.jar:. Demo
java -cp jaylib-5.0.0-0.jar:. Demo

On MacOS you need this additional option:

java -XstartOnFirstThread -cp jaylib-4.5.0-0.jar:. Demo
java -XstartOnFirstThread -cp jaylib-5.0.0-0.jar:. Demo

On weirdy Windows you use semi-colons:

java -cp jaylib-4.5.0-0.jar;. Demo
java -cp jaylib-5.0.0-0.jar;. Demo

## Known issues

Expand Down

0 comments on commit 3e8604f

Please sign in to comment.