LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Uninstall all version of Java and install Java 1.6 (CentOS VPS) (http://www.linuxquestions.org/questions/linux-newbie-8/uninstall-all-version-of-java-and-install-java-1-6-centos-vps-4175417587/)

HGArts 07-19-2012 07:51 AM

Uninstall all version of Java and install Java 1.6 (CentOS VPS)
 
Hey there!, i have a VPS in Linux CentOS and i need the commands for PuTTy to uninstall all version of Java and need the link for download 1.6 version, please.

I need this for open a Minecaft Server and have the problem "Failed to bind to port" my company of vps tell me this solution. Thanks for you answer!

Sorry for my bad English i'm from is Argentina and i no use a translate for i know is bad...

Thanks for you answer!

HGArts 07-19-2012 08:54 AM

Help please ._.

camorri 07-19-2012 08:59 AM

You can get java 1.6 from this link. -->http://java.com/en/download/manual_v6.jsp

1.7 is current.

You will find all the instructions on how to install, and verify you installation on that site. However, I would look into installing and removing old versions through the package manager that comes with Centos. If you go outside of the package manager, you are on your own to find the old version, and install the new one.

HGArts 07-19-2012 09:52 AM

Quote:

package jre-1.7.0_03-fcs.i586 (which is newer than jre-1.6.0_33-fcs.i586) is already installed
package jre-1.7.0_05-fcs.i586 (which is newer than jre-1.6.0_33-fcs.i586) is already installed
file /etc/init.d/jexec from install of jre-1.6.0_33-fcs.i586 conflicts with file from package jre-1.7.0_03-fcs.i586
file /etc/init.d/jexec from install of jre-1.6.0_33-fcs.i586 conflicts with file from package jre-1.7.0_05-fcs.i586
how to uninstall this?

camorri 07-19-2012 10:15 AM

This link -->http://www.centos.org/docs/4/html/yum/ covers your questions. You will need the root password to do most software install, removal, and upgrades.

larvel 07-19-2012 05:13 PM

You must either have java 1.6 or 1.7 rpm installed. You can delete with rpm -e package name.rpm or download the tar version and just untar it wherever you like.


All times are GMT -5. The time now is 03:13 AM.