skip to Main Content

I just tried to install Apache Netbeans 10. It seems someone has introduced a lot of busiwork into the installation process.

In december 2018 I installed Netbeans 8 by

  1. browsing to netbeans.org
  2. clicking a button marked “download”
  3. waiting for the wizard to install

In february 2019, trying to install Netbeans 10, I am instructed to:

  1. fetch zipped files for netbeans
  2. download and install apache ant
  3. unzip netbeans
  4. run ant on netbeans
  5. and whatever else may follow.

Netbeans 8 is still available so obviously I did not waste my time on this new process.

Is this the future, or just a startup issue with Netbeans being transferred to Apache?
How is the introduction of this manual labour progress?

I apologise if this question does not belong on stackoverflow. I don’t know where else to ask.

2

Answers


  1. For Linux system follow these simple steps (Apache Netbeans 10 per-requisites must be satisfied before going further):

    1. Download script from apache-netbeans-10.0
    2. Open terminal in directory where above file is downloaded and run below command

      sudo chmod +x ./Robo3T-Installation-Menu.sh

    3. Then type below command and hit enter

      ./apache-netbeans-10.0.sh

    4. Just wait to complete it, once completed enjoy Apache Netbeans. Search in menu with name “Netbeans”.

    Login or Signup to reply.
  2. Linux alternative / no special scripts.

    (Netbeans version 14. Might apply to 10, dunno)

    Download and verify the installer file from Apache Netbeans

    Eg. Apache-NetBeans-14-bin-linux-x64.sh

    Change the permissions to make it executable – 777’ll do:

    chmod 777 Apache-NetBeans-14-bin-linux-x64.sh
    

    then

    Apache-NetBeans-14-bin-linux-x64.sh # launches GUI installer
    Apache-NetBeans-14-bin-linux-x64.sh --help # lists options
    Apache-NetBeans-14-bin-linux-x64.sh --silent # installs without gui
    

    Your DE may then list it, if not try

    /bin/sh "/usr/local/netbeans-14/netbeans/bin/netbeans"
    

    to launch

    If not there try

    find / -mount -name netbeans
    

    to find it

    (I got this with guessing and trial and error. There is zero useful documentation on the site – you could look inside the scripts I suppose.)

    To add to DE (if not there):

    create file /usr/share/applications/Apache-NetBeans.desktop ;

    [Desktop Entry]
    Encoding=UTF-8
    Name=Apache NetBeans IDE 14
    Comment=The Smarter Way to Code 
    Exec=/bin/sh "/usr/local/netbeans-14/netbeans/bin/netbeans"
    Icon=/usr/local/netbeans-14/netbeans/nb/netbeans.png
    Categories=Application;Development;Java;IDE
    Version=1.0
    Type=Application
    Terminal=0
    

    3 Months later …

    Still on Netbeans 14 and all ok in Alma Linux 8.5 (RHEL Clone) but then upgrade to 8.6 and Netbeans stops working – won’t launch. Others having similar issues on macOS and fingers pointing at openjdk 17:

    17.0.3.0.6-2.el8_5  working
    17.0.4.1.1-2.el8_6  not working
    

    but don’t want to downgrade as who knows what that’ll break and can’t dnf install both at same time so installed Oracle JDK 17 (java version "17.0.4.1" 2022-08-18 LTS ), used "alternative –config java" to set it as default and Netbeans working again.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search