devonfw / ide

Tool to automate setup and update of development environment (esp. for Java projects).
Apache License 2.0
33 stars 102 forks source link

Install native-image for graalvm by default #1307

Open jan-vcapgemini opened 11 months ago

jan-vcapgemini commented 11 months ago

As a graalvm user, I want to have native-image installed by default.

Currently, I manually have to do this:

gu install native-image

See also https://www.graalvm.org/22.0/reference-manual/native-image/#install-native-image

hohwille commented 10 months ago

See #1325

hohwille commented 10 months ago

Interesting are also the pre-requisites Should we create another story for this and also try to install that by default?

maybeec commented 9 months ago

That would be interesting. Especially how to setup https://github.com/bycloudai/InstallVSBuildToolsWindows as it is one of the pre-requisites. As this is the benefit of quarkus to be able to build native images, it would be great if the devonfw ide would install and prepare the environment accordingly to allow native builds. Vote up!

maciejmalecki commented 9 months ago

Just to add: https://github.com/bycloudai/InstallVSBuildToolsWindows is also needed for SpringBoot 3.x native builds as well as for some Python/PIP dependencies to be installed (mainly in genAI area). It is very problematic with machines without admin rights, as it cannot be easily installed manually.

alfeilex commented 9 months ago

In the latest version of GraalVM for JDK 21.0.2 native image is already preinstalled