-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Run java-tron on ARM - AWS Arm-based Graviton2 instances / Apple M1 #4132
Comments
can you share your java version info |
We are use Amazon Corretto 8
|
And one more try with Oracle Java Get Oracle Java for ARM
Install Oracle Java for ARM
Check Java version
Get java-tron and config
Run java-tron
Get the error
|
Looks like your system does not have Librocksdb.so |
It is a shared library and should be included in the jar? Check GutHub jarGet FullNode-4.4.1.jar
Check for shared libraries
We see only
Build on x86 a jar with RocksDB for ARMInstall Oracle JDK 8
Get java-tron sources
Use RocksDB 6.2.2 - facebook/rocksdb#5559 (comment)
Build the application
Check the new build
We see shared library for arm64 included in the jar
Run on ARMOS
Get config from GitHub
Run jar builded on x86 on ARM node
Get the error again
Any suggestions? |
@air3ijai |
Thanks for your contribution to java-tron. |
1. What did you do?
We are trying to run FullNode.jar on x2gd.large ARM based instance with Amazon Corretto installed, but get the error:
And get the error
2. What did you expect to see?
We should be able to run java-tron on ARM based architecture.
3. What did you see instead?
For now we are running java-tron on x86-64 architecture.
During last years Amazon WS introduced a lot of ARM based instances and they have a great performance and affordable price. Also, Apple started a movement to the ARM architecture which is actual for Developers. It will be great to have an option to run java-tron using ARM architecture.
Thank you!
The text was updated successfully, but these errors were encountered: