Javet build using Docker
Hi,
I am trying to build Javet for linux x86_64 and linux arm64 architectures.
I am following your build instructions.
I tried building with docker build -f docker/linux-x86_64/build_artifact.Dockerfile . first, but it failed in my Ubuntu x86_64 machine. Then I started with full build and completed building the first one, base_jvm.Dockerfile.
But I was wondering where these build files are stored? and how can I use the build files in a project in another machine.
If you kindly explain the process to me in details, that would be a kind help for me.
thanks a lot.
Those docker files have gradually been out of maintenance because the V8 team keeps breaking some common practices in the docker environment. You are welcome fixing them via PRs to the dev branch.
Also, I used to live in a city where accessing GitHub, dockerhub requires paid VPN. It's quite expensive per GB. I literally couldn't afford doing experiments for fixing those docker files. Imagine one docker build command costs a decent meal in a luxury restaurant.
Also, I used to live in a city where accessing GitHub, dockerhub requires paid VPN. It's quite expensive per GB. I literally couldn't afford doing experiments for fixing those docker files. Imagine one docker build command costs a decent meal in a luxury restaurant.
I am really sorry to hear that brother. Hope I could help.
Those docker files have gradually been out of maintenance because the V8 team keeps breaking some common practices in the docker environment. You are welcome fixing them via PRs to the dev branch.
Is there any other way to build Javet from scratch except using Docker? I would ask for a easy and details docs.
Please check the GitHub workflow out. It covers the all-in-one build process for all OSs.
can you please share the link?
Just clone this project. They are under .github/workflows.
I cloned the repo and tried building using the GitHub Actions. While trying to build the linux x86_64 jar files, I got the same error as yours https://github.com/caoccao/Javet/actions/runs/12197676263
Do you know any way to solve this issue? Building the Linux version is important, so I would really appreciate your help.
Currently, I am running the MacOS arm64, MacOs x86_64 and windows x86_64 versions.
They are not done yet, can let you know the results after the build is complete.
For you info, I could successfully build the MacOs arm64, x86_64 and windows x86_64 versions.
Need help with the Linux x86_64 one.
Please try previous versions. The latest one is broken. I have a manual fix in my dev environment. It's nasty, so I didn't put it in the repo because it will be automatically fixed in the next version.
That is one of the challenges this project naturally has. Every release is an adventure that requires me to spend hours troubleshooting. Best way I guess is: Buy a me cup of coffee via the donation link.
Thanks a lot. I started building javet 4.1.0 for linux x86_64. Hopefully, it will succeed. After, I can build all the versions, how can I use them, like where to keep them so that when I call Javet functions, the build files could be accessed?
Just download the binaries from the successful actions.
After I download them, where to put them?
Please google how to load local jar files.