Skip to content
Advertisement

Install Java 16 on Raspberry Pi 4

I have tried multiple releases from here using : But after java -version I always get: Which means I have chosen the wrong release/architecture. Is there a release that works with Raspberry Pi’s or is there another way to install Java 16? Answer Answering my own question. cd [minecraft directory here] wget https://github.com/AdoptOpenJDK/openjdk16-binaries/releases/download/jdk16u-2021-05-08-12-45/OpenJDK16U-jdk_arm_linux_hotspot_2021-05-08-12-45.tar.gz tar xzf OpenJDK16U-jdk_arm_linux_hotspot_2021-05-08-12-45.tar.gz export PATH=$PWD/jdk-16.0.1+4/bin:$PATH java -version

Can’t change git default branch to main on the command line

I’ve read on several sites that you can use git config –global init.defaultBranch main to change the default branch (from master) to main. But it doesn’t work for me. Here it’s from my terminal (my os is ubuntu): Answer The option init.defaultBranch was introduced in Git version 2.28. You must be running an older version which does not honor this

Can’t commit and push to github repository

Screenshot Hi, I’m trying to commit and push my work onto github. However, I can’t. Seems like it’s saying some of the files i’m trying to push are too large. But that’s why I specified the .csv and .pt files in .gitignore. I am not sure why .gitignore is not working as it should. Any help will be very much

download & install openshift cli command not working

I want to add the download and installation step of OpenShift CLI 4.6 on a docker file. I have added the following lines but it’s not working. But I am getting the following error Current curl: (23) Failed writing body (1354 != 1371) Answer curl -L https://github.com/openshift/okd/releases/download/4.6.0-0.okd-2021-02-14-205305/openshift-client-linux-4.6.0-0.okd-2021-02-14-205305.tar.gz | tar xz will extract the files in the tarball, so finally, the

Advertisement