On 6/3/22 09:12, Michael Bien wrote: > the default platform is the JDK NB is running on. If you don't define > any platform that is what NB is going to use. > > I suppose NB could allow setting a different platform as default, but it > can't do that atm, since default means "runtime". > > changing it right now would require to set it in netbeans.conf and restart > https://github.com/apache/netbeans#log-config-and-cache-locations
Nope, doesn't work. In netbeans.conf, the installer left netbeans_jdkhome unset, so I set it to "/opt/jdk-17.0.2". The About box shows that it is indeed running on 17.0.2, but the dialog still looks the same as in the previous screenshot. It looks to me like one of those things where it's working properly but isn't displayed right. The one listed as default, btw, is the one that Debian installed. I don't remove it because it would break too many dependencies, but instead use a symlink "/opt/java" pointing to jdk-17.0.2 or whatever version I want to use (with the $PATH pointing to /opt/java before the Debian one). Just for fun, I ran "bin/java -version" from the "default's" directory and did get the correct response (i.e. "The specified folder does not contain a Java platform" is incorrect). -- Glenn Holmer (Linux registered user #16682) "After the vintage season came the aftermath -- and Cenbe." --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists