Java 2 SDK on Red Hat 8.0

I downloaded and installed Java 2 SDK 1.4.0 on my RH box. when I try to run java or javac I get the following message:
libjava.so not found
Cannot Find JRE
How can I correct this?

Have you set the SDK up?
export JAVA_HOME=/path/to/j2sdk1.4.0
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.
If so, locate the libjava.so file manually and "ldd /path/to/libjava.so". If any of the libraries listed are not found, you may need to download and install them using http://rpmfind.net/. If no libjava.so is found, do ldd on your java file.
Bhav

Similar Messages

  • Correct version of Java SDK for Red Hat 4 ES on x86_64

    I need to install the Java SDK for Red Hat 4 ES on x86_64 and I'm unable to find the correct version to download.
    Note 716604 says to download 1.4.2_13 at java.sun.com but the I can't find the Linux x86_64 bit version.  Note 941595 is for Windows and Solaris only.
    Red Hat's site mentions two versions; java-1.4.2-ibm and java-1.4.2-bea.  I cannot find any SAP notes that mention those names.  Has anyone used these successfully on Red Hat 4 x86_64?
    Does anyone know where I can download the correct version of Java SDK?
    Thanks

    <a href="https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=lxdk&S_PKG=amd64142sr7&S_TACT=105AGX05&S_CMP=JDK&lang=en_US&cp=UTF-8">https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=lxdk&S_PKG=amd64142sr7&S_TACT=105AGX05&S_CMP=JDK&lang=en_US&cp=UTF-8</a>
    I can open that link without a problem.
    Check again...
    Markus

  • Java AND Linux Red Hat

    Hi, I'm a new user of Red Hat. I'm searching the best Java developer tool for linux.
    May you help me?
    TankYou.
    Claudio

    Thank You.
    ... i'm downloading JB5 Personal Edition. :)

  • Q:Java installation in Red Hat?

    Hi,
    I've been using JRE v1.4.2 in Redhat Linux, but have just installed v1.5.0. When I run "java -version" it still says I'm using version 1.4.2. How do I get the new version to run?
    Robert.

    Thanks, it's working now. :)Cool. In fact, it assumed you previously had the link to the java binary in that place, and no other link to a java binary anywhere in your $PATH or, even a JAVA_HOME /bin dir in the $PATH itself. You should check that to avoid collisions.

  • Java(TM) 2 SDK needed for Red Hat Enterprise 4

    Hello List members,
    I am installing open-xchange on my Red Hat Enterprise 4 box but getting error "no acceptable java compiler found - please install at least the Java(TM) 2 SDK."
    JRE is installed in my system but even after a lot of research I am unable to find Java(TM) 2 SDK . Can anyone of you tell me where to download Java(TM) 2 SDK for Red Hat Enterprise 4. Its not in the SUN site as far as I know, I could be wrong.
    Please help me.
    Regards,
    Vishal

    I installed rhe4 and i have installed a lot of jsdk1.4.2-1.50 and later no any error and not collapsed java system but it has using GNOME consol avoid running system well you will changed GTK SYS.

  • Installing Java EE SDK on 64-bit Red Hat Linux

    I've went through a lot of pain to get J2EE SDK / GlassFish server on a AMD64 Red Hat Enterprise Linux 5 server box. Maybe it helps somebody.
    Long story short, it all seems to boil down to the fact that the J2EE Linux .bin (non-RPM) packages Sun provides require a 32-bit JVM running. So if you just installed 64-bit JDK you're toasted.
    Chronicle of pain and solution below:
    Downloaded the Linux packages for full EE5 SDK, also the bundle for GlassFish from http://java.sun.com/javaee/downloads/
    Tried ./java_ee_sdk-5_08-jdk-6u17-linux.bin No luck. First I didn't have libstdc++.so.5 but so.6. I did
    yum install compat-libstdc++-33
    Tried again. It hanged:
    *** glibc detected *** ... double free or corruption error
    Downloaded the JDK RPM version. It worked fine:
    # java -version
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
    Let's go again with EE SDK. Nope. Different error this time:
    *** glibc detected *** ./java_ee_sdk-5_08-jdk-6u17-linux.bin: malloc(): memory corruption: 0x0992d2c0 ***
    Tried setting env variable MALLOC_CHECK_:
    export MALLOC_CHECK_=0
    New error, but no hanging this time:
    Attach to native process failed
    Realized that JDK packages were platform-specific, unlike J2EE packages. Googled this: http://forums.java.net/jive/thread.jspa?threadID=37370
    Downloaded 32-bit JRE (i586, not 64-bit) RPM package and installed it.
    Redirected default java link to 32-bit JRE's JVM:
    cd /usr/java/
    unlink latest
    ln -s jre1.6.0_17/ latest
    Run installer again, explicitly saying where was the JVM the installer needed:
    cd /tmp
    ./java_ee_sdk-5_08-jdk-6u17-linux.bin -javahome /usr/java/jre1.6.0_17
    It worked! :-)
    Then reverted back to JDK's 64-bit JVM:
    cd /usr/java/
    unlink latest
    ln -s jdk1.6.0_17/ latest
    Hope this works for you too.

    This is very close to my problem,
    32 bit Fedora release 11 (Leonidas)
    ls -lh java_ee_sdk-5_08-jdk-6u17-linux.bin
    -rwxrwxr-x. 1 morten morten 161M 2009-11-17 20:18 java_ee_sdk-5_08-jdk-6u17-linux.bin
    md5sum java_ee_sdk-5_08-jdk-6u17-linux.bin
    dc71fc44ce1d10c1a9d53edde4ff858f java_ee_sdk-5_08-jdk-6u17-linux.bin
    should be a correct download.
    chmod a+x java_ee_sdk-5_08-jdk-6u17-linux.bin
    # ./java_ee_sdk-5_08-jdk-6u17-linux.bin
    ./java_ee_sdk-5_08-jdk-6u17-linux.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
    same error as you reports. There was also an error and IIRC an incompatibility with the latest java plug in for firefox .
    # find / -name '*plugin*' -print | grep firefox
    /home/morten/.mozilla/firefox/kpsa4zom.default/pluginreg.dat
    /home/morten/.mozilla/firefox/g59tp699.default/pluginreg.dat
    /usr/lib/firefox-3.5.5/searchplugins
    # find / -name libjavaplugin_oji.so -print
    /usr/java/jre1.6.0_17/plugin/i386/ns7/libjavaplugin_oji.so
    /usr/java/jre1.6.0_17/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
    cd /usr/lib/firefox-3.5.5/searchplugins
    # ls -l | grep java
    lrwxrwxrwx. 1 root root 58 2009-11-17 19:42 libjavaplugin_oji.so -> /usr/java/jre1.6.0_17/plugin/i386/ns7/libjavaplugin_oji.so
    It did not work on first attempt.
    I just wanted to report that similar problems may occur, and I will try your suggestions. If someone knows other details about this topic JDK on Fedora or Red Hat based Linux, please comment.
    The instructions from here:
    How do I download and install Java for my Linux computer?:
    http://java.com/en/download/help/5000010500.xml#rpm
    Java Downloads for Linux Recommended Version 6 Update 17
    did not work as documented. On my 32 bit fedora 11.

  • How to configure Java Plug-In in Mozilla 1.4 and Netscape 7 on Red Hat 9?

    How to configure the java plug-in (Java 2 v1.4.2) to work on Mozilla 1.4 and Netscape 7 on Red Hat 9?
    Thanks in advance.

    I have redhat 9 and mozilla 1.2. Installed java sdk 1.4.2 which comes with JRE 1.4.2. Had no problems/errors while installing. The about plugin page doesnot indicate that the plugin is installed. and i get the pop-up saying application/x-java-vm is not available while browsing. Any help here please ??
    Thanks

  • Using Linux/Red Hat/Intel for Sun ONE/Java Directory Server

    Anybody have any experience of this? We're looking to get off AIX, and Total Cost of Ownership for using Solaris/Sparc versus Linux/Intel is very similar.
    The decider will be if no-one is using Linux as a platform for Sun ONE/Java Directory Server....
    Any feedback would be appreciated....

    We run Directory 5.1 in production on Solaris/Sparc, but I've tried it with sucess on Red Hat 7.2 on Intel. We have not been able to get it to work on Red Hat Enterprise 2.1 or 3.0. The main problem has been that the administration server fails on startup. Obvious the lack of support for the latest enterprise class Linux is a huge drawback. At this point I've decided to stay on Solaris/Sparc until Red Hat comes out with its own release of Netscape's Directory. When that happens we're going to evaluate whether to move the whole environment to Red Hat. The Sun and Netscape servers are almost identical in terms of features and performance, but having an open source version that can run on less expensive hardware would be a terrific win for us.

  • Sun Java System Web Server support for Red Hat EL 5

    Does anyone have any information when the Sun Java System Web Server might be supported on Red Hat Enterprise Linux 5 Server?
    Thanks

    Certification of RHEL5 will likely happen with one of the upcoming Update releases.
    There is, as far as I know, no reason why Web Server won't run on RHEL5 today though (I use it on Fedora Core 7 without ill effect, and the RHEL trail the Fedora releases a bit in technology versions).

  • 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 use comand java in red hat terminal

    i just started to use red hat and i dont have any IDE i already found how complile a package but i can�t run it i try whit a class with out a package and work but when i try tu run a package dont work i�m using the comand:
    /usr/java/j2sdk1.4.2_05/bin/./java -classpath /home/ea01984/public_html/server/ servidorredes.main
    the package name is servidorredes and the main class is in the file main.class

    Read Setting the Classpath & How Classes are Found for [Solaris and Linux] here:
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/tools.html

  • Installation the Java Runtime Environment (JRE) on Red Hat Enterprise Linux

    Hi gurus,
    I´m trying to install an ECC 6.0 SR3 (ABAP) on RHEL v.5 with Oracle DB.
    But as I am newbie I have some doubts, in this point is with the Java Version JRE that is required in sap installion process.
    I already installed the JRE through RPM Package File (I followed the instructions/steps described in this url -  http://java.sun.com/j2se/1.4.2/jre/install-linux.html ) and I don´t have any problem... by the way I installed the JRE version 1.4.2_25 b02.
    But after the installation I had a question, how do I check if the package was installed correctly? I insert the commad  java -version, and the result was this:
    java version "1.4.2"
    gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-46)
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    With this information I really do not know if the version 25 was installed...
    I already check if there is some directory with the new file, and actually there exist in the directory /usr/java but this is not tell me if this is the new one!!
    It´s possible to know which one is installed with other command by terminal?
    Best regards,
    Joao Dimas - Portugal

    1- Ok Markus, but for me it is strange how I could know that the JDK was wrong, that because I don´t know why I have to install this component  for IBM JDK ...... This server has a x86_64 bit architecture, where is related to IBM? I did not understood that sorry... and the component that is installed is 1.4.2 JDK with last version which is 25 to x64 bit (for my x86_64 architecture) ... Forgive my ignorance here, but I don´t understand Markus! Where there is a relationship with the AMD64 architecture? If you are correct... if this is a AMD64 therefore I have to download new installation media DVD´s for this installation for AMD64 architecture, isn´t it?  Because all the dvd's that I have here to install this system is refer to the version x86_64!
    X86_64 == AMD64 == x64 see
    http://en.wikipedia.org/wiki/X86-64
    This is all the same. AMD invented the "64bit extension" for their x86 CPUs, later Intel licensed that extension. All those terms are synonyms.
    So if
    java -version
    does not give you the IBM JDK your installation will fail.
    If you check the PAM (http://service.sap.com/pam) you'll see that for 64bit Linux (AMD64, x86_64, x64) only the IBM JDK is supported because Sun has no 64bit JDK for this (ancient) version 1.4.2 for Linux x86_64.
    [root@redhatsap IM_LINUX_X86_64]# swapon -s
    > Filename                                Type            Size    Used    Priority
    > /dev/mapper/VolGroup01-LogVol01         partition       5931000 0       -1
    This means that I have about 5,9 Gb of RAM memory?
    That means that you have 5,9 GB of SWAP. You get your total memory using the command "free" or use the command "top".
    If I need to allocate more memory, as sap recommends 2xRAM, with 8 GB of RAM, how can I do that, in installation guide it tell me to go read the manual for linux... what documentation?!
    Honestly, this here is not the place to learn Linux.
    I'd use e. g. Google and enter "Redhat 5 add swap space"
    http://centos.org/docs/5/html/Deployment_Guide-en-US/s1-swap-adding.html
    (btw: CentOS is a RedHat clone, it's the same software and so the same commands).
    Markus

  • Install Problem on Red Hat 7.1

    When I try to install Oracle 8.1.7 on Red Hat 7.1, and run the
    runInstaller, but nothing happens. Even no Welcome Page is
    displayed.
    [oracle@localhost Disk1]$ ./runInstaller
    Initializing Java Virtual Machine
    from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expande
    d/linux/bin/jre. Please wait..
    [oracle@localhost Disk1]$
    I have create the group and user for installation, install Java
    SDK 1.3.1 and set the path. Can anyone show me some directions
    about what is the problem and how to solve the problem?

    Thanks Olaf Tiemann,
    I have not installed those packages yet and try the installation
    again.
    Finally I install the Oracle successfully and get the DB
    running, though there are still 2 minor errors.
    1. Error in invoking target relink of
    makefile /oracle/OraHome/ctx/lib/ins_ctx.mk, the patch glibc-
    2.1.3-stubs.tar.gz seems does not relink/replace this .mk file
    2. Error when running the Root.sh, there are 2 sytnax errors at
    the beginning of the script
    It will be perfect to get rid of these 2 errors.
    Anyway, my DB gets running.

  • Error en Import abap phase Linux Red hat 5.4- oracle

    Hello  I had been got this messaje in  the installation 's screen
    sapinst.log
    WARNING[E] 2010-03-12 15:28:13.393
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log
    ERROR 2010-03-12 15:28:13.455
    FCO-00011  The step runMigrationMonitor with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|
    10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR .
    import_monitor.java.log the last lines
    Loading of 'SAPSLEXC' import package: ERROR
    Import Monitor jobs: running 0, waiting 5, completed 1, failed 24, total 30.
    Import Monitor jobs: running 1, waiting 4, completed 1, failed 24, total 30.
    Import Monitor jobs: running 2, waiting 3, completed 1, failed 24, total 30.
    Import Monitor jobs: running 3, waiting 2, completed 1, failed 24, total 30.
    Loading of 'SAPDODS' import package: ERROR
    Import Monitor jobs: running 0, waiting 2, completed 1, failed 27, total 30.
    Loading of 'SAPUSER' import package: ERROR
    Import Monitor jobs: running 0, waiting 2, completed 1, failed 27, total 30.
    Loading of 'SAPSLDEF' import package: ERROR
    Import Monitor jobs: running 0, waiting 2, completed 1, failed 27, total 30.
    Import Monitor jobs: running 1, waiting 1, completed 1, failed 27, total 30.
    Loading of 'SAP0000' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 1, failed 28, total 30.
    import_minitor.log
    TRACE: 2010-03-12 15:27:43 com.sap.inst.migmon.LoadTask run
    Loading of 'SAP0000' import package is started.
    TRACE: 2010-03-12 15:27:43 com.sap.inst.migmon.LoadTask processPackage
    Loading of 'SAP0000' import package into database:
    /usr/sap/SOL/SYS/exe/run/R3load -i SAP0000.cmd -dbcodepage 4103 -l SAP0000.log -stop_on_error
    ERROR: 2010-03-12 15:27:43 com.sap.inst.migmon.LoadTask run
    Loading of 'SAP0000' import package is interrupted with R3load error.
    Process '/usr/sap/SOL/SYS/exe/run/R3load -i SAP0000.cmd -dbcodepage 4103 -l SAP0000.log -stop_on_error' exited with return code 2.
    For mode details see 'SAP0000.log' file.
    Standard error output:
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    WARNING: 2010-03-12 15:28:13
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2010-03-12 15:28:13
    28 error(s) during processing of packages.
    INFO: 2010-03-12 15:28:13
    Import Monitor is stopped.
    This is the  java version:
    java -version
    java version "1.4.2"
    gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-46)
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    any sugesstion??
    thanks  Danny

    Hi,
    java -version
    java version "1.4.2" gij (GNU libgcj) version 4.1.2 20080704
    (Red Hat 4.1.2-46) Copyright (C) 2006 Free Software Foundation, Inc
    IBM 1.4.2 JDK (IBMJava2-AMD64-142-SDK-1.4.2-13.0.x86_64.rpm) will be required for the SAP installation on Linux. then set JAVA_HOME accordingly which points to IBM Jdk.
    Please refer SAP Note 1172419 - Linux: Supported Java versions on the x86_64 platform. The Download location is mentioned there in the SAP Note.
    Regards,
    Bhavik G. Shroff

  • Java SDK compatibility under RHEL 4 and WLS 8.1 SP5

    I am in the process of installing BEA WebLogic 8.1 SP5 under Red Hat Linux ES 4 on x86 processors, and am verifying the supported Java SDKs. Accoriding to:
    http://edocs.bea.com/platform/suppconfigs/configs81/rhelinux40as_es_x86/81sp5.html
    only the JRockit JDK is listed. Is this implying that Sun's JDK 1.4.2_08 is not supported under this configuration?
    The installation binary installs both Sun's and Jrockit's JDK.
    Thanks for your assitance.

    I am in the process of installing BEA WebLogic 8.1 SP5 under Red Hat Linux ES 4 on x86 processors, and am verifying the supported Java SDKs. Accoriding to:
    http://edocs.bea.com/platform/suppconfigs/configs81/rhelinux40as_es_x86/81sp5.html
    only the JRockit JDK is listed. Is this implying that Sun's JDK 1.4.2_08 is not supported under this configuration?
    The installation binary installs both Sun's and Jrockit's JDK.
    Thanks for your assitance.

Maybe you are looking for

  • Why did the App Store bill my debit card for the entire app fee when I had money on my account?

    I bought a Music Studio app recently that costed $15 and I had $15.04 on my account. I was aware this wasn't enough for tax, so I tried to use a debit card when it said I had insufficient funds. After the process, it took no money off of my account,

  • I can't add music to iTunes with latest software and updates.

    I just updated to Mavericks and I have version 11.1.3 (8) of iTunes.  I still had music in a folder that was not in the itunes media folder and now I can't add this music to iTunes or even play the music.  Is there anything I can do to fix this so I

  • Total column not changed between header & detailed screen

    I have a report with header data contains contracts information and detailed data contains orders, debit credit memo related to the contracts.  I write the report using CL_SALV_TABLE to display  contract value, usage  in full ALV_GRID. When I double

  • Mile stone billing & down payment

    i want to configure mile stone billing and down payment i was configured in the sales order milestone billing is working and the downpayment amount is also comming after raising downpayment invoice it was showing errror document is blocked i was chec

  • Syncing contacts creates duplicates

    I would be grateful for any help. I don't sync my iPhone 3GS as often as I would like because when I do, I end up with all my contacts being duplicated. What I want is for all new/edited/deleted entries on my PC to be appropriately adjusted on my iPh