Best to uninstall both of them and install the latest instead, see netbeans.apache.org.
Gj On Sun, 7 Mar 2021 at 01:11, Zulfi Khan <zulfi6...@yahoo.com.invalid> 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