You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by "John G. Weed" <no...@fastmail.com> on 2020/02/28 21:26:11 UTC

SOLVED: Apache Netbeans w/NetBeans 8.2 C/C++ plugin on Raspberry Pi 4B (ARM64) running Ubuntu 18.04.4/xubuntu

All,

Forgive me if this needs to be sent via some other venue, but since this has been such a pain in the butt to find an answer to, I thought I'd write out the steps I followed to build a Raspberry Pi 4B (4GB) running the Ubuntu 18.04.4 LTS operating system, with the xubuntu desktop, for the purpose of running the NetBeans 11.2 IDE with (most importantly) support for the NetBeans 8.2 C/C++ plugin--one long run-on sentence. 

Our software baseline is currently running on some pretty hefty HP DL-380s (the Enterprise version), as well as some smaller tactical units. But we were missing a portable, pocket version platform. I wanted to be able to use not only the same operating system (Ubuntu 18.04), but the same IDE as well. This would dramatically decrease any cross platform maintenance issues. The following steps make this entirely possible. Many thanks to the folks who provided valuable suggestions.

The following are the steps required to build a Ubuntu 18.04.4 LTS server based on the Raspberry Pi 4B (4GB) platform supporting the Apache NetBeans 11.2 IDE with the NetBeans 8.2 C/C++ plugin. If you are already well versed in Ubuntu and Raspberry Pi you may find the instructions a tad verbose. However, in order to reach the widest possible audience, I’ve taken the time to illustrate in excruciating detail. Please forward any changes or correction to nonsequitur@fastmail.com.

Required:

 1. Raspberry Pi 4B 4GB

   1. HDMI monitor

   2. USB Keyboard and mouse

   3. USB power supply

 2. 16GB MicroSD

 3. Windows 10 or equivalent PC (to burn Ubuntu image to MicroSD card)

Windows PC Steps:

 1. Wipe-clean (delete all exiting partitions) and format the 16GB MicroSD card using MiniTool Partition Wizard or equivalent

 2. Download file ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img <https://ubuntu.com/download/raspberry-pi/thank-you?version=18.04.4&architecture=arm64+raspi3> from site https://ubuntu.com/download/raspberry-pi

 3. Using Win32 Disk Imager or equivalent, write the ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img to the MicroSD card.

Raspberry PI 4B (RPi4):

 1. With power off, connect monitor, keyboard and mouse to the RPi4

 2. Insert imaged MicroSD card into the RPi4 and power up

 3. Login using username "ubuntu" and password "ubuntu"

 4. Respond to the change password request as appropriate and login

 5. Update configuration sources by entering: sudo apt-get update

 6. Install xubuntu desktop environment by entering: sudo apt-get install xubuntu-desktop

 7. Login to RPi4 using the changed password

 8. Run the Software Updater application, if it doesn’t start automatically, to update the various operating ystem components before continuing further; this include any requested reboots

 9. Using the Firefox browser, download file jdk-8u241-linux-arm64-vfp-hflt.tar.gz <https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html#license-lightbox> from site URL https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html

 10. Bring up a Terminal window and enter the following commands to expand and install the java components necessary to run NetBeans-11.2:

   1. cd Downloads

   2. sudo mkdir /usr/lib/jvm

   3. sudo tar xvf jdk-8u241-linux-arm64-vfp-hflt.tar.gz --directory /usr/lib/jvm/

   4. /usr/lib/jvm/jdk1.8.0_241/bin/java -version

   5. /usr/lib/jvm/jdk1.8.0_241/bin/javac -version

   6. sudo apt-get install openjdk-11-jdk

   7. java -version

   8. sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_241/bin/java 1

   9. sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.8.0_241/bin/javac 1

   10. sudo update-alternatives --config java

   11. sudo update-alternatives --config javac

 11. Using the same Terminal window, enter the following command to baseline the NetBeans dependencies:

   1. sudo apt-get install g++

   2. sudo apt-get make

 12. Using the same Firefox browser, download file *Apache-NetBeans-11.2-bin-linux-x64.sh <https://downloads.apache.org/netbeans/netbeans/11.2/Apache-NetBeans-11.2-bin-linux-x64.sh>, **to the Downloads directory, **from site **URL ** https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/11.2/Apache-NetBeans-11.2-bin-linux-x64.sh <https://downloads.apache.org/netbeans/netbeans/11.2/Apache-NetBeans-11.2-bin-linux-x64.sh>*

 13. From the Terminal window, enter the following to begin the installation of the NetBeans 11.2 application:

   1. sudo chmod +x Apache-NetBeans-11.2-bin-linux-x64.sh

   2. sudo ./Apache-NetBeans-11.2-bin-linux-x64.sh

   3. Note: The installation procedure will prompt for the location of the JDK for the Appache NetBeans IDE:… Select the /*usr/lib/jvm/java-1.11.0-openjdk-arm64*

 14. When the installation procedure completes, which may or may not require a restart, start the NetBeans 11.2 application from the start menu, path Whisker Menu→Development→Apache NetBeans 11.2 IDE, and execute the following to setup NetBeans 8.2 C++ support:

   1. Bring up the Plugins Settings menu by following Tools→Plugins→Settings

   2. Under the Configuration of Update Centers, check the NetBeans 8.2 Plugin Portal box

   3. Under the Automatically Check for Updates drop-down menu select Every Startup

   4. Close the Plugins window and restart the NetBeans application

   5. When the application restarts, bring up the Available Plugins menu by following Tools→Plugins→Available Plugins

   6. Check the box for C/C++

   7. Click the Install button and proceed with the installation

   8. Once again close the Plugins window and restart the NetBeans application

 15. For my particular application, I did the following to verify the installation; simple but effective:

   1. Start the Apache NetBeans 11.2 IDE application

   2. File→New Project→C/C++→C/C++ Application->Next >

   3. Leave all of the defaults, with the exception of changing version to C++14->Finish

   4. To compile press Fn/F11



Note: This configuration compiled slightly more than 100,000 lines of code in about 28 seconds, a coarse estimate. Not too bad.


Re: SOLVED: Apache Netbeans w/NetBeans 8.2 C/C++ plugin on Raspberry Pi 4B (ARM64) running Ubuntu 18.04.4/xubuntu

Posted by Emilian Bold <em...@gmail.com>.
Well, I compiled NetBeans on slower systems. I suspect even a spinning
hard drive beats an SD card and even a 'weak' system becomes quite
good for work with an SSD.

If I were to buy some ARM gadgets nowadays I would also play with the
ROCKPro64 from https://www.pine64.org

--emi

On Fri, Feb 28, 2020 at 11:43 PM John G. Weed <no...@fastmail.com> wrote:
>
> I will try to build one without the JDK 8 and see what happens; if it  works, I will update my instructions. As for your comment "You could never compile something heavy on that thing..." I guess that depends on what you mean by heavy. The RPi4 is the only hardware platform, given it's physical size, that met our performance metrics--we've been waiting a long time for this capability. We've tried the BeagleBone Black and some others, but wold not run the Ubuntu operating system. And as I elluded to, this was important.
>
> Thank you for your inputs
>
>
>
> On Fri, Feb 28, 2020, at 21:34, Emilian Bold wrote:
> > I'm not entirely certain why you installed Java 8 from Oracle when you
> > also have JDK 11 in the repository and NetBeans runs with Java 11.
> >
> > The RPi is a capable machine, only slow part is the IO... You could
> > never compile something heavy on that thing although in the past you
> > would have compiled many things on a quad core / 4GB machine.
> >
> > --emi
> >
> > On Fri, Feb 28, 2020 at 11:26 PM John G. Weed <no...@fastmail.com> wrote:
> > >
> > > All,
> > >
> > > Forgive me if this needs to be sent via some other venue, but since this has been such a pain in the butt to find an answer to, I thought I'd write out the steps I followed to build a Raspberry Pi 4B (4GB) running the Ubuntu 18.04.4 LTS operating system, with the xubuntu desktop, for the purpose of running the NetBeans 11.2 IDE with (most importantly) support for the NetBeans 8.2 C/C++ plugin--one long run-on sentence.
> > >
> > > Our software baseline is currently running on some pretty hefty HP DL-380s (the Enterprise version), as well as some smaller tactical units. But we were missing a portable, pocket version platform. I wanted to be able to use not only the same operating system (Ubuntu 18.04), but the same IDE as well. This would dramatically decrease any cross platform maintenance  issues. The following steps make this entirely possible. Many thanks to the folks who provided valuable suggestions.
> > >
> > > The following are the steps required to build a Ubuntu 18.04.4 LTS server based on the Raspberry Pi 4B (4GB) platform supporting the Apache NetBeans 11.2 IDE with the NetBeans 8.2 C/C++ plugin. If you are already well versed in Ubuntu and Raspberry Pi you may find the instructions a tad verbose. However, in order to reach the widest possible audience, I’ve taken the time to illustrate in excruciating detail. Please forward any changes or correction to nonsequitur@fastmail.com.
> > >
> > > Required:
> > >
> > > Raspberry Pi 4B 4GB
> > >
> > > HDMI monitor
> > >
> > > USB Keyboard and mouse
> > >
> > > USB power supply
> > >
> > > 16GB MicroSD
> > >
> > > Windows 10 or equivalent PC (to burn Ubuntu image to MicroSD card)
> > >
> > > Windows PC Steps:
> > >
> > > Wipe-clean (delete all exiting partitions) and format the 16GB MicroSD card using MiniTool Partition Wizard or equivalent
> > >
> > > Download file ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img from site https://ubuntu.com/download/raspberry-pi
> > >
> > > Using Win32 Disk Imager or equivalent, write the ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img to the MicroSD card.
> > >
> > > Raspberry PI 4B (RPi4):
> > >
> > > With power off, connect monitor, keyboard and mouse to the RPi4
> > >
> > > Insert imaged MicroSD card into the RPi4 and power up
> > >
> > > Login using username "ubuntu" and password "ubuntu"
> > >
> > > Respond to the change password request as appropriate and login
> > >
> > > Update configuration sources by entering: sudo apt-get update
> > >
> > > Install xubuntu desktop environment by entering: sudo apt-get install xubuntu-desktop
> > >
> > > Login to RPi4 using the changed password
> > >
> > > Run the Software Updater application, if it doesn’t start automatically, to update the various operating ystem components before continuing further; this include any requested reboots
> > >
> > > Using the Firefox browser, download file jdk-8u241-linux-arm64-vfp-hflt.tar.gz from site URL https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
> > >
> > > Bring up a Terminal window and enter the following commands to expand and install the java components necessary to run NetBeans-11.2:
> > >
> > > cd Downloads
> > >
> > > sudo mkdir /usr/lib/jvm
> > >
> > > sudo tar xvf jdk-8u241-linux-arm64-vfp-hflt.tar.gz --directory /usr/lib/jvm/
> > >
> > > /usr/lib/jvm/jdk1.8.0_241/bin/java -version
> > >
> > > /usr/lib/jvm/jdk1.8.0_241/bin/javac -version
> > >
> > > sudo apt-get install openjdk-11-jdk
> > >
> > > java -version
> > >
> > > sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_241/bin/java 1
> > >
> > > sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.8.0_241/bin/javac 1
> > >
> > > sudo update-alternatives --config java
> > >
> > > sudo update-alternatives --config javac
> > >
> > > Using the same Terminal window, enter the following command to baseline the NetBeans dependencies:
> > >
> > > sudo apt-get install g++
> > >
> > > sudo apt-get make
> > >
> > > Using the same Firefox browser, download file Apache-NetBeans-11.2-bin-linux-x64.sh, to the Downloads directory, from site URL https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/11.2/Apache-NetBeans-11.2-bin-linux-x64.sh
> > >
> > > From the Terminal window, enter the following to begin the installation of the NetBeans 11.2 application:
> > >
> > > sudo chmod +x Apache-NetBeans-11.2-bin-linux-x64.sh
> > >
> > > sudo ./Apache-NetBeans-11.2-bin-linux-x64.sh
> > >
> > > Note: The installation procedure will prompt for the location of the JDK for the Appache NetBeans IDE:… Select the /usr/lib/jvm/java-1.11.0-openjdk-arm64
> > >
> > > When the installation procedure completes, which may or may not require a restart, start the NetBeans 11.2 application from the start menu, path Whisker Menu→Development→Apache NetBeans 11.2 IDE, and execute the following to setup NetBeans 8.2 C++ support:
> > >
> > > Bring up the Plugins Settings menu by following Tools→Plugins→Settings
> > >
> > > Under the Configuration of Update Centers, check the NetBeans 8.2 Plugin Portal box
> > >
> > > Under the Automatically Check for Updates drop-down menu select Every Startup
> > >
> > > Close the Plugins window and restart the NetBeans application
> > >
> > > When the application restarts, bring up the Available Plugins menu by following Tools→Plugins→Available Plugins
> > >
> > > Check the box for C/C++
> > >
> > > Click the Install button and proceed with the installation
> > >
> > > Once again close the Plugins window and restart the NetBeans application
> > >
> > > For my particular application, I did the following to verify the installation; simple but effective:
> > >
> > > Start the Apache NetBeans 11.2 IDE application
> > >
> > > File→New Project→C/C++→C/C++ Application->Next >
> > >
> > > Leave all of the defaults, with the exception of changing version to C++14->Finish
> > >
> > > To compile press Fn/F11
> > >
> > >
> > > Note: This configuration compiled slightly more than 100,000 lines of code in about 28 seconds, a coarse estimate. Not too bad.
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> > > For additional commands, e-mail: users-help@netbeans.apache.org
> > >
> > > For further information about the NetBeans mailing lists, visit:
> > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: SOLVED: Apache Netbeans w/NetBeans 8.2 C/C++ plugin on Raspberry Pi 4B (ARM64) running Ubuntu 18.04.4/xubuntu

Posted by Carl Mosca <ca...@gmail.com>.
I tend not to question the need for multiple versions of Java.

Only this week I found myself installing GraalVM Java 8 after something
would not work as a native-image with GraalVM Java 11.

On Fri, Feb 28, 2020 at 4:44 PM John G. Weed <no...@fastmail.com>
wrote:

> I will try to build one without the JDK 8 and see what happens; if it
> works, I will update my instructions. As for your comment "You could never
> compile something heavy on that thing..." I guess that depends on what you
> mean by heavy. The RPi4 is the only hardware platform, given it's physical
> size, that met our performance metrics--we've been waiting a long time for
> this capability. We've tried the BeagleBone Black and some others, but wold
> not run the Ubuntu operating system. And as I elluded to, this was
> important.
>
> Thank you for your inputs
>
>
>
> On Fri, Feb 28, 2020, at 21:34, Emilian Bold wrote:
> > I'm not entirely certain why you installed Java 8 from Oracle when you
> > also have JDK 11 in the repository and NetBeans runs with Java 11.
> >
> > The RPi is a capable machine, only slow part is the IO... You could
> > never compile something heavy on that thing although in the past you
> > would have compiled many things on a quad core / 4GB machine.
> >
> > --emi
> >
> > On Fri, Feb 28, 2020 at 11:26 PM John G. Weed <no...@fastmail.com>
> wrote:
> > >
> > > All,
> > >
> > > Forgive me if this needs to be sent via some other venue, but since
> this has been such a pain in the butt to find an answer to, I thought I'd
> write out the steps I followed to build a Raspberry Pi 4B (4GB) running the
> Ubuntu 18.04.4 LTS operating system, with the xubuntu desktop, for the
> purpose of running the NetBeans 11.2 IDE with (most importantly) support
> for the NetBeans 8.2 C/C++ plugin--one long run-on sentence.
> > >
> > > Our software baseline is currently running on some pretty hefty HP
> DL-380s (the Enterprise version), as well as some smaller tactical units.
> But we were missing a portable, pocket version platform. I wanted to be
> able to use not only the same operating system (Ubuntu 18.04), but the same
> IDE as well. This would dramatically decrease any cross platform
> maintenance  issues. The following steps make this entirely possible. Many
> thanks to the folks who provided valuable suggestions.
> > >
> > > The following are the steps required to build a Ubuntu 18.04.4 LTS
> server based on the Raspberry Pi 4B (4GB) platform supporting the Apache
> NetBeans 11.2 IDE with the NetBeans 8.2 C/C++ plugin. If you are already
> well versed in Ubuntu and Raspberry Pi you may find the instructions a tad
> verbose. However, in order to reach the widest possible audience, I’ve
> taken the time to illustrate in excruciating detail. Please forward any
> changes or correction to nonsequitur@fastmail.com.
> > >
> > > Required:
> > >
> > > Raspberry Pi 4B 4GB
> > >
> > > HDMI monitor
> > >
> > > USB Keyboard and mouse
> > >
> > > USB power supply
> > >
> > > 16GB MicroSD
> > >
> > > Windows 10 or equivalent PC (to burn Ubuntu image to MicroSD card)
> > >
> > > Windows PC Steps:
> > >
> > > Wipe-clean (delete all exiting partitions) and format the 16GB MicroSD
> card using MiniTool Partition Wizard or equivalent
> > >
> > > Download file ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img from
> site https://ubuntu.com/download/raspberry-pi
> > >
> > > Using Win32 Disk Imager or equivalent, write the
> ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img to the MicroSD card.
> > >
> > > Raspberry PI 4B (RPi4):
> > >
> > > With power off, connect monitor, keyboard and mouse to the RPi4
> > >
> > > Insert imaged MicroSD card into the RPi4 and power up
> > >
> > > Login using username "ubuntu" and password "ubuntu"
> > >
> > > Respond to the change password request as appropriate and login
> > >
> > > Update configuration sources by entering: sudo apt-get update
> > >
> > > Install xubuntu desktop environment by entering: sudo apt-get install
> xubuntu-desktop
> > >
> > > Login to RPi4 using the changed password
> > >
> > > Run the Software Updater application, if it doesn’t start
> automatically, to update the various operating ystem components before
> continuing further; this include any requested reboots
> > >
> > > Using the Firefox browser, download file
> jdk-8u241-linux-arm64-vfp-hflt.tar.gz from site URL
> https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
> > >
> > > Bring up a Terminal window and enter the following commands to expand
> and install the java components necessary to run NetBeans-11.2:
> > >
> > > cd Downloads
> > >
> > > sudo mkdir /usr/lib/jvm
> > >
> > > sudo tar xvf jdk-8u241-linux-arm64-vfp-hflt.tar.gz --directory
> /usr/lib/jvm/
> > >
> > > /usr/lib/jvm/jdk1.8.0_241/bin/java -version
> > >
> > > /usr/lib/jvm/jdk1.8.0_241/bin/javac -version
> > >
> > > sudo apt-get install openjdk-11-jdk
> > >
> > > java -version
> > >
> > > sudo update-alternatives --install /usr/bin/java java
> /usr/lib/jvm/jdk1.8.0_241/bin/java 1
> > >
> > > sudo update-alternatives --install /usr/bin/javac javac
> /usr/lib/jvm/jdk1.8.0_241/bin/javac 1
> > >
> > > sudo update-alternatives --config java
> > >
> > > sudo update-alternatives --config javac
> > >
> > > Using the same Terminal window, enter the following command to
> baseline the NetBeans dependencies:
> > >
> > > sudo apt-get install g++
> > >
> > > sudo apt-get make
> > >
> > > Using the same Firefox browser, download file
> Apache-NetBeans-11.2-bin-linux-x64.sh, to the Downloads directory, from
> site URL
> https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/11.2/Apache-NetBeans-11.2-bin-linux-x64.sh
> > >
> > > From the Terminal window, enter the following to begin the
> installation of the NetBeans 11.2 application:
> > >
> > > sudo chmod +x Apache-NetBeans-11.2-bin-linux-x64.sh
> > >
> > > sudo ./Apache-NetBeans-11.2-bin-linux-x64.sh
> > >
> > > Note: The installation procedure will prompt for the location of the
> JDK for the Appache NetBeans IDE:… Select the
> /usr/lib/jvm/java-1.11.0-openjdk-arm64
> > >
> > > When the installation procedure completes, which may or may not
> require a restart, start the NetBeans 11.2 application from the start menu,
> path Whisker Menu→Development→Apache NetBeans 11.2 IDE, and execute the
> following to setup NetBeans 8.2 C++ support:
> > >
> > > Bring up the Plugins Settings menu by following Tools→Plugins→Settings
> > >
> > > Under the Configuration of Update Centers, check the NetBeans 8.2
> Plugin Portal box
> > >
> > > Under the Automatically Check for Updates drop-down menu select Every
> Startup
> > >
> > > Close the Plugins window and restart the NetBeans application
> > >
> > > When the application restarts, bring up the Available Plugins menu by
> following Tools→Plugins→Available Plugins
> > >
> > > Check the box for C/C++
> > >
> > > Click the Install button and proceed with the installation
> > >
> > > Once again close the Plugins window and restart the NetBeans
> application
> > >
> > > For my particular application, I did the following to verify the
> installation; simple but effective:
> > >
> > > Start the Apache NetBeans 11.2 IDE application
> > >
> > > File→New Project→C/C++→C/C++ Application->Next >
> > >
> > > Leave all of the defaults, with the exception of changing version to
> C++14->Finish
> > >
> > > To compile press Fn/F11
> > >
> > >
> > > Note: This configuration compiled slightly more than 100,000 lines of
> code in about 28 seconds, a coarse estimate. Not too bad.
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> > > For additional commands, e-mail: users-help@netbeans.apache.org
> > >
> > > For further information about the NetBeans mailing lists, visit:
> > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

-- 
Carl J. Mosca

Re: SOLVED: Apache Netbeans w/NetBeans 8.2 C/C++ plugin on Raspberry Pi 4B (ARM64) running Ubuntu 18.04.4/xubuntu

Posted by "John G. Weed" <no...@fastmail.com>.
I will try to build one without the JDK 8 and see what happens; if it  works, I will update my instructions. As for your comment "You could never compile something heavy on that thing..." I guess that depends on what you mean by heavy. The RPi4 is the only hardware platform, given it's physical size, that met our performance metrics--we've been waiting a long time for this capability. We've tried the BeagleBone Black and some others, but wold not run the Ubuntu operating system. And as I elluded to, this was important. 

Thank you for your inputs



On Fri, Feb 28, 2020, at 21:34, Emilian Bold wrote:
> I'm not entirely certain why you installed Java 8 from Oracle when you
> also have JDK 11 in the repository and NetBeans runs with Java 11.
> 
> The RPi is a capable machine, only slow part is the IO... You could
> never compile something heavy on that thing although in the past you
> would have compiled many things on a quad core / 4GB machine.
> 
> --emi
> 
> On Fri, Feb 28, 2020 at 11:26 PM John G. Weed <no...@fastmail.com> wrote:
> >
> > All,
> >
> > Forgive me if this needs to be sent via some other venue, but since this has been such a pain in the butt to find an answer to, I thought I'd write out the steps I followed to build a Raspberry Pi 4B (4GB) running the Ubuntu 18.04.4 LTS operating system, with the xubuntu desktop, for the purpose of running the NetBeans 11.2 IDE with (most importantly) support for the NetBeans 8.2 C/C++ plugin--one long run-on sentence.
> >
> > Our software baseline is currently running on some pretty hefty HP DL-380s (the Enterprise version), as well as some smaller tactical units. But we were missing a portable, pocket version platform. I wanted to be able to use not only the same operating system (Ubuntu 18.04), but the same IDE as well. This would dramatically decrease any cross platform maintenance  issues. The following steps make this entirely possible. Many thanks to the folks who provided valuable suggestions.
> >
> > The following are the steps required to build a Ubuntu 18.04.4 LTS server based on the Raspberry Pi 4B (4GB) platform supporting the Apache NetBeans 11.2 IDE with the NetBeans 8.2 C/C++ plugin. If you are already well versed in Ubuntu and Raspberry Pi you may find the instructions a tad verbose. However, in order to reach the widest possible audience, I’ve taken the time to illustrate in excruciating detail. Please forward any changes or correction to nonsequitur@fastmail.com.
> >
> > Required:
> >
> > Raspberry Pi 4B 4GB
> >
> > HDMI monitor
> >
> > USB Keyboard and mouse
> >
> > USB power supply
> >
> > 16GB MicroSD
> >
> > Windows 10 or equivalent PC (to burn Ubuntu image to MicroSD card)
> >
> > Windows PC Steps:
> >
> > Wipe-clean (delete all exiting partitions) and format the 16GB MicroSD card using MiniTool Partition Wizard or equivalent
> >
> > Download file ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img from site https://ubuntu.com/download/raspberry-pi
> >
> > Using Win32 Disk Imager or equivalent, write the ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img to the MicroSD card.
> >
> > Raspberry PI 4B (RPi4):
> >
> > With power off, connect monitor, keyboard and mouse to the RPi4
> >
> > Insert imaged MicroSD card into the RPi4 and power up
> >
> > Login using username "ubuntu" and password "ubuntu"
> >
> > Respond to the change password request as appropriate and login
> >
> > Update configuration sources by entering: sudo apt-get update
> >
> > Install xubuntu desktop environment by entering: sudo apt-get install xubuntu-desktop
> >
> > Login to RPi4 using the changed password
> >
> > Run the Software Updater application, if it doesn’t start automatically, to update the various operating ystem components before continuing further; this include any requested reboots
> >
> > Using the Firefox browser, download file jdk-8u241-linux-arm64-vfp-hflt.tar.gz from site URL https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
> >
> > Bring up a Terminal window and enter the following commands to expand and install the java components necessary to run NetBeans-11.2:
> >
> > cd Downloads
> >
> > sudo mkdir /usr/lib/jvm
> >
> > sudo tar xvf jdk-8u241-linux-arm64-vfp-hflt.tar.gz --directory /usr/lib/jvm/
> >
> > /usr/lib/jvm/jdk1.8.0_241/bin/java -version
> >
> > /usr/lib/jvm/jdk1.8.0_241/bin/javac -version
> >
> > sudo apt-get install openjdk-11-jdk
> >
> > java -version
> >
> > sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_241/bin/java 1
> >
> > sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.8.0_241/bin/javac 1
> >
> > sudo update-alternatives --config java
> >
> > sudo update-alternatives --config javac
> >
> > Using the same Terminal window, enter the following command to baseline the NetBeans dependencies:
> >
> > sudo apt-get install g++
> >
> > sudo apt-get make
> >
> > Using the same Firefox browser, download file Apache-NetBeans-11.2-bin-linux-x64.sh, to the Downloads directory, from site URL https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/11.2/Apache-NetBeans-11.2-bin-linux-x64.sh
> >
> > From the Terminal window, enter the following to begin the installation of the NetBeans 11.2 application:
> >
> > sudo chmod +x Apache-NetBeans-11.2-bin-linux-x64.sh
> >
> > sudo ./Apache-NetBeans-11.2-bin-linux-x64.sh
> >
> > Note: The installation procedure will prompt for the location of the JDK for the Appache NetBeans IDE:… Select the /usr/lib/jvm/java-1.11.0-openjdk-arm64
> >
> > When the installation procedure completes, which may or may not require a restart, start the NetBeans 11.2 application from the start menu, path Whisker Menu→Development→Apache NetBeans 11.2 IDE, and execute the following to setup NetBeans 8.2 C++ support:
> >
> > Bring up the Plugins Settings menu by following Tools→Plugins→Settings
> >
> > Under the Configuration of Update Centers, check the NetBeans 8.2 Plugin Portal box
> >
> > Under the Automatically Check for Updates drop-down menu select Every Startup
> >
> > Close the Plugins window and restart the NetBeans application
> >
> > When the application restarts, bring up the Available Plugins menu by following Tools→Plugins→Available Plugins
> >
> > Check the box for C/C++
> >
> > Click the Install button and proceed with the installation
> >
> > Once again close the Plugins window and restart the NetBeans application
> >
> > For my particular application, I did the following to verify the installation; simple but effective:
> >
> > Start the Apache NetBeans 11.2 IDE application
> >
> > File→New Project→C/C++→C/C++ Application->Next >
> >
> > Leave all of the defaults, with the exception of changing version to C++14->Finish
> >
> > To compile press Fn/F11
> >
> >
> > Note: This configuration compiled slightly more than 100,000 lines of code in about 28 seconds, a coarse estimate. Not too bad.
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> > For additional commands, e-mail: users-help@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: SOLVED: Apache Netbeans w/NetBeans 8.2 C/C++ plugin on Raspberry Pi 4B (ARM64) running Ubuntu 18.04.4/xubuntu

Posted by "John G. Weed" <no...@fastmail.com>.
All,

I am one to give credit where credit is due. Emilian was correct in as far as the basic C/C++ functionality does not require JDK 8. So I will amend my instructions to reflect that revelation. For my own circumstances, we still require the JDK 8 to have the software perform as expected. The reason is unclear, and probably not worth digging into a this point. I'm just elated to be able to run the same, identical software baseline on Ubuntu 18.04 on all of our Enterprise, Tactical and now pocket versions. I spent the afternoon testing the software and it performs better than expected. A few issues that require some attention but nothing I'm going to lose sleep over. I am elated! 

Thanks so much everyone. 

On Fri, Feb 28, 2020, at 21:34, Emilian Bold wrote:
> I'm not entirely certain why you installed Java 8 from Oracle when you
> also have JDK 11 in the repository and NetBeans runs with Java 11.
> 
> The RPi is a capable machine, only slow part is the IO... You could
> never compile something heavy on that thing although in the past you
> would have compiled many things on a quad core / 4GB machine.
> 
> --emi
> 
> On Fri, Feb 28, 2020 at 11:26 PM John G. Weed <no...@fastmail.com> wrote:
> >
> > All,
> >
> > Forgive me if this needs to be sent via some other venue, but since this has been such a pain in the butt to find an answer to, I thought I'd write out the steps I followed to build a Raspberry Pi 4B (4GB) running the Ubuntu 18.04.4 LTS operating system, with the xubuntu desktop, for the purpose of running the NetBeans 11.2 IDE with (most importantly) support for the NetBeans 8.2 C/C++ plugin--one long run-on sentence.
> >
> > Our software baseline is currently running on some pretty hefty HP DL-380s (the Enterprise version), as well as some smaller tactical units. But we were missing a portable, pocket version platform. I wanted to be able to use not only the same operating system (Ubuntu 18.04), but the same IDE as well. This would dramatically decrease any cross platform maintenance  issues. The following steps make this entirely possible. Many thanks to the folks who provided valuable suggestions.
> >
> > The following are the steps required to build a Ubuntu 18.04.4 LTS server based on the Raspberry Pi 4B (4GB) platform supporting the Apache NetBeans 11.2 IDE with the NetBeans 8.2 C/C++ plugin. If you are already well versed in Ubuntu and Raspberry Pi you may find the instructions a tad verbose. However, in order to reach the widest possible audience, I’ve taken the time to illustrate in excruciating detail. Please forward any changes or correction to nonsequitur@fastmail.com.
> >
> > Required:
> >
> > Raspberry Pi 4B 4GB
> >
> > HDMI monitor
> >
> > USB Keyboard and mouse
> >
> > USB power supply
> >
> > 16GB MicroSD
> >
> > Windows 10 or equivalent PC (to burn Ubuntu image to MicroSD card)
> >
> > Windows PC Steps:
> >
> > Wipe-clean (delete all exiting partitions) and format the 16GB MicroSD card using MiniTool Partition Wizard or equivalent
> >
> > Download file ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img from site https://ubuntu.com/download/raspberry-pi
> >
> > Using Win32 Disk Imager or equivalent, write the ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img to the MicroSD card.
> >
> > Raspberry PI 4B (RPi4):
> >
> > With power off, connect monitor, keyboard and mouse to the RPi4
> >
> > Insert imaged MicroSD card into the RPi4 and power up
> >
> > Login using username "ubuntu" and password "ubuntu"
> >
> > Respond to the change password request as appropriate and login
> >
> > Update configuration sources by entering: sudo apt-get update
> >
> > Install xubuntu desktop environment by entering: sudo apt-get install xubuntu-desktop
> >
> > Login to RPi4 using the changed password
> >
> > Run the Software Updater application, if it doesn’t start automatically, to update the various operating ystem components before continuing further; this include any requested reboots
> >
> > Using the Firefox browser, download file jdk-8u241-linux-arm64-vfp-hflt.tar.gz from site URL https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
> >
> > Bring up a Terminal window and enter the following commands to expand and install the java components necessary to run NetBeans-11.2:
> >
> > cd Downloads
> >
> > sudo mkdir /usr/lib/jvm
> >
> > sudo tar xvf jdk-8u241-linux-arm64-vfp-hflt.tar.gz --directory /usr/lib/jvm/
> >
> > /usr/lib/jvm/jdk1.8.0_241/bin/java -version
> >
> > /usr/lib/jvm/jdk1.8.0_241/bin/javac -version
> >
> > sudo apt-get install openjdk-11-jdk
> >
> > java -version
> >
> > sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_241/bin/java 1
> >
> > sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.8.0_241/bin/javac 1
> >
> > sudo update-alternatives --config java
> >
> > sudo update-alternatives --config javac
> >
> > Using the same Terminal window, enter the following command to baseline the NetBeans dependencies:
> >
> > sudo apt-get install g++
> >
> > sudo apt-get make
> >
> > Using the same Firefox browser, download file Apache-NetBeans-11.2-bin-linux-x64.sh, to the Downloads directory, from site URL https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/11.2/Apache-NetBeans-11.2-bin-linux-x64.sh
> >
> > From the Terminal window, enter the following to begin the installation of the NetBeans 11.2 application:
> >
> > sudo chmod +x Apache-NetBeans-11.2-bin-linux-x64.sh
> >
> > sudo ./Apache-NetBeans-11.2-bin-linux-x64.sh
> >
> > Note: The installation procedure will prompt for the location of the JDK for the Appache NetBeans IDE:… Select the /usr/lib/jvm/java-1.11.0-openjdk-arm64
> >
> > When the installation procedure completes, which may or may not require a restart, start the NetBeans 11.2 application from the start menu, path Whisker Menu→Development→Apache NetBeans 11.2 IDE, and execute the following to setup NetBeans 8.2 C++ support:
> >
> > Bring up the Plugins Settings menu by following Tools→Plugins→Settings
> >
> > Under the Configuration of Update Centers, check the NetBeans 8.2 Plugin Portal box
> >
> > Under the Automatically Check for Updates drop-down menu select Every Startup
> >
> > Close the Plugins window and restart the NetBeans application
> >
> > When the application restarts, bring up the Available Plugins menu by following Tools→Plugins→Available Plugins
> >
> > Check the box for C/C++
> >
> > Click the Install button and proceed with the installation
> >
> > Once again close the Plugins window and restart the NetBeans application
> >
> > For my particular application, I did the following to verify the installation; simple but effective:
> >
> > Start the Apache NetBeans 11.2 IDE application
> >
> > File→New Project→C/C++→C/C++ Application->Next >
> >
> > Leave all of the defaults, with the exception of changing version to C++14->Finish
> >
> > To compile press Fn/F11
> >
> >
> > Note: This configuration compiled slightly more than 100,000 lines of code in about 28 seconds, a coarse estimate. Not too bad.
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> > For additional commands, e-mail: users-help@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: SOLVED: Apache Netbeans w/NetBeans 8.2 C/C++ plugin on Raspberry Pi 4B (ARM64) running Ubuntu 18.04.4/xubuntu

Posted by Emilian Bold <em...@gmail.com>.
I'm not entirely certain why you installed Java 8 from Oracle when you
also have JDK 11 in the repository and NetBeans runs with Java 11.

The RPi is a capable machine, only slow part is the IO... You could
never compile something heavy on that thing although in the past you
would have compiled many things on a quad core / 4GB machine.

--emi

On Fri, Feb 28, 2020 at 11:26 PM John G. Weed <no...@fastmail.com> wrote:
>
> All,
>
> Forgive me if this needs to be sent via some other venue, but since this has been such a pain in the butt to find an answer to, I thought I'd write out the steps I followed to build a Raspberry Pi 4B (4GB) running the Ubuntu 18.04.4 LTS operating system, with the xubuntu desktop, for the purpose of running the NetBeans 11.2 IDE with (most importantly) support for the NetBeans 8.2 C/C++ plugin--one long run-on sentence.
>
> Our software baseline is currently running on some pretty hefty HP DL-380s (the Enterprise version), as well as some smaller tactical units. But we were missing a portable, pocket version platform. I wanted to be able to use not only the same operating system (Ubuntu 18.04), but the same IDE as well. This would dramatically decrease any cross platform maintenance  issues. The following steps make this entirely possible. Many thanks to the folks who provided valuable suggestions.
>
> The following are the steps required to build a Ubuntu 18.04.4 LTS server based on the Raspberry Pi 4B (4GB) platform supporting the Apache NetBeans 11.2 IDE with the NetBeans 8.2 C/C++ plugin. If you are already well versed in Ubuntu and Raspberry Pi you may find the instructions a tad verbose. However, in order to reach the widest possible audience, I’ve taken the time to illustrate in excruciating detail. Please forward any changes or correction to nonsequitur@fastmail.com.
>
> Required:
>
> Raspberry Pi 4B 4GB
>
> HDMI monitor
>
> USB Keyboard and mouse
>
> USB power supply
>
> 16GB MicroSD
>
> Windows 10 or equivalent PC (to burn Ubuntu image to MicroSD card)
>
> Windows PC Steps:
>
> Wipe-clean (delete all exiting partitions) and format the 16GB MicroSD card using MiniTool Partition Wizard or equivalent
>
> Download file ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img from site https://ubuntu.com/download/raspberry-pi
>
> Using Win32 Disk Imager or equivalent, write the ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img to the MicroSD card.
>
> Raspberry PI 4B (RPi4):
>
> With power off, connect monitor, keyboard and mouse to the RPi4
>
> Insert imaged MicroSD card into the RPi4 and power up
>
> Login using username "ubuntu" and password "ubuntu"
>
> Respond to the change password request as appropriate and login
>
> Update configuration sources by entering: sudo apt-get update
>
> Install xubuntu desktop environment by entering: sudo apt-get install xubuntu-desktop
>
> Login to RPi4 using the changed password
>
> Run the Software Updater application, if it doesn’t start automatically, to update the various operating ystem components before continuing further; this include any requested reboots
>
> Using the Firefox browser, download file jdk-8u241-linux-arm64-vfp-hflt.tar.gz from site URL https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
>
> Bring up a Terminal window and enter the following commands to expand and install the java components necessary to run NetBeans-11.2:
>
> cd Downloads
>
> sudo mkdir /usr/lib/jvm
>
> sudo tar xvf jdk-8u241-linux-arm64-vfp-hflt.tar.gz --directory /usr/lib/jvm/
>
> /usr/lib/jvm/jdk1.8.0_241/bin/java -version
>
> /usr/lib/jvm/jdk1.8.0_241/bin/javac -version
>
> sudo apt-get install openjdk-11-jdk
>
> java -version
>
> sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_241/bin/java 1
>
> sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.8.0_241/bin/javac 1
>
> sudo update-alternatives --config java
>
> sudo update-alternatives --config javac
>
> Using the same Terminal window, enter the following command to baseline the NetBeans dependencies:
>
> sudo apt-get install g++
>
> sudo apt-get make
>
> Using the same Firefox browser, download file Apache-NetBeans-11.2-bin-linux-x64.sh, to the Downloads directory, from site URL https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/11.2/Apache-NetBeans-11.2-bin-linux-x64.sh
>
> From the Terminal window, enter the following to begin the installation of the NetBeans 11.2 application:
>
> sudo chmod +x Apache-NetBeans-11.2-bin-linux-x64.sh
>
> sudo ./Apache-NetBeans-11.2-bin-linux-x64.sh
>
> Note: The installation procedure will prompt for the location of the JDK for the Appache NetBeans IDE:… Select the /usr/lib/jvm/java-1.11.0-openjdk-arm64
>
> When the installation procedure completes, which may or may not require a restart, start the NetBeans 11.2 application from the start menu, path Whisker Menu→Development→Apache NetBeans 11.2 IDE, and execute the following to setup NetBeans 8.2 C++ support:
>
> Bring up the Plugins Settings menu by following Tools→Plugins→Settings
>
> Under the Configuration of Update Centers, check the NetBeans 8.2 Plugin Portal box
>
> Under the Automatically Check for Updates drop-down menu select Every Startup
>
> Close the Plugins window and restart the NetBeans application
>
> When the application restarts, bring up the Available Plugins menu by following Tools→Plugins→Available Plugins
>
> Check the box for C/C++
>
> Click the Install button and proceed with the installation
>
> Once again close the Plugins window and restart the NetBeans application
>
> For my particular application, I did the following to verify the installation; simple but effective:
>
> Start the Apache NetBeans 11.2 IDE application
>
> File→New Project→C/C++→C/C++ Application->Next >
>
> Leave all of the defaults, with the exception of changing version to C++14->Finish
>
> To compile press Fn/F11
>
>
> Note: This configuration compiled slightly more than 100,000 lines of code in about 28 seconds, a coarse estimate. Not too bad.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: SOLVED: Apache Netbeans w/NetBeans 8.2 C/C++ plugin on Raspberry Pi 4B (ARM64) running Ubuntu 18.04.4/xubuntu

Posted by Carl Mosca <ca...@gmail.com>.
Very cool, thank you for sharing.  Makes me want to work with a Pi
again...it's been a while.

On Fri, Feb 28, 2020 at 4:26 PM John G. Weed <no...@fastmail.com>
wrote:

> All,
>
> Forgive me if this needs to be sent via some other venue, but since this
> has been such a pain in the butt to find an answer to, I thought I'd write
> out the steps I followed to build a Raspberry Pi 4B (4GB) running the
> Ubuntu 18.04.4 LTS operating system, with the xubuntu desktop, for the
> purpose of running the NetBeans 11.2 IDE with (most importantly) support
> for the NetBeans 8.2 C/C++ plugin--one long run-on sentence.
>
> Our software baseline is currently running on some pretty hefty HP DL-380s
> (the Enterprise version), as well as some smaller tactical units. But we
> were missing a portable, pocket version platform. I wanted to be able to
> use not only the same operating system (Ubuntu 18.04), but the same IDE as
> well. This would dramatically decrease any cross platform maintenance
> issues. The following steps make this entirely possible. Many thanks to the
> folks who provided valuable suggestions.
>
> The following are the steps required to build a Ubuntu 18.04.4 LTS server
> based on the Raspberry Pi 4B (4GB) platform supporting the Apache NetBeans
> 11.2 IDE with the NetBeans 8.2 C/C++ plugin. If you are already well versed
> in Ubuntu and Raspberry Pi you may find the instructions a tad verbose.
> However, in order to reach the widest possible audience, I’ve taken the
> time to illustrate in excruciating detail. Please forward any changes or
> correction to nonsequitur@fastmail.com.
>
> Required:
>
>    1.
>
>    Raspberry Pi 4B 4GB
>    1.
>
>       HDMI monitor
>       2.
>
>       USB Keyboard and mouse
>       3.
>
>       USB power supply
>       2.
>
>    16GB MicroSD
>    3.
>
>    Windows 10 or equivalent PC (to burn Ubuntu image to MicroSD card)
>
> Windows PC Steps:
>
>    1.
>
>    Wipe-clean (delete all exiting partitions) and format the 16GB MicroSD
>    card using MiniTool Partition Wizard or equivalent
>    2.
>
>    Download file ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img
>    <https://ubuntu.com/download/raspberry-pi/thank-you?version=18.04.4&architecture=arm64+raspi3>
>    from site https://ubuntu.com/download/raspberry-pi
>    3.
>
>    Using Win32 Disk Imager or equivalent, write
>    the ubuntu-18.04.4-preinstalled-server-arm64+raspi3.img to the MicroSD card.
>
> Raspberry PI 4B (RPi4):
>
>    1.
>
>    With power off, connect monitor, keyboard and mouse to the RPi4
>    2.
>
>    Insert imaged MicroSD card into the RPi4 and power up
>    3.
>
>    Login using username "ubuntu" and password "ubuntu"
>    4.
>
>    Respond to the change password request as appropriate and login
>    5.
>
>    Update configuration sources by entering: sudo apt-get update
>    6.
>
>    Install xubuntu desktop environment by entering: sudo apt-get install
>    xubuntu-desktop
>    7.
>
>    Login to RPi4 using the changed password
>    8.
>
>    Run the Software Updater application, if it doesn’t start
>    automatically, to update the various operating ystem components before
>    continuing further; this include any requested reboots
>    9.
>
>    Using the Firefox browser, download file
>    jdk-8u241-linux-arm64-vfp-hflt.tar.gz
>    <https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html#license-lightbox>
>    from site URL
>    https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
>    10.
>
>    Bring up a Terminal window and enter the following commands to expand
>    and install the java components necessary to run NetBeans-11.2:
>    1.
>
>       cd Downloads
>       2.
>
>       sudo mkdir /usr/lib/jvm
>       3.
>
>       sudo tar xvf jdk-8u241-linux-arm64-vfp-hflt.tar.gz --directory
>       /usr/lib/jvm/
>       4.
>
>       /usr/lib/jvm/jdk1.8.0_241/bin/java -version
>       5.
>
>       /usr/lib/jvm/jdk1.8.0_241/bin/javac -version
>       6.
>
>       sudo apt-get install openjdk-11-jdk
>       7.
>
>       java -version
>       8.
>
>       sudo update-alternatives --install /usr/bin/java java
>       /usr/lib/jvm/jdk1.8.0_241/bin/java 1
>       9.
>
>       sudo update-alternatives --install /usr/bin/javac javac
>       /usr/lib/jvm/jdk1.8.0_241/bin/javac 1
>       10.
>
>       sudo update-alternatives --config java
>       11.
>
>       sudo update-alternatives --config javac
>       11.
>
>    Using the same Terminal window, enter the following command to
>    baseline the NetBeans dependencies:
>    1.
>
>       sudo apt-get install g++
>       2.
>
>       sudo apt-get make
>       12.
>
>    Using the same Firefox browser, download file *Apache-NetBeans-11.2-bin-linux-x64.sh
>    <https://downloads.apache.org/netbeans/netbeans/11.2/Apache-NetBeans-11.2-bin-linux-x64.sh>,
>    **to the Downloads directory, **from site **URL **
>    https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/11.2/Apache-NetBeans-11.2-bin-linux-x64.sh
>    <https://downloads.apache.org/netbeans/netbeans/11.2/Apache-NetBeans-11.2-bin-linux-x64.sh>*
>    13.
>
>    From the Terminal window, enter the following to begin the
>    installation of the NetBeans 11.2 application:
>    1.
>
>       sudo chmod +x Apache-NetBeans-11.2-bin-linux-x64.sh
>       2.
>
>       sudo ./Apache-NetBeans-11.2-bin-linux-x64.sh
>       3.
>
>       Note: The installation procedure will prompt for the location of
>       the JDK for the Appache NetBeans IDE:… Select the /
>       *usr/lib/jvm/java-1.11.0-openjdk-arm64*
>       14.
>
>    When the installation procedure completes, which may or may not
>    require a restart, start the NetBeans 11.2 application from the start menu,
>    path Whisker Menu→Development→Apache NetBeans 11.2 IDE, and execute the
>    following to setup NetBeans 8.2 C++ support:
>    1.
>
>       Bring up the Plugins Settings menu by following
>       Tools→Plugins→Settings
>       2.
>
>       Under the Configuration of Update Centers, check the NetBeans 8.2
>       Plugin Portal box
>       3.
>
>       Under the Automatically Check for Updates drop-down menu select
>       Every Startup
>       4.
>
>       Close the Plugins window and restart the NetBeans application
>       5.
>
>       When the application restarts, bring up the Available Plugins menu
>       by following Tools→Plugins→Available Plugins
>       6.
>
>       Check the box for C/C++
>       7.
>
>       Click the Install button and proceed with the installation
>       8.
>
>       Once again close the Plugins window and restart the NetBeans
>       application
>       15.
>
>    For my particular application, I did the following to verify the
>    installation; simple but effective:
>    1.
>
>       Start the Apache NetBeans 11.2 IDE application
>       2.
>
>       File→New Project→C/C++→C/C++ Application->Next >
>       3.
>
>       Leave all of the defaults, with the exception of changing version
>       to C++14->Finish
>       4.
>
>       To compile press Fn/F11
>
>
> Note: This configuration compiled slightly more than 100,000 lines of code
> in about 28 seconds, a coarse estimate. Not too bad.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-- 
Carl J. Mosca