Re: NetBeans installed but can't execute

2021-03-08 Thread Geertjan Wielenga
Yes, that's Maven. Gj On Mon, Mar 8, 2021 at 5:02 PM Zulfi Khan wrote: > Hi, > I put the class path: > > > > package com.mycompany.helloworld; > /** > * > * @author zulfi > */ > public class Main { > public static void main(String[ ] args){ > System.out.print("Hello World"); >

Re: NetBeans installed but can't execute

2021-03-07 Thread Geertjan Wielenga
Put the class into a package. Gj On Mon, 8 Mar 2021 at 06:23, Zulfi Khan wrote: > > Hi, > > I ran the remove command but astonishingly when I typed netbeans after the > removal, it started netbeans 12.2. I have attached the image. I created the > java mavern project but I can't understand how t

Re: NetBeans installed but can't execute

2021-03-07 Thread Laszlo Kishalmi
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.

Re: NetBeans installed but can't execute

2021-03-06 Thread Geertjan Wielenga
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 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/que