Sponsored Content
Full Discussion: Java 7 installation problem
Top Forums Programming Java 7 installation problem Post 302691821 by nvk_vinoth on Saturday 25th of August 2012 11:01:57 PM
Old 08-26-2012
Java 7 installation problem

Hi,

I am trying to install java7.6 on redhat 6.2 but got the below error message. In fact this error comes up for all the supported OS of JDK 7 and JRE 7. I am running this as root and I dont have any other Java version installed.

Code:
[root@XXX] # rpm -i jre-7u6-linux-x64.rpm
Unpacking JAR files...
 rt.jar...
Error: Could not open input file: /usr/java/jre1.7.0_06/lib/rt.pack
 jsse.jar...
Error: Could not open input file: /usr/java/jre1.7.0_06/lib/jsse.pack
 charsets.jar...
Error: Could not open input file: /usr/java/jre1.7.0_06/lib/charsets.pack
 localedata.jar...
Error: Could not open input file: /usr/java/jre1.7.0_06/lib/ext/localedata.pack
[root@XXXX]#

This happens even if I try a forceful installation. But Java is getting installed and could be found from rpm -qa. Appreciate any comments on this issue or is this a bug from Oracle?

Regards,
Vinoth

Moderator's Comments:
Mod Comment Please use code tags next time for your code and data.

Last edited by radoulov; 08-26-2012 at 08:36 AM..
 

10 More Discussions You Might Find Interesting

1. Linux

how do i run java on Mandriva 2006 after installation?

i have install jdk1.6 on my mandriva linux os. i do not know now what is the next steps to compile and run my java code. it seems to be no jre on mandriva. help... (3 Replies)
Discussion started by: dinarcisco
3 Replies

2. UNIX for Dummies Questions & Answers

java runtime for mozilla firefox 3.5.3 installation

Hi, community, I am using Karmica koala 9.10 and I wish to add to Firefox the JRE plugin. What I have to do? The problem arises when I try to copy from the Downloads dir the file to /usr/java that I created. I must have the root permissions, I think. Please help. (1 Reply)
Discussion started by: mauropera
1 Replies

3. Solaris

Java Installation

Hi Guys, I am new here, Currently i am having a problem. below is the information to my problem I have Java version 5 installed on my solaris box and currently there is a request to install java version 6 as well on the same box. Can i have 2 java running on the same box? If yes how do i... (1 Reply)
Discussion started by: rinrockers
1 Replies

4. Solaris

JAMES (Java Apache Mail Enterprise Server) - Installation/Configuration Problem

Good Afternoon Intelligent Administrators/Debuggers! I am installing JAMES on an internal server (192.168.2.33) Specs of xxx.xxx.xxx.33 = SunOS v210b 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V210 After placing and "gunziping" the respective file, I am trying to run it by: ... (1 Reply)
Discussion started by: kazmiM
1 Replies

5. Programming

can i have an optimal solution for this java code ? Facing Java heap space problem even at 3GB heaps

My desired output is run: for this 1 for this 2 for this 3 for this 4 for this 5 for this 1,2 1->2 for this 2,3 2->3 for this 3,4 3->4 for this 4,5 4->5 for this 1,2,3 1->2,3 (2 Replies)
Discussion started by: vaibhavkorde
2 Replies

6. Red Hat

Installation of java on RHEL6

HI all, I am trying to install java on RHEL 6 in a vm. Can any one Help me How to install Java on RHEL6. (1 Reply)
Discussion started by: saisrinivas99
1 Replies

7. Solaris

Java Installation on s Solaris 8

I have installed java 1.6.0_31 on a solaris 8 machine by mean of the jre-6u31-solaris-sparc.sh file. The installation i think is allright infact if I run the java -version command it shows the right version but if i try to run the command java -jar Monitor.jar c (where monitor.jar is a little... (1 Reply)
Discussion started by: aemme
1 Replies

8. Ubuntu

java error during upgrade or installation of package

Hi, everytime I do "sudo apt-get " and install package or just upgrade I get the following error: sha256sum mismatch jdk-7u3-linux-x64.tar.gz Oracle JDK 7 is NOT installed. dpkg: error processing oracle-java7-installer (--configure): subprocess installed post-installation script returned... (1 Reply)
Discussion started by: programAngel
1 Replies

9. Shell Programming and Scripting

Invalid Java installation: No version could be obtained

Hi , i am in mid of upgrading one of the java based application which requires higher version of java 1.8 from java 1.6, I have updated bash_profile and required environment variable correctly but still application unable to obtain the required version of java 1.8. here is my environment detail... (2 Replies)
Discussion started by: Riverstone
2 Replies

10. UNIX for Beginners Questions & Answers

Java 32 bit installation fails on an AIX platform

Hello. It is my first to deal with Java installation on an AIX platform. I am now trying to install Java 32bit using installp command. However, it throws back the message that the installation media cannot be found. I need to install Java 32bit to proceed with an installation of Oracle JD... (0 Replies)
Discussion started by: EJ2019
0 Replies
MAKE-JPKG(1)						      General Commands Manual						      MAKE-JPKG(1)

NAME
make-jpkg - builds Debian packages from Java binary distributions SYNOPSIS
make-jpkg [OPTION]... [FILE] DESCRIPTION
make-jpkg builds a Debian package from the given Java distribution FILE. Supported java binary distributions currently include: * Oracle (http://www.oracle.com/technetwork/java/javase/downloads) : - The J2SE Development Kit (JDK), version 6 (update >= 10), 7 - The J2SE Runtime Environment (JRE), version 6 (update >= 10), 7 - The J2SE API Javadoc, version 6 (update >= 10), 7 (Choose tar.gz archives or self-extracting archives, do _not_ choose the RPM!) The following options are recognized: --full-name NAME full name used in the maintainer field of the package --email EMAIL email address used in the maintainer field of the package --changes create a .changes file --revision add debian revision --help display help text and exit --version output version information and exit Download a supported Java RE or SDK or API tar.gz or self-extracting archive from http://www.oracle.com/technetwork/java/javase/downloads and execute make-jpkg file with the downloaded file. The program asks the user for additional information and builds a Debian binary pack- age in the current directory. The program requires about 200 MB free disk space in a temporary directory. The temporary directory defaults to /tmp but you can specify an alternate directory by setting the environment variable TMPDIR. EXAMPLE
To install Oracle(TM) 7 Standard Edition JDK, download a release - 64 bits version of update 2 from http://www.oracle.com/technet- work/java/javase/downloads/jdk-7u2-download-1377129.html in this example - and invoke make-jpkg: make-jpkg <path_to_download_directory>/jdk-7u2-linux-x64.tar.gz This generate a Debian package in the current directory, that can be installed using dpkg: dpkg -i oracle-j2sdk1.7_1.7.0+update2_amd64.deb When you're done, you can delete initial download as well as generated package: rm <path_to_download_directory>/jdk-7u2-linux-x64.tar.gz oracle-j2sdk1.7_1.7.0+update2_amd64.deb ENVIRONMENT
TMPDIR base directory used for temporary files (defaults to /tmp) J2SE_PACKAGE_FULL_NAME full name used in the maintainer field of the package; if none is supplied then the default of "Debian Java Maintainers" is used. J2SE_PACKAGE_EMAIL email address used in the maintainer field of the package; if none is supplied the default of "pkg-java-maintain- ers@lists.alioth.debian.org" is used. SEE ALSO
update-java-alternatives(1) AUTHOR
This manual page was written by Hubert Schmid <j2se-package@z42.de>. It is now maintained by the Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. January 22, 2012 MAKE-JPKG(1)
All times are GMT -4. The time now is 03:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy