Update java.md

Added step to run the program correctly
pull/5529/head
Suyash Joshi 2024-07-23 16:51:15 +01:00 committed by GitHub
parent 711451d4e0
commit 9a71e78b34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -91,3 +91,11 @@ public class HelloInfluxDB {
}
}
```
## Running the program
Build the project and then run the executable .jar file with this [JVM Flag](https://arrow.apache.org/docs/java/install.html).
<br/><br/>
**Example:**
```sh
java --add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED -jar target/{your-jar-file}.jar
```