Oracle Linux and Java 7u10

Hi all,
I installed Oracle Linux Server 6.3 selecting "software Development System" (java 1.6.0 comes with it).
but I need to use Java 1.7
So I downloaded jdk-7u10-linux-x64.rpm
when I try to install it, I get the following error.
Unpacking JAR files...
     rt.jar...
Error: Could not open input file: /usr/java/jre1.7.0_10/lib/rt.pack
     jsse.jar...
Error: Could not open input file: /usr/java/jre1.7.0_10/lib/jsse.pack
     charsets.jar...
Error: Could not open input file: /usr/java/jre1.7.0_10/lib/charsets.pack
     localedata.jar...
Error: Could not open input file: /usr/java/jre1.7.0_10/lib/ext/localedata.pack
I can't uninstall java 1.6 because other rpm uses it.
Can someone tell me what the "proper" way to install Oracle Linux and Java 1.7 should be?
OR is there a Oracle Linux Server 6.4 coming out soon with Java 1.7 as its default package set ;-)
thanks in advance,
c.w.

You can ignore the errors. The files named in the error lines do not exist in the rpm package, but are there as .jar files
The following works under Oracle Linux 6.3 x86_64 (and probably other versions).
1. Open the following URL in a web browser on your PC:
<pre>
http://www.oracle.com/technetwork/java/javase/downloads/index.html
</pre>
2. Click the JDK download button, accept the license agreement and download the JDE rpm package.
3. Copy the following file to your Oracle Linux server (SFTP):
<pre>
jdk-7u10-linux-x64.rpm
</pre>
4. Login as root and use the YUM utility to install the RPM package.
<pre>
# yum install ./jdk-7u10-linux-x64.rpm
</pre>
5. Register the new installed java version, then change your default Java:
<pre>
# alternatives --install /usr/bin/java java /usr/java/jdk1.7.0_10/bin/java 2
# alternatives --config java
</pre>
Display your default Java version:
<pre>
# java -version
java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
</pre>

Similar Messages

  • Differences between Oracle Linux and CentOS

    Dear ALL
    I need differences between Oracle Linux and Cent OS, which is the better OS to install Oracle11gR2.
    Kindly send me the benefits and percentage if anybody can...
    Thanks.

    11gR2 is not certified to be installed on CentOS, so from that perspective alone, OEL is the only choice.
    http://docs.oracle.com/cd/E11882_01/install.112/e24321/pre_install.htm#CIHFICFD
    HTH
    Srini

  • Pro*C on Oracle Linux and 11g R2

    Hello everyone
    I am unable to find Oracle documentation on how to use make and compile and link ProC programs on Oracle Linux and Oracle 11g R2*
    The Pro*C manuals for 11g R2 refer me to the "operating system specific manuals" for compiling and linking and make instructions but I can not find such manuals anywhere.
    I looked here:
    http://docs.oracle.com/cd/E11882_01/appdev.112/e10825/toc.htm
    Can anyone point me to the documentation on how to compile/link/precompile/make-utility Pro*C programs on Oracle/RedHat Linux, please?
    Many thanks!

    Honestly having used pro*c for years ( not lately ) the windows install
    was always marginal... try the linux version much better and you don't
    have to taylor you *.cfg files like previous versions... it work right out
    of the box... the install doc stated you might have to update your
    C++ libraries...

  • Oracle.exe and java.exe are running my CPU 100% under XP Prof SP3

    11gR1
    oracle.exe and java.exe are running 100% CPU
    I have increased virtual memory to 4 gig
    I have defragmented the drive.
    I checked the drive for errors.
    I am searching the whole drive for viruses
    I do not have the problem with Redhat Fedora 12 running 11gR1
    I have 1 gig of RAM but cannot install release 2 because the installer expects
    1 gig + 1

    ooops!!! left that off...sorry
    XP Prof SP3 32 bit..*.no problem with Redhat Fedora 12 running MySQL and 11gR1*
    1 gig RAM Dell precision W/S 1.5 Gig rate 74 GiG SCSI HD 15000 RPM
    Don't pass out but I am also running MySQL server 5.1.41 and MS SQL Server Express 2008.
    Lucky it didn't catch fire
    I installed XP prof months ago but this CPU domination occurred only starting last night!
    However slow everything works in 11gR1
    sqlplus myname/password and then select rows from table
    sqldeveloper
    PHP web sites
    I've had plenty of trouble with Java running slow and hogging memory!
    Edited by: landonmkelsey on May 2, 2010 12:21 PM
    Edited by: landonmkelsey on May 2, 2010 12:24 PM
    Let me guess...stop services for MySQL and MS SQL Server and see what happens!
    Edited by: landonmkelsey on May 2, 2010 12:26 PM

  • Few people are "Oracle ACE" and "Java Champion"

    Few people are "Oracle ACE" and "Java Champion"
    What's whose icon ?:|
    I think that icon should not be only one.
    For instance,I am Pro (I have 570 points) and "Oracle ACE".
    Therefore I hope that My icons are "Pro" and "Oracle ACE".

    BluShadow wrote:
    can't you create an icon with the Java character holding an Ace?It reminds me of award icons (achievements) one gets on Steam and Xbox Live. My favourite - the award of getting a fair number of WW2 tank commanders that pop head-out-of-turret, as an infantry rifleman (with a puny bolt action rifle). Satisfaction getting the commander of a crew that that hides inside the belly of an armoured beast, that tries to turn my comrades and me into roadkill or a 1000 pieces exploding bits (or pixels to be more accurate)... ;-)
    One option here could be a signature line - that lay bares one's claim to fame, knowledge and experience. This is often standardise by community agreement on some web forums (the gamer ones often include clan tags and titles with h/w specs). Or something like GeekCode.
    Never really fancied that myself - but it could be fun putting an Oracle based geekcode together. ;-)

  • 32 Bit Installation or Oracle Linux and Oracle Database 10g

    I have an old E-Machine that I wanted to put Oracle Linux and Oracle Database Express 11G on. I was just wanting to do some testing and development on the system. I'm pretty sure the machine is 32bit.
    I just burned a copy of 32 bit Oracle Linux onto a CD. Is there a version of Oracle Database Express that will run on it?
    It seems like there is only a 64 bit version of Oracle Express Database 11g. Is Oracle Database Express 10g installable on Oracle Linux 32 bit?
    Let me know! Thanks in an advance.

    One (or two) caveats with the 10g version, XE can not be patched and the 10.2.0.1 XEs were created before the current daylight savings time rules went into effect.
    If you have access to My Oracle Support there is a method to get updated timezone files for the oracle binaries, you need at least version 4 of the DST files. I've got the MOS docIDs somewhere let us know if needed and I'll dig 'em up.

  • Oracle 8i And Java

    I have JDK 1.5 Update 1 installed in my system and have Oracle 8.1.7 database . I have successfully connected both using ODBC data sources in my Windows XP SP2. Can i connect them using URL address, like we can do in Oracle 9i and later databases of Oracle.
    thanks in advance
    Sujeet

    hi all!
    by this im stopping my question as i solved it today. i was not using the url format, so was the problem giving starnge messages.
    solution :
    if using JDK 1.4.2 download ojdbc14.jar and set it on ur classpath. url format is as shown below :
    jdbc:oracle:thin:@<host>:<port1521>:<sid>
    write the following sample code.........
    import java.sql.*;
    class Preeti
         public static void main(String[] args) throws SQLException
              Connection con;
              DatabaseMetaData meta;
              String url = "jdbc:oracle:thin:@sujeet:1521:ram";
              String user = "scott";
              String password = "tiger";
              DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
              con = DriverManager.getConnection(url, user, password);
              Statement stmt = con.createStatement();
              ResultSet rst = stmt.executeQuery("select * from emp");
              meta = con.getMetaData();
              System.out.println("Got Results............");
              System.out.println("DBMS : " + meta.getDatabaseProductName());
              //System.out.println("Version : " + meta.getDatabaseMajorVersion());
              System.out.println("JDBC Driver Name : " + meta.getDriverName());
              System.out.println("JDBC Driver Version : " + meta.getDriverVersion());
              while(rst.next())
                   System.out.println(rst.getString(1));
              con.close();
    }

  • Diff between oracle linux and oracle enterprise linux?

    hi all,
    i am new to this flavor of Linux. I know oracle linux has red hat source, but i am confused about the difference betweek oracle linux which comes in versions 4 (upto update 8) and 5 (latest update being 5).
    i need to install oracle enterprise linux at a client place, so i gota know the difference.
    Should i be installing oracle Linux first and then run the rpm of "Unbreakable Enterprise Kernel"? or is the "Unbreakable Enterprise Kernel" only for customers who require this kernal on oracle linux update 5 x86_64?
    thanks

    waldorfm wrote:
    From what I understand Oracle Enterprise Linux (OEL) is a rebranded version of Red hat Enterprise Linux (RHEL).
    Oracle Linux (OL) is OEL plus Oracle optimization and custom, newer kernel. OL with Oracle "Unbreakable Enterprise Kernel" is available as x86_64 only and was introduced based on OEL or RHEL 5.5.
    You can install OEL 5.4 and easily upgrade to OEL 5.5, PMFJI, but can you point me to docs on how to make that upgrade? The timing of this msg on the forum was exquisite, as I started looking at that just today. I have an OEL 5.4 installation and would much rather upgrade to 5.5 than to have to rebuild from scratch.
    I did a yum install kernel with the 5.5 version of the public-yum-el5.repo. That went without a hitch and now reports "2.6.32-100.0.19.el5 #1" where I was 2.6.18-164.el5, but I also see
    [root@myserver ~]# uname -a
    Linux myserver 2.6.32-100.0.19.el5 #1 SMP Fri Sep 17 17:51:41 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
    [root@myserver ~]# cat /etc/enterprise-release
    Enterprise Linux Enterprise Linux Server release 5.4 (Carthage)
    [root@myserver ~]# cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 5.4 (Tikanga)Bottom line is that I am charged with updating the kernel to a 2.6 version newer than 19 Sep, or applying a patch for the compat_alloc_user_space() function, and am not sure exactly how to proceed from here.
    if you like or start to install from version 5.5, and then install OL 5.5 by downloading the Oracle public yum repository and follow the instructions at http://public-yum.oracle.com

  • Oracle Timestamp and java.util.date

    Greetings,
    【Enviroment】
    oracle 10g Express
    jdbc 10.2.0.1.0 thin driver
    windows Xp professinal
    【problem】
    I fetched a value of timestamp.
    And I faced An Error that "java.sql.SQLException: Cannot set lastup_dt: incompatible types."
    We define data type of lastup_dt is timestamp on Oracle.
    And We define the data type of lastup_dt of javaBean is java.util.date.
    And Ocurr SQLException at result = rsh.handle(rs);
    How Can I avoid it?
    public Object query(Connection conn, String sql, Object[] params,
    ResultSetHandler rsh) throws SQLException {
    PreparedStatement stmt = null;
    ResultSet rs = null;
    Object result = null;
    try {
    stmt = this.prepareStatement(conn, sql);
    this.fillStatement(stmt, params);
    rs = this.wrap(stmt.executeQuery());
    result = rsh.handle(rs);
    } catch (SQLException e) {
    this.rethrow(e, sql, params);
    } finally {
    try {
    close(rs);
    } finally {
    close(stmt);
    return result;
    Any help I appreciate it.
    Thank you.

    As long as you have the long representation of the time you can create a new java.util.Date:
    new java.util.Date(ts.getTime())

  • Oracle Linux and Windows Active Directory

    I am looking for a good article on joining an Oracle Linux server to a Windows Active directory domain.
    We are primarily a Windows shop but need to bring up a couple of Oracle Linux servers (VM Server and VM Manager). I would like to use the existing Windows domain controller for user authentication.

    I don't have experience in joining a Linux system with Windows AD, and it generally does not sound like the best idea to me, but since Oracle Enterprise Linux is a clone of Red Hat Enterprise Linux, the solution you are looking for could be called Winbind.
    Perhaps the following links are useful:
    http://spiralbound.net/blog/2007/04/11/rhel-winbind-authentication-against-active-directory
    http://www.linuxmail.info/active-directory-integration-samba-centos-5/
    http://magazine.redhat.com/2007/11/12/tips-and-tricks-how-can-i-configure-winbind-to-synchronize-user-and-group-ids-across-multiple-red-hat-enterprise-linux-hosts-on-active-directory-accounts/

  • Version Control for Oracle Reports and Java

    Hi
    I have a Reports and Java development enviroment and I need version control for both. In JDeveloper there is only support for CVS and SVN. Does report have support for CVS and SVN?. What can I choose to offer Java and Reports version control?
    Regards,
    Néstor Boscán

    Hello,
    You might find neXtep Designer helpful, depending on what you need. It is a free database development environment based on the concept of version control. You will work in a dedicated version control repository in which you can import any existing database through reverse synchronization. Once imported, you will gain control over the lifecycle of your database model all along your developments. The tool will generate SQL scripts resulting from the delta between any 2 versions, allowing you to automate SQL generation. It also provide a delivery mechanism and an installer program which can automate deployment of the changes on a target database.
    The product is based on the Eclipse platform and provides features like graphical data model, dependency management, SQL clients, powerful SQL editors for stored code development and currently supports Oracle, MySql and PostgreSql. You will find more information here :
    http://www.nextep-softwares.com
    Also have a look at the WIKI for more detailed information about the product, the concepts and the reasons why we created neXtep.
    Hope this helps,
    Christophe

  • FYI: Oracle Linux and devfs

    This message is for users of Oracle Linux who may be thinking of running Richarg Gooch's devfs (part of the 2.4 kernels and available as a patch to the 2.2 kernels).
    Oracle cannot be installed, successfully, on a system running devfs most likely because the Oracle Installer cannot correctly calculate the available file space due to changes in the naming of the file systems.
    devfs CAN be run once Oracle is installed.
    Sean McLinden
    Outcome Technology Associates, Inc.
    null

    3113 - end of communciation file
    means that you Oracle Database can't allocate the initial resource to startup, like semaphores or shared memory.
    Check with Oracle Install Instruction for linux and the parameters of your kernel.
    For example Mandrake 7.2 kernel-workstation mode was compiled with sufficients resources, in the other hand Mandrake 7.2-secure kernel doesn't have enough semaphores or shared memory to run Oracle DB.
    Look at /usr/src/linux directory to check these parameters and re-compile the kernel.
    Best regards, Marcelo.

  • Oracle Lite and Java 1.3

    Some preliminary testing of Java 1.3 against Oracle Lite 8.1.5 causes an fatal crash that won't allow me to debug through and suspends both the VM and my debugger/IDE for Java.
    Can anyone confirm if it is possible to run Olite and Java 1.3? Same code works great in OLite and Java 1.2.2, and crash doesn't seem to be OS specific (tested under NT and 2000).
    Cheers, DJ

    When you put your code in a try block and print the exception, what does it say:
    String driver = getDriverFromConfigurationFile();
    try
    Class.forName(driver);
    catch(ClassNotFoundException cnfe)
    System.err.println(cnfe);
    Second option is to use DataSource instead.

  • Oracle Linux and Automatic Installation of Oracle Related Packages

    G'day,
    I recently decided to check out Oracle's Unbreakable Linux as I am/was thinking of switching to it for all my company's database deployments. What originally attracted me to Oracle Linux was that I though there would have been a kickstart, package or in the GUI install, a check box to install all of Oracle's dependencies.
    When I installed it first, I manually selected a bunch of relevant packages, then installed any missing packages manually via a local YUM repository that I had made. Alas however, Oracle did not install correctly. So, I reinstalled, this time as a full install. Oracle then worked like a charm.
    I also noticed, when editing /etc/sysctl.conf and /etc/securetty/limits.conf that these files had basically all ready been configured.
    So, my question is, as I have had no luck using the search functionality here, is anyone aware of a kickstart argument, or an Oracle package that will install and in turn by way of dependencies, install all the necessary Oracle bits and pieces? Ideally, I would like to do this by way of kickstart as to automate as much of the process as possible.
    If I can do this, then with some further testing, I will make the switch to Oracle's Linux for our Oracle deployments.
    Cheers,
    Conor

    Yes, there is a great package called oracle-validated that is available that will pre-configured Oracle Enterprise Linux for installation using the Oracle Universal Installer. It ensures that things like sysctl.conf are all correct.
    It should be available in the base download, so you can test it out. :)

  • Oracle, linux and the AS400

    In a previous message I asked whether an AS400 was a platform that could run
    Oracle. Apparently the answer is "no", it is one of the few systems that
    Oracle doesn't run on because IBM is pushing their competing product DB2
    running under OS400.
    I found out yesterday, that IBM is making a big push for AS400 users to
    install Linux on the AS400. I know that there are versions of Oracle for
    Linux (obviously :-) ).
    In terms of Oracle for Linux, will it run on a AS400 running Redhat Linux?
    Anyone have a clue? (Anyone from Oracle who can make a guess? :-) )
    Thanks.
    null

    Timothy Weaver (guest) wrote:
    : You can create multiple files for a tablespace. I've only done
    : it in Enterprise Manager's Storage Manager software.
    : The 2GB file size limit isn't a kernel issue, it's a
    limitation
    : of the ext2 filesystem. A journaling filesystem donated by SGI
    : is being ported to Linux and will probably be considered a
    : replacement of the ext2 system.
    : adam hawkins (guest) wrote:
    : : Does anyone know if the linux 2gb file size limit also
    limits
    : : the oracle table size.
    : : I appriciate that the oracle datafiles must be limited to
    2gb
    : : since bount by the limits of linux but can it spread tables
    : over
    : : a number of datafiles. Either way i need to move some 6gb+
    : : tables from a sizey as400 to the linux/oracle box and i want
    : to
    : : know how.
    : : btw. does anyone know if the linux 2gb limit is due for
    : : resolution in a forthcoming kernal release?
    : : cheers
    : : adam
    Yes, tables can be > 2gb in size, spread over a number of
    datafiles.
    regards
    Simon
    null

Maybe you are looking for

  • How to download a smartform output as excel file WITH EXACT LAYOUT.

    Hi,      I have searched the forum but could not found any satisfactory answer. I have a smartform with a table, some texts and a logo. I have to write a code which will save the smartform output as excel file in the system keeping the layout of the

  • Progression not yielding the desired result

    Hi I have written a text query using the progressive relaxation method. It is not giving me the desired results. Here are the query details: I have created an Intermedia index on a table with following specs: BEGIN CTX_DDL.DROP_PREFERENCE('CTXSYS.COM

  • The credit on the Skyep blocked.

    Hello, I found out that the credit on my mother's Skype was blocked. So she can not do calls to the mobiles anymore. I have decided to contact support and this is the email I got in respose: Thank you for contacting Skype Customer Service. We are sor

  • Install problem Error with Z drive

    Our IT guys configure our machines with a Z drive as a network share.   Any ideas how to resolve the conflict with PE9 install. Thanks David

  • Change stylesheet in WAD 7

    Hello, Does anyone know whether there's a way to change the stylesheet (css) in WAD 7? In 3.5 you could do it through Tools-->Settings Thanks for you help Edited by: hayimamar on Jun 17, 2010 10:11 PM