

It offers support for debugging, syntax highlighting, code completion, Git control, snippets and code refactoring, as well as many customization options. The Raspberry Pi was already a powerful PC at a lower price.Visual Studio Code Portable is an integrated development environment created to help you build web and cloud-based applications. Without any further installation, we can now try out one of the examples of my book, the “JavaFX dashboard application”. OpenJDK 64-Bit Server VM (build 11.0.8+10-LTS, mixed mode) OpenJDK Runtime Environment (build 11.0.8+10-LTS) Java version: 11.0.8, vendor: BellSoft, runtime: /home/pi/.sdkman/candidates/java/11.0.8.fx-librcaĭefault locale: en_GB, platform encoding: UTF-8 Maven and BellSoft JDK with JavaFX are already installed on my board: $ mvn -version

Let’s add the “Java Extension Pack”, so we can test a Java application. code_1.50.1-1602600638_bĪlso here you’ll now find Visual Studio Code in the Programming list in the start menu. The installation command is the same as before, but with a slightly different filename. Select the “ARM 64” version from the download page. If you are already using the newer work-in-progress 64-bit Raspberry Pi OS (see more info in my post “64-bit Raspberry Pi OS on Raspberry Pi 4 with USB BOOT”, you will need another version. There it is, the latest version 1.50.1 on a Linux ARM processor! Raspberry Pi OS 64-bit You can now start VSC from the start button and you will find it in the “Programming” list. Once downloaded, start a terminal and run the installation with: $ cd /home/pi/Downloads If you are using a “default” Raspberry Pi OS - which is 32-bit version - you need to download the “ARM” file. On your Raspberry Pi open a browser and go to the Visual Studio Code download page. Luckily Microsoft decided to release new versions again with installers for both 32-bit and 64-bit Raspberry Pis. You can find a version in the GitHub projects of Steve Desmond for version 1.28.2, but VSC is already on version 1.50.1 today.

Visual Studio Code is totally free but until recently was not available in an official version for the Raspberry Pi. IntelliJ IDEA is the most used IDE by Java developers and is available in a free edition with some limited features, or a full paid version. My prefered ones are JetBrains IntelliJ IDEA and Microsoft Visual Studio Code (VSC). In my book “Getting Started with Java on the Raspberry Pi”, I give more info about IDEs (= Integrated Development Environment) for Java development.
