Hi everyone.
I'am beginner in Linux. I need run a program from the web and I need Java
this is the command.
Code:
javaws http://blast2go.com/webstart/blast2go1000.jnlp
Here is the problem: I need java 6 o 7, but I have installed java 8, so I download the 7 (rpm) but show me that I can't install it because I have the last version. So I download the tar.gz and install it. I decompress it in /opt
Code:
alternatives --install /usr/bin/java java /opt/jdk1.7.0_51/bin/java 2
alternatives --install /usr/bin/javaws javaws /opt/jdk1.7.0_51/bin/javaws 2
alternatives --install /usr/bin/javac javac /opt/jdk1.7.0_51/bin/javac 2
alternatives --config java
alternatives --config javaws
alternatives --config javac
then a add
export JAVA_HOME=/opt/jdk1.7.0_51/bin in /etc/profile
Well when I type: java -version it show me "1.7.0_51", nice!,
but when I try to run my program it show me
Code:
Java Version Problem: You are executing Blast2GO with Java 1.8
This Java Version is not supported and Blast2GO should be executed with Java 1.6 or 1.7
Blast2GO will now exit
How I can completely remove Java 8 and install Java 7
When I update my sistem, Is the java updated too?
Please I need a help.
Thanks.