On 4/4/23 1:24 PM, László Kishalmi wrote:
It would be possible to package a downloaded JDK along with the Snap or
have one downloaded during the install phase. However then comes the
question: which one?

I actually created a NetBeans Snap package that does just that. It downloads and connects to the current OpenJDK Snap package automatically and will even connect to the current Maven Snap package if installed.

The big caveat is that everything runs strictly confined, including Apache NetBeans, Apache Maven, and the JDK itself. (Gradle doesn't yet work in a confined environment.) It's public, but unlisted, as I didn't want to cause confusion with the official package:

Strictly NetBeans Snap (unlisted)
https://snapcraft.io/strictly-netbeans

It's only suitable for developers like me who were freaked out by supply chain attacks, such as SolarWinds, and want everything strictly confined from now on. I especially want to strictly confine tools like NetBeans and Maven that download hundreds of dependencies and plug-ins from all over the Internet. Details about how to get all the features working are here:

Strictly NetBeans Repository
https://github.com/jgneff/strictly-netbeans

There is one feature in Strictly NetBeans that I would like to see in the official Snap package. Strictly NetBeans is available on four hardware architectures:

  amd64 · arm64 · armhf · i386

Except for a dependency on the GNOME content Snap package, it could have supported all six architectures:

  amd64 · arm64 · armhf · i386 · ppc64el · s390x

László, is there a way to build on more than just "amd64" for the official Snap package? I notice that developers on other architectures (arm64, armhf) are finding and installing mine, I assume just because mine is available and the official one is not.

John


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to