Skip to content

Tag: linux

File.exists doesn’t find the file in /usr/sbin folder

I have a very strange problem, I have a code that check if the gluster cli tool is installed, on a Manjaro distribution it works. But the problem is that this code will return false on my Gentoo : ls -ailh /usr/sbin/gluster 17555959 -rwxr-xr-x 1 root root 454K 1 avril 16:02 /usr/sbin/gluster I tried to find a…

How does java guarateee reserved memory

Checking for memory usage by stack using this command: I can see that reserved memory is different from committed. Reserved is about 1MB (default for stack). Committed in fact is physical reserved. I read that java save memory for stack while is not totally used. Running command like top I can see just commit…

Unable to get PATH to be set for all users

Trying to get OpenJDK 17 installed for Pufferpanel. User pi can do java -version fine however Pufferpanel gets bash: java: command not found My /etc/profile and /etc/profile.d/java.sh have these lines: In addition JAVA_HOME=”/usr/lib/jvm/jdk-17.0.1+12″ is set in /etc/environment Full permissions h…

Installing jenkins on Linux Mint 20.2

I’ve Linux Mint 20.2 Cinnamon and I tried to install jenkins. Detailed steps for installation is as below: 1. Installing java – installed via apt I’ve also added JAVA_HOME in ~/.zshrc which gives: 2. Installing jenkins I’ve tried with different versions of java, yet the same error. Wha…

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] w…