How to install java in /opt

Hi,
I am trying to install java using RPM selfextract package. But it alwasy installs in /usr.
I am installing on fedora core 3 machine. I dont't have enough space in /usr that's why i want to install in /opt.
I am downloading the j2sdk-1_4_2_08-linux-i586-rpm.bin in /opt
and gave rpm -iv j2sdk-1_4_2_08-linux-i586.rpm
but it always installs in /usr/java/...
how do i get this installed in /opt??
I have already preset the env variables to /opt/java/... locations.
Please let me know as soon as possible.
thanks
sri

I found this link when looking at the installation instructions on java.sun.com. It tells you how to install the sdk in any directory.
http://java.sun.com/j2se/1.5.0/install-linux.html#self-extracting
Hope this helps
Jay

Similar Messages

  • How can install java sdk for mac os x 10.6.8

    How can install java sdk for mac os x 10.6.8?

    Deanwdd wrote:
    I mean to update Quicktime for Mac Os X 10.6.8...
    If you're running 10.6.8, Apple menu > Software Update. What version of QT do you have?

  • How to install java stack ,only  abap ,basis patch level 9 installed

    how to install java stack ,already installed abap ,basis patch level 9,please any one guide me and please give me installation steps for java stack.

    Hi,
    From sapinst, install Java Add-on.
    check installation guide.
    Thanks
    Sunny

  • How To install Java Application[J2SE] into Windows Mobile

    Hi All,
    I have developed an application for Mobile devices[ Windows Mobile] exclusively using Java[AWT].When I try to install , the application in mobile, i got the following error.
    *"MIDlet cannot be installed because critical information is missing from the MIDlet file (.jar). - 13 Please contact the MIDlet provider for more information."*
    I didnt use any midlet classes in my application. So my question is, what the above error denotes? and How to install
    java[AWT] application into mobile?. What are all the requirements to install the application?.
    Thanks in advance.

    Hi David, thank you very much, your information was very useful, finally i got the work done.
    The problem was with the JVM which is im used in my Windows Mobile. And im installed CrE-ME in my mobile
    to execute java application.
    The following link has the details of how to install the JVM and execute the aplication (.jar ).
    http://javatolearn.blogspot.com/search/label/Java%20in%20Windows%20CE%20with%20CrE-ME
    Thanks and Regards
    Baskaran

  • How to install Java on Red Hat

    Does anyone know how to install Java on Red Hat. I'm having problems installing it, and I can't really find any instructions anywhere on how to go about it. Thanks.

    Java won't run on Red Hat because of firewall
    problems.What ? Since when ? But there are problems with certain versions of RH.
    Nothing to do with a firewall though.
    >
    It only runs on Sun and Windows 95.
    But not the Vax version.

  • How to install JAVA , XML on 10.2.0.4.0 (AIX).

    Hi All,
    How to install JAVA , XML on 10.2.0.4.0 (AIX).
    Any document/link/ metalink doc would be highly appreciated
    Thanks In advance
    ivw

    Thanks for reply.
    I dont have dbca .. only ssh access, no gui
    sqlplus '/ as sysdba'
    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Aug 21 02:24:59 2009
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Data Mining and Real Application Testing options
    SQL> select count(*), owner from all_objects
    where object_type like '%JAVA%' group by owner;
    no rows selected
    so java is not loaded in the database
    I believe in 9i we have to run this
    @?/javavm/install/initjvm.sql
    @?/xdk/admin/initxml.sql
    @?/xdk/admin/xmlja.sql
    @?/rdbms/admin/catjava.sql
    Is there is any change in 10g regarding these above steps?
    Edited by: ivw on Aug 20, 2009 9:28 PM

  • How to install Java on Yosemite?

    How to install Java on Yosemite?

    What version do you need, and what do you need it for?
    If just web applets, you only need the JRE. If running desktop apps or development, then you need the JDK.
    Java 1.6 is here: Java for OS X 2014-001
    Any later version via Java.com. Pick Java SE JRE or JDK as required.

  • How to installed java comm in solaris

    I have installed borland jbuilder5 enterprise edition,and
    put the libSolarisSerialParallel.so in LD_LIBRARY_PATH
    (LD_LIBRARY_PATH=/usr/lib), the comm.jar in jre\lib\,javax.comm.properties in jre\lib .
    But when I Open the serial port, the program always raise a exception "null".
    What can i do ?

    sorry :
    how to "installed" java comm in solaris
    --->
    how to install java comm in solaris

  • How to install Java system on NW7.01 ?

    Hi, all experts,
    I have been installed Database instance and Central instance on NW7.01, I selected the options is
    "SAP NetWeaver 7.0 including Enhancement Package1---->SAP Application Server ABAP---->
    Oracle-->Central System--
    >Central System.
    But now I want to install Java system,
    Who could tell me how to select the option ?
    OS version: Linux_x86_64,  DB version: Oracle10.0.2.4
    Best regards and thanks in advance,
    Michael

    >
    Michael Hong wrote:
    > Hi, all experts,
    >
    > I have been installed Database instance and Central instance on NW7.01, I selected the options is
    > "SAP NetWeaver 7.0 including Enhancement Package1---->SAP Application Server ABAP---->
    > Oracle-->Central System--
    >Central System.
    >
    >
    > But now I want to install Java system,
    >
    > Who could tell me how to select the option ?
    >
    > OS version: Linux_x86_64,  DB version: Oracle10.0.2.4
    >
    > Best regards and thanks in advance,
    > Michael
    I couldn't find the option "Java add-in"  below the Option "SAP NetWeaver 7.0 including Enhancement Package1", only find
    the option "SAP Application Server JAVA".
    If I install SAP Application Server JAVA , then I need to install the oracle 10g again, so it will have two database ,
    who have the experience of the "JAVA + ABAP " installation ?
    Thanks,
    Michael
    Edited by: Michael Hong on Mar 10, 2010 5:03 AM

  • How to install Java in ASUS EeePC Linux OS?

    Who knows how to install a Java to a Linux OS in ASUS EeePC? I purchased an EeePC 4GB Surf for my programming subjects. But then, I couldn't use the Eclipse if I don't have Java installed on the pc. Do you know how to put Java in a ASUS EeePC 4GB Surf Linux OS?

    Some programs like FrostWire will not work without Java being upgraded. To do this:
    1.
    Use the Synaptic Package manager to add the repository: deb http://geekconnection.org xandros4 main. If you have no clue what that means read Installing software on the EEE - quick beginner's guide on the wiki.
    2.
    After Synaptic has downloaded the files to update the repository; Scroll through the available items to locate xandros-sun-jre1.5; Mark it for installation; Click Apply.
    The approximate size of this installation of Java is 30Mb and it is reported in this thread on the forum that after this version of Java was installed FrostWire works.
    http://wiki.eeeuser.com/howto:upgrade_java?s=java

  • How to install java 11

    I've tried numerous times to install java 11 - it always goes to 50%, stops, and says get rid of mozilla firefox - I have checked plug ins etc they are all fine - I haven't been able to see/hear my favorite programs - DAM!!

    Hi - I tried an earlier answer that worked just fine - I really appreciate your response - I'm impressed - I've never asked online for support before and I received TWO answers!
    But please tell me this - how does one "close firefox"? Yes, I'm a computer dummy!

  • How to install Java Development kit on RHEL 4.0 workstation

    Hi Guys,
    I'm new to java and not able to install java development kit on RHEL 4.0 system.
    I got tzupdater.jar file and confused what to do with it so that i acn succesfully use my JDK.
    Abhishek
    :(

    Simply go here and download the version you want (if you know how to use rpm, then get the rpm version, if not get the self extracting executable form). Then install by either using rpm or simply changing the mode of the downloaded file to make it executable and execute it.
    This is not rocket science.

  • How to install java enterprise on Lion

    Hi to all. How can I install Java Enterprise on Mac Os X Lion?
    Thanks to all...

    Hi Stefano,
    Did you ever get a reply, and if so were you successful and do you have it up and running?
    If so, could you pass along the info?
    Thanks.

  • How to install java application /game ?

    Hi folks,
    I finally managed to connect my Nokia 6275i to PC suite 6.8 via Bluetooth but now I have other dilemma ....
    How do I install Java application or game ?
    I downloaded dictionary and game as well ( *.jar) but when I want to install it I can't select my phone. In connection manager the phone is grayed out so I can't select it.
    Other applications like Backup, managing contact ... do work fine.
    Any ideas what to do ?
    Thanks

    anyone have a resolution to this?
    you waste a few hundred on a phone and they expect you to pay $10 more for a game?
    you disagree to this and pay $40 for a connectivity cord only to find out they really really wanted you paying that $10 a game...
    im not very familiar with the previous posters explaination,if someone would be kind enough to explain.
    i would genuinely appreciate it.

  • How to install Java API

    I have installed Hyperion Essbase 6.1.4, so i can use VB or C to access OLAP databases. However, i would like to use Java.How can i install Java API?thanks in advance

    You will have to download/install the Essbase Enterprise Services 6.1. The Java API is contained within this product and all interaction with Essbase via the Java API uses EES on the middle tier. The good news is that the Java API portion of EES is available for free. If, however, you want to/need to leverage the scalability options of EES, such as server clustering, you will need to add the 'High Concurrency Option' to your Hyperion license agreement.Tim TowApplied OLAP, Inc

Maybe you are looking for

  • How to see Added Row in a table

    Hi i have taken atable with visible row count 5 and ihave taken a button to add new row for that i have written code in action of that button,when ever a new row is added  that added row below the 5th row, to see that added row ishould click on UP bu

  • Regarding COLLECT stmt usage in an ABAP Program.

    Hi All, Could anyone please explain if the COLLECT statement really hampers the performance of the program, to a large extent. If it is so, please explain how the performance can be improved with out using the same. Thanks & Regards, Goutham.

  • Requirments without BOM

    Hello We are facing problem with MRP for a raw materials. Currently  We didn't assign this material in the BOM, we removed this material from BOM . But we are getting requirement from an finished goods we checked CS11 and CS15 and we coudn't find the

  • Problems while creating an email account

    Hej, end of July I bought a BB Curve 9320. Till today I was not able to create a mail account. A smartphone without email access. The problem is the missing possibility to create a internet mail account. I' m only able to put in information for a com

  • Why my program does not run on?

    I am writing a java project, a little big, to analyze a forum. The tasks I have to complete are: *(1) Register all threads (the post begins a new thread just like this post) existed in the forum during a period of time (for example 2 weeks) in the da