NetBeans is an open-source integrated development environment (IDE) primarily used for developing Java applications but also supports other programming languages like PHP, JavaScript, HTML5, Python, C, C++, and more through plugins.
Reproducing the Issue
sudo sh ./uninstall.sh
Output
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Running the installer wizard...
An error occured while initializing the NetBeans IDE installer UI.
Most probably the running JVM is not compatible with the current platform.
See FAQ at http://wiki.netbeans.org/FaqUnableToPrepareBundledJdk for more information.
Can't load library: /usr/lib/jvm/java-17-openjdk-amd64/lib/libawt_xawt.so
Exception:
java.lang.UnsatisfiedLinkError:
Can't load library: /usr/lib/jvm/java-17-openjdk-amd64/lib/libawt_xawt.so
You can get more details about the issue in the installer log file:
/root/.nbi/log/20231203103026.log
Solution
Install a compatible Java Development Kit (JDK) and try again.
sudo apt install openjdk-17-jdk
sudo sh ./uninstall.sh
Output
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Running the installer wizard...