New answers tagged java
. is not a variable with a value. It is a (special) file in the filesystem. You cannot change it.
The Debian openjdk packages are marked Multi-Arch: same so you should be able to do: sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install icedtea-6-plugin You might need to remove the amd64 version of the browser plugin first, but you can have both versions of java itself installed at the same time.
Since this question is RPM specific, rpm is the way to get started (as answered by @Matteo). rpm flags -q is short for --query -l is short for --list Example rpm -ql jdk1.8.0_20 | grep "jdk1.8.0_20/bin$" /usr/java/jdk1.8.0_20/bin Knowing this may be desirable for setting a user or application's $JAVA_HOME variable. This is often needed when a ...
I am sorry but you should really read each and every line of the output log to understand why the error happened. This is the error line: javac: invalid target release: 1.8 It means you do not have a JDK for Java version 1.8, I would suggest googling this error, that way you would for example see this other answer.
Top 50 recent answers are included