d-dogg
Posts: 5
Joined: Sat Jan 28, 2023 8:31 am

What java program resolved

Sat Jan 28, 2023 8:45 am

Hi guys,

On my raspberry pi i can not find a preinstalled java program only python and scratch. What program should i use which is free and how do I install it?
thanks
d-dogg :)
Last edited by d-dogg on Sun Feb 12, 2023 7:51 am, edited 2 times in total.
Thankyou

D-DOGG

bidrohini
Posts: 201
Joined: Thu Oct 20, 2022 1:52 pm

Re: What java program

Sat Jan 28, 2023 10:09 am

Java is not pre-installed on the Raspberry Pi by default. You can install the OpenJDK version of Java on the Raspberry Pi using the apt package manager. To do this, open a terminal and enter the following command:

Code: Select all

sudo apt-get update
sudo apt-get install openjdk-11-jdk

This will install the OpenJDK version of Java 11 on your Raspberry Pi. You can then check if Java is installed correctly by running the command java -version

Note that OpenJDK is an open-source implementation of the Java Platform and is free to use.

d-dogg
Posts: 5
Joined: Sat Jan 28, 2023 8:31 am

Re: What java program

Sat Jan 28, 2023 4:00 pm

Thankyou that was really helpfull :D
Thankyou

D-DOGG

knute
Posts: 899
Joined: Thu Oct 23, 2014 12:14 am
Location: Texas

Re: What java program

Sat Jan 28, 2023 11:59 pm

And note that Java 17 is available from the repository as well:

pi@raspberrypi64:~ $ apt search openjdk-17-jdk
Sorting... Done
Full Text Search... Done
openjdk-17-jdk/stable,stable-security 17.0.4+8-1~deb11u1 arm64
OpenJDK Development Kit (JDK)

d-dogg
Posts: 5
Joined: Sat Jan 28, 2023 8:31 am

Re: What java program

Sun Jan 29, 2023 8:12 am

thanyou again very usefull
Thankyou

D-DOGG

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

Re: What java program

Sun Jan 29, 2023 8:21 am

Processing works too, most on the time ;)
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

d-dogg
Posts: 5
Joined: Sat Jan 28, 2023 8:31 am

Re: What java program resolved

Sat Jul 01, 2023 3:45 pm

:D thx
Thankyou

D-DOGG

Return to “Java”