Hi Paolo,

Am Dienstag, dem 03.02.2026 um 09:40 +0000 schrieb Paolo Enriello:
> I need some information about porting NetBeans to FreeBSD. I'd like to remove 
> all files with the .bat, .cmd, .exe, and .dll extensions from the binary 
> distribution, but I'm thinking of removing some directories, especially those 
> for other platforms (MacOS and Windows). For example, the 
> `netbeans-28/ide/bin/nativeexecution` directory contains directories for each 
> supported platform: Linux, SunOS, MacOS, and Windows. I assume I could keep 
> only the Linux platform (there's no FreeBSD, so I assume Linux is used) and 
> delete the others (delete the directories, such as `Windows-x86`)?

I strongly suggest that you don't change the layout and contents of the
NetBeans distribution, unless you know what you are doing.

For example there is no reason to remove the windows launchers, as they
are ignored on other platforms. Just from looking at the filetype you
can't decide whether or not some functionality relies on that file to
be present. For example .bat, .cmd and .dll files might be used to
build installer or other components of an application.

We recently had a discussion on github where the author claimed that
NetBeans was broken. Turned out that his linux distribution decided to
built a pseudo-JRE (a JDK with some of the contents stripped). If he
had used an unmodified JDK installation, that problem would not have
been present. While the intention of the distribution is good, it might
be counter intuitive or even harmful.

Greetings

Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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



Reply via email to