开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

E: Unable to locate package openjdk-8-jre


 

I have YAAC running fine using a Pi with the 32 bit PI OS Buster using 73Linux to install YAAC.

I tried to install YAAC using 64 bit PI OS Buster and it failed to start.? The error message is
./YAAC Line 2: java: command not found.

I looked on the website??at the?
Raspberry Pi Detailed Installation Directions
and followed them.? When I got to?

apt-get install openjdk-8-jre unzip libjssc-java?

I get an error message:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package openjdk-8-jre

How can I locate and install openjdk-8-jre?



--
-- Bill AA6BD


 

开云体育

Given how old Java 8 is, you may have to install a newer version such as Java 11 (they may have dropped Java 8 from the distro).

YAAC has been verified to work up to Java release 21, so that shouldn't be an issue.

Andrew, KA2DDO
author of YAAC

From: [email protected] <[email protected]> on behalf of Bill AA6BD <bill@...>
Sent: Thursday, November 30, 2023 11:48:16 AM

I have YAAC running fine using a Pi with the 32 bit PI OS Buster using 73Linux to install YAAC.

I tried to install YAAC using 64 bit PI OS Buster and it failed to start.? The error message is
./YAAC Line 2: java: command not found.

I looked on the website??at the?
Raspberry Pi Detailed Installation Directions
and followed them.? When I got to?

apt-get install openjdk-8-jre unzip libjssc-java?

I get an error message:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package openjdk-8-jre

How can I locate and install openjdk-8-jre?

--
-- Bill AA6BD


 

So does that mean that the installation instructions on the YAAC website should be modified to reflect this??

Is it as simple as changing the command to?
apt-get install openjdk-11-jre unzip libjssc-java?

or should I install a later version?? If so, what version?

--
-- Bill AA6BD


 

开云体育

I recently downloaded and installed YACC on my machine. None of the JREs I had would allow the app to start without crashing. I had to download the latest from Oracle.

On Nov 30, 2023, at 12:43?PM, Bill AA6BD <bill@...> wrote:

So does that mean that the installation instructions on the YAAC website should be modified to reflect this??

Is it as simple as changing the command to?
apt-get install openjdk-11-jre unzip libjssc-java?

or should I install a later version?? If so, what version?

--
-- Bill AA6BD


 

That's very strange. What platform and operating system were you using? And which specific packages of Java distributions?

For example, some Linux distros split the core Java Runtime Environment (JRE) from the AWS/Swing graphics support, so if you are on a headless system, Java will still work without failing because it won't try to open the graphics display. If you only installed openjdk-jre-headless, YAAC would fail because it uses the JRE graphics libraries and they wouldn't be present to allow YAAC to use the graphics display.

Andrew, KA2DDO
author of YAAC

________________________________________
From: [email protected] <[email protected]> on behalf of Mark C via groups.io <k6ef@...>
Sent: Thursday, November 30, 2023 3:53 PM
To: [email protected]
Subject: Re: [yaac-users] E: Unable to locate package openjdk-8-jre

I recently downloaded and installed YACC on my machine. None of the JREs I had would allow the app to start without crashing. I had to download the latest from Oracle.

On Nov 30, 2023, at 12:43?PM, Bill AA6BD <bill@...> wrote:

So does that mean that the installation instructions on the YAAC website should be modified to reflect this?

Is it as simple as changing the command to
apt-get install openjdk-11-jre unzip libjssc-java

or should I install a later version? If so, what version?

--
-- Bill AA6BD


 

I googled it and found I could easily install JRE with

$ sudo apt update

$ sudo apt install default-jdk

I checked that all was OK with

$ java --version

--
-- Bill AA6BD