![]() *My hypervisor requires that grub-install has the -removable flag when using UEFI. Should I just add the Stretch repos to my sources.list? They advise against doing that, so what is the proper way to get Java 8? So how should I install the OpenJDK 8 JRE in Bullseye? I want to use Bullseye, as it is stable, not Stretch. Interestingly, it is there in Debian Stretch. and it isn't there (I'm using Bullseye/11 - the current stable release). ĭeb bullseye-security main contrib non-freeĭeb-src bullseye-security main contrib non-free If it helps, here is my /etc/apt/sources.list file. However the following packages replace it:Į: Package 'openjdk-8-jre' has no installation candidate This may mean that the package is missing, has been obsoleted, or Package openjdk-8-jre is not available, but is referenced to by another package. Here's what I did to install it: $ sudo apt update I installed Debian 11, and used an advanced installation due to a hypervisor bug*. I need to install the Java 8 JRE, from OpenJDK. That answer mentions that you can get it from the Stretch repos, but I don't want to create a Franken-Debian, so I'm not sure if that's a good idea or not. This VM is solely dedicated to my Java app, so I'm not really interested in using a container. I'm not interested in the reason, instead, I need to install it. Once the above mentioned functions have been added to ~/.bash_profile all newly opened terminal windows will be able to directly call them.This answer explains why it was removed. Step 2: Save the file and open a new terminal window StringArray=($"Įcho "Invalid option, JAVA_HOME was not set"Įxport PATH=$(echo $PATH | sed -E -e "s :$1 " -e "s $1:? ") RemoveFromPath '/System/Library/Frameworks/amework/Home/bin' ![]() Read -p "Please chose a value from the options above: " selectedOption the java version you wish to switch to from the following:"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |