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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-24-2014, 07:08 AM
|
#1
|
LQ Newbie
Registered: Jan 2014
Location: Shenzhen China
Posts: 25
Rep: 
|
The problem I encounter when I install java.
I download jdk-7u25-linux-i586.rpm from website( http://www.oracle.com/technetwork/ja...k-7u25-oth-JPR). And the I start to install RPM PACKET in Centos 6.3.
Code:
[root@AY1312280620257702e0Z software]#
[root@AY1312280620257702e0Z software]# rpm -ivh jdk-7u25-linux-i586.rpm
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
Unpacking JAR files...
rt.jar...
/var/tmp/rpm-tmp.qPJo7u: /usr/java/jdk1.7.0_25/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/rt.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
jsse.jar...
/var/tmp/rpm-tmp.qPJo7u: /usr/java/jdk1.7.0_25/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/jsse.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
charsets.jar...
/var/tmp/rpm-tmp.qPJo7u: /usr/java/jdk1.7.0_25/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/charsets.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
tools.jar...
/var/tmp/rpm-tmp.qPJo7u: /usr/java/jdk1.7.0_25/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/lib/tools.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
localedata.jar...
/var/tmp/rpm-tmp.qPJo7u: /usr/java/jdk1.7.0_25/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/ext/localedata.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
plugin.jar...
/var/tmp/rpm-tmp.qPJo7u: /usr/java/jdk1.7.0_25/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/plugin.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
javaws.jar...
/var/tmp/rpm-tmp.qPJo7u: /usr/java/jdk1.7.0_25/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/javaws.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
deploy.jar...
/var/tmp/rpm-tmp.qPJo7u: /usr/java/jdk1.7.0_25/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/deploy.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
[root@AY1312280620257702e0Z software]#
|
|
|
01-24-2014, 07:12 AM
|
#2
|
LQ Newbie
Registered: Jan 2014
Location: Shenzhen China
Posts: 25
Original Poster
Rep: 
|
I follow the instruction which is provided by oracle,what is the root cause?
Quote:
Installation of the 64-bit JDK on RPM-based Linux Platforms
This procedure installs the Java Development Kit (JDK) for 64-bit RPM-based Linux platforms, such as Red Hat and SuSE, using an RPM binary file (.rpm) in the system location. You must be root to perform this installation.
These instructions use the following file:
jdk-7u<version>-linux-x64.rpm
1. Download the file. Before the file can be downloaded, you must accept the license agreement.
2. Become root by running su and entering the super-user password.
3. Uninstall any earlier installations of the JDK packages.
# rpm -e <package_name>
4. Install the package.
# rpm -ivh jdk-7u<version>-linux-x64.rpm
To upgrade a package:
# rpm -Uvh jdk-7u<version>-linux-x64.rpm
5. Delete the .rpm file if you want to save disk space.
6. Exit the root shell. No need to reboot.
|
Quote:
Originally Posted by Robert Chiu
I download jdk-7u25-linux-i586.rpm from website( http://www.oracle.com/technetwork/ja...k-7u25-oth-JPR). And the I start to install RPM PACKET in Centos 6.3.
Code:
[root@AY1312280620257702e0Z software]#
[root@AY1312280620257702e0Z software]# rpm -ivh jdk-7u25-linux-i586.rpm
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
Unpacking JAR files...
rt.jar...
/var/tmp/rpm-tmp.qPJo7u: /usr/java/jdk1.7.0_25/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/rt.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
jsse.jar...
/var/tmp/rpm-tmp.qPJo7u: /usr/java/jdk1.7.0_25/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/jsse.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
charsets.jar...
/var/tmp/rpm-tmp.qPJo7u: /usr/java/jdk1.7.0_25/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/charsets.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
tools.jar...
/var/tmp/rpm-tmp.qPJo7u: /usr/java/jdk1.7.0_25/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/lib/tools.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
localedata.jar...
/var/tmp/rpm-tmp.qPJo7u: /usr/java/jdk1.7.0_25/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/ext/localedata.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
plugin.jar...
/var/tmp/rpm-tmp.qPJo7u: /usr/java/jdk1.7.0_25/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/plugin.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
javaws.jar...
/var/tmp/rpm-tmp.qPJo7u: /usr/java/jdk1.7.0_25/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/javaws.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
deploy.jar...
/var/tmp/rpm-tmp.qPJo7u: /usr/java/jdk1.7.0_25/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/deploy.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
[root@AY1312280620257702e0Z software]#
|
|
|
|
01-24-2014, 07:15 AM
|
#3
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
install the x64 version, you don't have 32 bit capabilities
|
|
|
01-24-2014, 07:32 AM
|
#4
|
LQ Newbie
Registered: Jan 2014
Location: Shenzhen China
Posts: 25
Original Poster
Rep: 
|
Appreciate your help.. I download the 64 bit version and install it in the following, still some problem at the bottom(the red color) :
Code:
[root@AY1312280620257702e0Z software]#
[root@AY1312280620257702e0Z software]#
[root@AY1312280620257702e0Z software]# rpm -ivh jdk-7u25-linux-
jdk-7u25-linux-i586.rpm jdk-7u25-linux-x64.rpm
[root@AY1312280620257702e0Z software]# rpm -ivh jdk-7u25-linux-x64.rpm
Preparing... ########################################### [100%]
file /usr/java/jdk1.7.0_25/jre/lib/jexec from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/lib/jexec from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/java from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/java from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/appletviewer from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/apt from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/extcheck from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/idlj from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jar from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jarsigner from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/javac from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/javadoc from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/javah from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/javap from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/javaws from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/javaws from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jcmd from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jconsole from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jdb from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jhat from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jinfo from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jmap from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jps from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jrunscript from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jsadebugd from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jstack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jstat from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jstatd from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/keytool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/keytool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/native2ascii from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/orbd from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/orbd from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/pack200 from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/pack200 from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/policytool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/policytool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/rmic from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/rmid from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/rmid from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/rmiregistry from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/rmiregistry from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/schemagen from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/serialver from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/servertool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/servertool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/tnameserv from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/tnameserv from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/unpack200 from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/unpack200 from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/wsgen from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/wsimport from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/xjc from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/java_vm from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/charsets.pack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/deploy/ffjcext.zip from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/ext/localedata.pack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/jfxrt.jar from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/jsse.pack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/rt.pack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/lib/ant-javafx.jar from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/lib/ct.sym from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/lib/tools.pack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/release from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/src.zip from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
[root@AY1312280620257702e0Z software]# ls
jdk-7u25-linux-i586.rpm jdk-7u25-linux-x64.rpm opera-12.16-1860.x86_64.rpm
[root@AY1312280620257702e0Z software]#
[root@AY1312280620257702e0Z software]#
[root@AY1312280620257702e0Z software]#
[root@AY1312280620257702e0Z software]# java
-bash: /usr/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
[root@AY1312280620257702e0Z software]# java -version
-bash: /usr/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
[root@AY1312280620257702e0Z software]# java -c
-bash: /usr/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
[root@AY1312280620257702e0Z software]#
Last edited by Robert Chiu; 01-24-2014 at 07:34 AM.
|
|
|
01-24-2014, 07:38 AM
|
#5
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
"which java" and "file" on the result? i think you're invoking the 32bit version
EDIT: first remove old jdk
Last edited by gengisdave; 01-24-2014 at 07:39 AM.
|
|
|
01-24-2014, 07:42 AM
|
#6
|
LQ Newbie
Registered: Jan 2014
Location: Shenzhen China
Posts: 25
Original Poster
Rep: 
|
How could I remove the effect of 32bit jave version? I am trying to use "rpm -e", but seems that does not work.
Code:
[root@AY1312280620257702e0Z software]#
[root@AY1312280620257702e0Z software]# ls
jdk-7u25-linux-i586.rpm jdk-7u25-linux-x64.rpm opera-12.16-1860.x86_64.rpm
[root@AY1312280620257702e0Z software]#
[root@AY1312280620257702e0Z software]#
[root@AY1312280620257702e0Z software]# rpm -e jdk-7u25-linux-x64.rpm
error: package jdk-7u25-linux-x64.rpm is not installed
[root@AY1312280620257702e0Z software]#
[root@AY1312280620257702e0Z bin]# which java
/usr/bin/java
Last edited by Robert Chiu; 01-24-2014 at 07:46 AM.
|
|
|
01-24-2014, 07:44 AM
|
#7
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
"rpm -e jdk-7u25-linux-i586.rpm" or a brute "rm -rf /usr/java/jdk1.7.0_25/", but i think that break rpm database
|
|
|
01-24-2014, 07:50 AM
|
#8
|
LQ Newbie
Registered: Jan 2014
Location: Shenzhen China
Posts: 25
Original Poster
Rep: 
|
still does not work
Quote:
[root@AY1312280620257702e0Z software]# rpm -e jdk-7u25-linux-i586.rpm
error: package jdk-7u25-linux-i586.rpm is not installed
[root@AY1312280620257702e0Z software]# rpm -e jdk-7u25-linux-x64.rpm
error: package jdk-7u25-linux-x64.rpm is not installed
[root@AY1312280620257702e0Z software]# rpm -ivh jdk-7u25-linux-x64.rpm
Preparing... ########################################### [100%]
file /usr/java/jdk1.7.0_25/jre/lib/jexec from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/lib/jexec from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/java from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/java from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/appletviewer from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/apt from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/extcheck from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/idlj from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jar from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jarsigner from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/javac from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/javadoc from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/javah from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/javap from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/javaws from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/javaws from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jcmd from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jconsole from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jdb from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jhat from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jinfo from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jmap from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jps from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jrunscript from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jsadebugd from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jstack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jstat from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jstatd from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/keytool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/keytool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/native2ascii from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/orbd from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/orbd from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/pack200 from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/pack200 from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/policytool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/policytool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/rmic from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/rmid from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/rmid from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/rmiregistry from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/rmiregistry from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/schemagen from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/serialver from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/servertool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/servertool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/tnameserv from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/tnameserv from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/unpack200 from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/unpack200 from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/wsgen from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/wsimport from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/xjc from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/java_vm from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/charsets.pack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/deploy/ffjcext.zip from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/ext/localedata.pack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/jfxrt.jar from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/jsse.pack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/rt.pack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/lib/ant-javafx.jar from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/lib/ct.sym from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/lib/tools.pack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/release from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/src.zip from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
[root@AY1312280620257702e0Z software]# java
-bash: /usr/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
[root@AY1312280620257702e0Z software]# java -version
-bash: /usr/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
[root@AY1312280620257702e0Z software]#
|
|
|
|
01-24-2014, 07:54 AM
|
#9
|
LQ Newbie
Registered: Jan 2014
Location: Shenzhen China
Posts: 25
Original Poster
Rep: 
|
I am trying to use "rm -rf ",but seems it sitll does not work
Code:
[root@AY1312280620257702e0Z java]# rm -rf jdk1.7.0_25/
[root@AY1312280620257702e0Z java]# ls
default latest
[root@AY1312280620257702e0Z java]# cd /usr/qiuxin/
[root@AY1312280620257702e0Z qiuxin]# ls
chd5_beta setup.sh software
[root@AY1312280620257702e0Z qiuxin]# cd software/
[root@AY1312280620257702e0Z software]# ls
jdk-7u25-linux-i586.rpm jdk-7u25-linux-x64.rpm opera-12.16-1860.x86_64.rpm
[root@AY1312280620257702e0Z software]# java
-bash: /usr/bin/java: No such file or directory
[root@AY1312280620257702e0Z software]# rpm -ivh jdk-7u25-linux-x64.rpm
Preparing... ########################################### [100%]
file /usr/java/jdk1.7.0_25/jre/lib/jexec from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/lib/jexec from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/java from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/java from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/appletviewer from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/apt from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/extcheck from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/idlj from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jar from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jarsigner from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/javac from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/javadoc from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/javah from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/javap from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/javaws from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/javaws from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jcmd from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jconsole from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jdb from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jhat from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jinfo from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jmap from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jps from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jrunscript from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jsadebugd from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jstack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jstat from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/jstatd from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/keytool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/keytool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/native2ascii from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/orbd from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/orbd from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/pack200 from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/pack200 from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/policytool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/policytool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/rmic from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/rmid from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/rmid from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/rmiregistry from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/rmiregistry from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/schemagen from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/serialver from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/servertool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/servertool from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/tnameserv from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/tnameserv from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/unpack200 from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/unpack200 from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/wsgen from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/wsimport from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/bin/xjc from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/bin/java_vm from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/charsets.pack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/deploy/ffjcext.zip from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/ext/localedata.pack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/jfxrt.jar from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/jsse.pack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/jre/lib/rt.pack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/lib/ant-javafx.jar from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/lib/ct.sym from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/lib/tools.pack from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/release from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
file /usr/java/jdk1.7.0_25/src.zip from install of jdk-2000:1.7.0_25-fcs.x86_64 conflicts with file from package jdk-2000:1.7.0_25-fcs.i586
[root@AY1312280620257702e0Z software]# java
-bash: /usr/bin/java: No such file or directory
[root@AY1312280620257702e0Z software]# java -c
|
|
|
01-24-2014, 07:55 AM
|
#10
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
"file /usr/bin/java", but should be a symlink to /usr/java/jdk1.7.0_25/bin/java, "file /usr/java/jdk1.7.0_25/bin/java" should report it as a 32bit elf, try "rpm -ivh --force jdk-7u25-linux-x64.rpm"
|
|
|
01-24-2014, 08:02 AM
|
#11
|
LQ Newbie
Registered: Jan 2014
Location: Shenzhen China
Posts: 25
Original Poster
Rep: 
|
Code:
[root@AY1312280620257702e0Z software]# rpm -ivh --force jdk-7u25-linux-x64.rpm
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
Unpacking JAR files...
rt.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/jre/lib/rt.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/rt.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
jsse.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/jre/lib/jsse.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/jsse.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
charsets.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/jre/lib/charsets.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/charsets.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
tools.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/lib/tools.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/lib/tools.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
localedata.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/jre/lib/ext/localedata.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/ext/localedata.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
[root@AY1312280620257702e0Z software]#
Last edited by Robert Chiu; 01-24-2014 at 08:03 AM.
|
|
|
01-24-2014, 08:07 AM
|
#12
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
"rm -rf /usr/java/jdk1.7.0_25/" then "rpm -i --force jdk-7u25-linux-x64.rpm"
|
|
|
01-24-2014, 08:08 AM
|
#13
|
LQ Newbie
Registered: Jan 2014
Location: Shenzhen China
Posts: 25
Original Poster
Rep: 
|
Code:
[root@AY1312280620257702e0Z bin]# file /usr/bin/java
/usr/bin/java: symbolic link to `/usr/java/default/bin/java'
[root@AY1312280620257702e0Z bin]# file /usr/java/jdk1.7.0_25/bin/java
/usr/java/jdk1.7.0_25/bin/java: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
|
|
|
01-24-2014, 08:11 AM
|
#14
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
it's seems ok now, java and javac are working?
|
|
|
01-24-2014, 08:13 AM
|
#15
|
LQ Newbie
Registered: Jan 2014
Location: Shenzhen China
Posts: 25
Original Poster
Rep: 
|
Code:
[root@AY1312280620257702e0Z software]# rm -rf /usr/java/jdk1.7.0_25/
[root@AY1312280620257702e0Z software]# rpm -i --force jdk-7u25-linux-x64.rpm
Unpacking JAR files...
rt.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/jre/lib/rt.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/rt.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
jsse.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/jre/lib/jsse.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/jsse.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
charsets.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/jre/lib/charsets.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/charsets.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
tools.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/lib/tools.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/lib/tools.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
localedata.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_25/jre/lib/ext/localedata.pack
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_25/jre/lib/ext/localedata.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
[root@AY1312280620257702e0Z software]#
Last edited by Robert Chiu; 01-24-2014 at 08:14 AM.
|
|
|
All times are GMT -5. The time now is 03:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|