-
Notifications
You must be signed in to change notification settings - Fork 123
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
Feature: Add support for jextract
#663
Comments
Hi @overheadhunter, just gave it a quick look, and it's possible to distribute jextract via SDKMAN!. But note that only ea builds currently exist, so at some point the URLs pointing to the binaries may stop working. @marc0der Wdyt? I guess it would be a great addition to SDKMAN!. |
Yep, I see no problem in supporting jextract, although we would need to do some additional work as it is only distributed as |
@marc0der Prebuilt binaries are distributed as |
We will need to make some changes to hooks to handle this. After that we can merge. I'll see what I can do over the weekend. |
Okay, I've deployed the changes to sdkman-hooks. I'll unblock the PR @helpermethod |
Hi @overheadhunter, we released Jextract but realised it includes |
I've asked on the jextract-dev mailing list if they could remove java and javac from the binaries but it doesn't seem that easy
So I fear we can't support jextract any time soon. |
I have seen Maurizio's answer as well. I guess adding a different dir to |
It's a big pity, and we can always revisit this if they find a different way of repackaging their tools. |
@overheadhunter The jextract guys made some changes to the distribution so that we should finally be able to publish EA builds. PR incoming |
Great news, looking forward to it! |
It would be great to test these binaries with a local install before we add jextract @helpermethod |
Tested the latest version on Ubuntu and it seems to work fine. Directory structure fits, jextract binary is executable. Looking at the extracted TAR, I wonder if the version shouldn't just include the OpenJDK version 🤔. |
Okay, so is it a tar archive? Do they have a zip variant? If it's only tar, we'll need to override it in the hooks service.
We're you referring to the version in the containing folder? |
Yes, it's only distributed as a TAR, so we also need to extend the hooks service. |
@marc0der It seems you already made the necessary changes to the |
Yeah, I was just rereading the thread above and saw it |
Feature request
The
jextract
tool used to be part of the JDK in older builds of Project Panama but has been externalized to decouple the release cycle. It helps generating Java bindings from C header files using the FFM API (currently still in preview).You might want to have multiple versions of jextract installed at the same time, each of which compatible with a different JDK. SDKMAN! would simplify managing those installations.
The text was updated successfully, but these errors were encountered: