Skip to content

Commit 56d0145

Browse files
committed
Add troubleshooting section
1 parent f5d0f92 commit 56d0145

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,13 @@ The test devices implement the required control requests. So the driver is insta
132132
The library has not been tested on Windows for ARM64. It might or might not work.
133133

134134

135+
### Troubleshooting
136+
137+
- The error `java.lang.ClassFormatError: Illegal field name "" in class net/codecrete/usb/windows/WindowsUsbDeviceRegistry` is caused by a bug in JDK 21, which has been fixed in the mean-time. Please upgrade to the latest release of JDK 21.
138+
139+
- The error `Cannot open library: CoreFoundation.framework/CoreFoundation` is caused by an unfortunate build of the OpenJDK by Homebrew. Please use any other JDK edition instead, e.g. Zulu (`brew install zulu` or directly from https://www.azul.com/downloads/#zulu), Temurin (`brew install temurin` or from https://adoptium.net/en-GB/temurin/releases/), or download the official OpenJDK directly from https://openjdk.org/projects/jdk/21/. And don't forget to uninstall the Homebrew build (`brew uninstall openjdk`).
140+
141+
135142
### 32-bit versions
136143

137144
The Foreign Function & Memory API has not been implemented for 32-bit operating systems / JDKs (and likely never will be).

0 commit comments

Comments
 (0)