On 01.03.24 14:43, Ulf Zibis wrote:
Am 29.02.24 um 22:12 schrieb Geertjan Wielenga:
The Apache NetBeans 21 binary releases require JDK 11+, and
officially supports running on JDK 11, 17 and 21.
Thanks for the info.
In the meantime I solved the problem still using JDK 18 as follows.
- deleted user config data and reinstalled NetBeans
- started NB under root
- configured plugins to shared directory
- activated Java SE module, which also installed the profiler
- started NB as user
- again activated Java SE module
- Restart. All is fine !!!
Don't know, if that is a good workaround.
-Ulf
there are several red flags here which might cause you problems in future:
- Don't start NB with root rights. Subsequent starts will likely not
be able to write to cache/log folders.
- The "force plugin install into shared directories" is not a good
idea (esp with root rights) and is likely the original cause why
nb-javac couldn't be found if you done that in past
- Run NB on supported JDKs, there are usually 2-3 LTS versions
supported for every NB release to make this easier. There are also
community bundles available from the download page which contain a JDK.
If you don't want to use those, this page might help to find the right
JDKs download: https://javaalmanac.io/jdk/21/
NetBeans ships with nb-javac preinstalled as regular module, if you
don't change anything it should just work. Start NB, open/create a
project and the right modules will activate.
btw to reset NB completely, all you have to do is to follow the note on
the readme:
https://github.com/apache/netbeans?tab=readme-ov-file#log-config-and-cache-locations
-mbien
---------------------------------------------------------------------
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