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

Consider packing GraalVM CE with Ballerina #5622

Open
heshanpadmasiri opened this issue Aug 27, 2024 · 0 comments
Open

Consider packing GraalVM CE with Ballerina #5622

heshanpadmasiri opened this issue Aug 27, 2024 · 0 comments

Comments

@heshanpadmasiri
Copy link
Member

Description:
$subject

Describe your problem(s)
Currently users need to manually install GraalVM and set (and probably unset afterward) JAVA_HOME and GRAAL_HOME variables in order to use --graalvm.

Describe your solution(s)
Similar to how we already pack JVM it may make things more convenient for users if we pack GraalVM with ballerina. We can point to the packed GraalVM by default and allow advance users to override this.

Potential problems

  1. Not entirely sure if we can pack GraalVM CE due to licensing
  2. native-image tool also need the local tool chain (ref). Not sure these are installed by default in most user machines or we need to somehow pack them as well.
  3. This could significantly increase the download and install sizes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant