Skip to content

Commit e7334cf

Browse files
committed
Add remote development with IntelliJ IDEA
1 parent 287a851 commit e7334cf

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

content/getting-started/java-development-on-the-raspberry-pi-with-vsc.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ tags: ["Visual Studio Code"]
66

77
## Java on the Raspberry Pi
88

9-
You need Java 21 or newer to use Pi4J V3+. Please check the [Prepare a Raspberry Pi](/prepare/install-java/) and [Install Java and Tools](/prepare/install-java/) instructions. On a board with ARMv7 or ARMv8 you will get this result:
9+
{{% notice warning %}}
10+
Please check the [Prepare a Raspberry Pi](/prepare/install-java/) and [Install Java and Tools](/prepare/install-java/) instructions.
11+
{{% /notice %}}
12+
13+
You need Java 21 or newer to use Pi4J V3+. On a board with ARMv7 or ARMv8 you will get this result:
1014

1115
```shell
1216
$ java -version
@@ -17,8 +21,8 @@ OpenJDK 64-Bit Server VM Zulu21.38+21-CA (build 21.0.5+11-LTS, mixed mode, shari
1721

1822
Keep in mind this version is **only compatible with ARMv7 or higher** and doesn't support all
1923
Raspberry Pi board versions. If you have a Raspberry Pi A (version 3), B (version 2 or higher),
20-
or Compute (version 3 or higher), you are good to go! For all other boards, or if you get the error below, you will need some additional steps
21-
that are described on [Java for ARMv6/7/8](/documentation/java-installation/).
24+
or Compute (version 3 or higher), you are good to go! For all other boards, or if you get the error below,
25+
you will need some additional steps that are described on [Java for ARMv6/7/8](/documentation/java-installation/).
2226

2327
```shell
2428
$ java -version
@@ -28,9 +32,14 @@ Server VM is only supported on ARMv7+ VFP
2832

2933
## Maven
3034

31-
Pi4J is using Maven as build tool, this allows you to compile your code with the required modules into JAR-file thanks
32-
to the pom.xml configuration file which you can find in the root of a project. We need to install Maven and can do this
33-
with a single command, after which we can immediately check the installation by requesting the version:
35+
{{% notice info %}}
36+
If you followed the steps described on [Prepare a Raspberry Pi](/prepare/install-java/) and [Install Java and Tools](/prepare/install-java/),
37+
you already have Mave installed.
38+
{{% /notice %}}
39+
40+
Pi4J is using Maven as build tool, this allows you to compile your code with the required modules
41+
into JAR-file thanks to the `pom.xml` configuration file which you can find in the root of a project.
42+
We need to install Maven and can do this with a single command, after which we can immediately check the installation by requesting the version:
3443

3544
```shell
3645
$ sudo apt install maven

0 commit comments

Comments
 (0)