Posts: 1
Joined: Tue Nov 19, 2019 8:02 pm

Using NetBeans IDE

Tue Nov 19, 2019 8:08 pm


I am new to raspberry programming so in order to start developing in C++, can I download NetBeans (Linux version) and install it in the board?

With regards to development, it can be developed as if it were a normal computer with Linux operating system. That's right?


User avatar
Posts: 4237
Joined: Wed Aug 28, 2013 3:31 am

Re: Using NetBeans IDE

Tue Nov 19, 2019 11:39 pm

Did not know there was a Netbeans for Arm Linux?
Geany, Code:Blocks, Visual Studio Code and others work.

Compile it yourself?
You may need a 4GB Pi4 to compile something like this.

Depends on those dependencies.
Java now defaults to OpenJDK on Pi's.

Most Linux binaries are for x86, Pi's are Arm.
But if the source code is clean, generally stuff just compiles and works.
I get about 50% of stuff working without trouble, some needs fixing, some have x86 dependencies.
Because it is Linux there is often many choices to pick from.

Use what works.
And the 4GB Pi4's are pretty much mainstream Linux now.
Aarch64 or 64bit OS versions are out there now, with more coming.
I find Gentoo64 the most useful at the moment.
If you are just tinkering with C++, 32bit Buster Raspbian is easier.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Posts: 2
Joined: Sat Nov 23, 2019 11:26 am

Re: Using NetBeans IDE

Sat Nov 23, 2019 4:32 pm

I installed Netbeans with the command:
sudo apt-get install netbeans

I haven't tested to program in C++ but in Java.

For the moment I just build an app with a window and a button. When you clic on the button a message is written in the console. It's just for testing if everything is OK, just an hello world.

The installed version of Netbeans is 8.1 for a more recent version it's seems you have to make it from source, see https://www.raspberrypi.org/forums/view ... 9#p1522159 (the last reply)

Return to “Java”