New answers tagged

0 votes

Refer another Java version in a systemd service file

export PATH="${JAVA_HOME}/bin:${PATH}" at the beginning of Connect.sh, or, assuming you use "$JAVA" instead of java all over your script, remove: if type -p java >/dev/null; ...
user avatar
  • 402
1 vote
Accepted

How to get the java assembly instructions

With +PrintAssembly, you need a disassembler plugin. If you’re using Debian or a derivative, install libhsdis0-fcml. Note that openjdk-17-dbg isn’t a debug JDK; it’s a package containing debugging ...
user avatar
1 vote
Accepted

"Too small maximum heap" Java error in Manjaro Linux running through terminal

The default value for the xmx and xms settings are in bytes so these values are way too small. From man java: -Xmsn Specify the initial size, in bytes, of the memory allocation ...
user avatar
  • 33.3k

Top 50 recent answers are included