dosubot[bot] commented on issue #3031: URL: https://github.com/apache/hugegraph/issues/3031#issuecomment-4494858746
<!-- Answer --> @vaijosh — this is a known problem on Apple Silicon. The bundled Jansi library only ships `x86_64` and `i386` binaries, so it crashes with `UnsatisfiedLinkError` when run on `arm64` [[1]](https://github.com/apache/incubator-hugegraph/pull/2952). A few things that may help: 1. **Use Java 11 (not 17+)** — Gremlin Console's Groovy 2.5.14 doesn't support Java 17 bytecode, so Java 11 is the maximum supported version [[2]](https://github.com/apache/hugegraph/issues/3006#issuecomment-4304581169). 2. **Workaround: upgrade Jansi manually** — You can try replacing the bundled `jansi-*.jar` in the console's `lib/` directory with [Jansi 2.4.1+](https://github.com/fusesource/jansi/releases), which includes native `arm64` support for macOS. 3. **For Docker-based workflows** — PR #2952 replaced Gremlin Console–based detection with a lightweight PD REST health check, sidestepping the Jansi issue entirely [[1]](https://github.com/apache/incubator-hugegraph/pull/2952). 4. **Tracking** — Issue #3015 tracks adding a dedicated macOS Apple Silicon smoke test for `gremlin-console.sh` in CI to catch this class of regression going forward [[3]](https://github.com/apache/hugegraph/issues/3015). There isn't yet an official upstream fix that ships an ARM64-compatible Jansi in the release tarball, but the issue is actively being tracked. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fhugegraph).* --- Docs are dead. Just use [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-tagline&utm_term=apache%2Fhugegraph). [](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-feedback&utm_term=apache%2Fhugegraph&message_id=e46a539c-bf58-4eb1-a941-9c1268d2d6af) [](https://github.dosu.com/apache/hugegraph?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-ask-repo&utm_term=apache%2Fhugegraph) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-share-team&utm_term=apache%2Fhugegraph) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
