LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-14-2014, 05:56 PM   #1
Trotel
LQ Newbie
 
Registered: Mar 2012
Posts: 16

Rep: Reputation: Disabled
Completely remove Java 1.8 and install 1.7


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.
 
Old 04-15-2014, 07:11 AM   #2
suDoh!
LQ Newbie
 
Registered: Apr 2014
Location: Bangalore
Distribution: Precise Pangolin
Posts: 21

Rep: Reputation: Disabled
Try running "rpm -qa jdk"... you should get some output that looks roughly like... jdk1.8.0-2.32.fcs.x64

Remember, the text may vary, but if you get it, copy that file name and run this: "rpm -e <jdk_file_name_here>

Once it is over, check under the path where you installed java initially and remove the dirs (if any)..i.e. include/jre etc...

Then install the 1.6/1.7 version and it should go in...

Cheers!
 
Old 04-15-2014, 01:42 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,647

Rep: Reputation: 2655Reputation: 2655Reputation: 2655Reputation: 2655Reputation: 2655Reputation: 2655Reputation: 2655Reputation: 2655Reputation: 2655Reputation: 2655Reputation: 2655
rpm and java8

WHAT!!!! operating system is this ??

fedora 20 ?????????
if so
fedora already has installed OpenJDK BY DEFAULT

Orcals java is INCOMPATIBLE

openjdk must be uninstalled then replaced with Oracles JDK


so before we try to walk you through it

What Operating System and Version are you using
 
  


Reply

Tags
java


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Cannot remove Microcode completely decenter Linux - Desktop 6 12-09-2013 01:17 AM
Completely Remove xfce4 tux0r Linux - Software 2 09-11-2011 03:16 AM
remove gnome completely and install kde? michaelinux Debian 1 09-09-2010 10:43 AM
I want to To install Linux & completely remove windows xp from my laptop sivaji06 Linux - General 3 06-23-2006 11:29 PM
How to remove software completely ? naihe2010 Linux - Software 5 10-17-2005 01:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration