Skip to content

Commit 5cf05fe

Browse files
committed
Update readme
1 parent 70898ea commit 5cf05fe

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,16 @@ For the native access this project uses [bridj](https://github.com/nativelibs4ja
77

88
## Compatibility
99
This library has support for java 8 and java 11 too.<br>
10-
<i>Note: if you use java 11 you have to pass this VM argument: `--add-exports javafx.graphics/com.sun.glass.ui=nativejavafx.taskbar`</i>
10+
11+
##### Using with java 11
12+
If you use java 11 you have to pass this VM argument: `--add-exports javafx.graphics/com.sun.glass.ui=nativejavafx.taskbar`.
13+
Also, you have to mention the `nativejavafx.taskbar` module in your `module-info.java` file:
14+
```java
15+
module YourModule {
16+
...
17+
requires nativejavafx.taskbar;
18+
}
19+
```
1120

1221
## Source code
1322
This project has two important branches:

0 commit comments

Comments
 (0)