Skip to content

Commit

Permalink
Remove fixed issue from troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelbl authored Jan 4, 2024
1 parent 149c69d commit 92bc7c3
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,22 +139,6 @@ The library has not been tested on Windows for ARM64. It might or might not work
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 (at least 21.0.1).


#### `Cannot open library` (macOS only)

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/.

It will usually not be possible to uninstall the problematic build (`brew uninstall openjdk`) as it is a dependency of other brew packages. So to run an application, set `JAVA_HOME`:

```shell
export JAVA_HOME=/Users/me/Documents/zulu21.30.15-ca-jdk21.0.1-macosx_aarch64
```

If the JDK was "installed" as opposed to downloaded, the path for `JAVA_HOME` will likely be listed by:

```sheel
/usr/libexec/java_home -V
```


### 32-bit versions

Expand Down

0 comments on commit 92bc7c3

Please sign in to comment.