Tag Info

New answers tagged

3

. is not a variable with a value. It is a (special) file in the filesystem. You cannot change it.


1

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.


1

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 ...


1

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.


1

At last found a solution that works for me. It may be useful for others in this Stack Overflow Q&A titled: Sudo In Java Process. The solution involves a fair amount of Java so I'm only going to reference the answer in the original link mentioned above. Here's an example using the code from that answer. public static void main(String[] args) throws ...


0

I was getting the same issue, I installed all GUI packages using yum then add: $ xhost +<machinename> $ su oracle $ ./runInstaller


0

This is a convoluted answer to your question because I believe you are making things way more complex than they need to. I have a pretty good guess on what is wrong with your install: Referring to my bullet point below about 64-bit Java on Solaris I'm guessing that what you're doing wrong is that you've only installed the 64-bit Java overlay package for ...



Top 50 recent answers are included