Hi, On Wed, 12 Aug 2026 at 13:29, Peter Hull <[email protected]> wrote: > Given an unpacked binary distribution of NB, is it possible to find > out what version it is without running it? e.g is there a file that > contains the version number?
It's funny you should ask that as I've been thinking about similar recently. What's your use case? At some point, NBPackage should be updated to understand recent launcher changes. That will probably require adding something to recognise the underlying platform version. It will have to work with platform applications too, although I'm not sure there's really an easier answer just for the IDE. Certainly the VERSION files we have in various places are not useful for this. One option I can think of is to parse the manifest of one of the modules. The implementation version of most modules is VERSION-GITHASH. Using platform/lib/boot.jar might be the best one to use to cover all cases? Anything easier?! For the IDE alone, the version is written into the userdir locations in etc/netbeans.conf Best wishes, Neil --------------------------------------------------------------------- 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
