Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crowdin upload: Bad CPU type in executable #877

Open
fishcharlie opened this issue Dec 27, 2024 · 4 comments
Open

crowdin upload: Bad CPU type in executable #877

fishcharlie opened this issue Dec 27, 2024 · 4 comments

Comments

@fishcharlie
Copy link

Describe the bug

Downloading java runtime environment for version 17
/bin/sh: /Users/charliefish/.jdeploy/jre/17/jre/zulu17.54.21-ca-jre17.0.13-macosx_x64/zulu-17.jre/Contents/Home/bin/java: Bad CPU type in executable

To Reproduce
Steps to reproduce the behavior:

  1. Run crowdin upload on an Apple Silicon machine without Rosetta installed

Expected behavior

I expect this command to work even on Apple Silicon without Rosetta installed.

Environment:

  • OS: macOS
  • Version: 15.2 (24C101)

Screenshots

NA

Additional context

NA

@andrii-bodnar
Copy link
Member

This is probably something related to the jDeploy tool, which handles everything related to Java execution in the Node environment.

https://github.com/shannah/jdeploy/blob/135d8b00713962d6bc9e58fd3c60eae2cf88fcef/cli/src/main/resources/ca/weblite/jdeploy/jdeploy.js#L529

@glekner
Copy link

glekner commented Jan 27, 2025

can't run cli cause of this

@andrii-bodnar
Copy link
Member

@glekner could you please provide more details about your environment?

@andrii-bodnar
Copy link
Member

Recently we've released a linux/arm64 architecture support for the CLI Docker image - crowdin/cli. I believe it might be a better option in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants