File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ Display size: 1200 x 825
6666[INFO] ------------------------------------------------------------------------
6767```
6868
69- ### Run the sample on macOS
69+ ### Run on macOS
7070
7171In order to run the sample with root privileges, the best approach is to build it first without
7272root privileges and then run it as root without Maven:
@@ -81,6 +81,6 @@ $ sudo -i
8181Password:
8282$ cd /Users/me/Documents/JavaDoesUSB/examples/epaper_display
8383$ export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-20.jdk/Contents/Home
84- $ JAVA_HOME/bin/java --enable-preview --enable-native-access=ALL-UNNAMED -cp target/classes:/Users/me/.m2/repository/net/codecrete/usb/java-does-usb/0.5.1/java-does-usb-0.5.1.jar net.codecrete.usb.examples.EPaperDisplay
84+ $ $ JAVA_HOME /bin/java --enable-preview --enable-native-access=ALL-UNNAMED -cp target/classes:/Users/me/.m2/repository/net/codecrete/usb/java-does-usb/0.5.1/java-does-usb-0.5.1.jar net.codecrete.usb.examples.EPaperDisplay
8585Display size: 1200 x 825
8686```
You can’t perform that action at this time.
0 commit comments