Well, first make sure that you have removed the netbeans package with apt:
sudo apt remove netbeans
When that's installed the Snap package does not work
Also I've noticed that your JAVA_HOME is bad. It should not point to the
java executable, but a the directory where Java is being installed. On
Ubuntu it is usually: /usr/lib/jvm/ java-8-openjdk-amd64 or
/usr/lib/jvm/ java-8-openjdk-amd64
However the best thing you can do is not set the JAVA_HOME at all. So
I'd recommend to remove the your JAVA_HOME from wherever you set that
and reboot your machine.
On 3/6/21 4:10 PM, Zulfi Khan wrote:
Hi,
I am trying to execute NetBeans 10.0 on my Ubuntu 18.04, But my Java
version is 11.0. I found the following link:
https://askubuntu.com/questions/1196172/netbeans-doesnt-work-in-18-04
<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Faskubuntu.com%2Fquestions%2F1196172%2Fnetbeans-doesnt-work-in-18-04&data=04%7C01%7CZulfi.Khan%40ttu.edu%7C2a8cc589ee3e4c71aece08d8dc02fb2f%7C178a51bf8b2049ffb65556245d5c173c%7C0%7C0%7C637501252641303130%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=k6d%2Bfab%2BnQ50iz%2Fcs%2BBDfH4XAnnX51JmBK3tx0%2BPuEw%3D&reserved=0>
I installed NetBeans 11 but still I am getting the same problem
because it is executing NetBeans 10. I don't know how to execute
NetBeans 11 classic.
My $JAVA_HOME path is set to:
$ echo $JAVA_HOME
/usr/bin/java
I am attaching the image also which can show you all the problems.
Somebody please guide me.
Zulfi.
---------------------------------------------------------------------
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