Installing java 2 sdk in RedHat linux7.1

I have downloaded java2 sdk (rpm file) and installed it in RedHat linux 7.1 but I can't run javac to compile my java programs.
can somebody please explain why???

I have the same problem as you! RHLinux 7.1 comes with preinstalled of JAVA jdk, it might be 1.1.8 (the IBM jdk.) Check your /usr/bin as
$ls /usr/bin | grep j*
you may find then the binary tools.
Also check for some gcj utils at /usr/share/doc
Now the problem is how to remove the older version and updating the PATH for the newer sun's version jdk-1.3.1_01. you may check postings at $PATH for RHLinux 7.1

Similar Messages

  • Installing Java 2 SDK 1.4.1

    I am planning on installing Java 2 SDK 1.4.1 on my computer under Windows Me. I have noticed in my Add/Remove Programs that I have a Java Plug-in 1.3.1_02 installed on my computer. I believe it comes as part of Compuserve which I also have installed on my computer. Does anyone know if that plug-in will cause problems in the installation of Java 2 SDK 1.4.1? Is it alright to leave the Java Plug-in there or does it need to be uninstalled before I install Java 2 SDK 1.4.1. I would appreciate any help. Thanks.

    ...but than again I'm using Linux and I know where all my files are.

  • Installing Java 2 SDK, SE v1.4.2_07

    I'm trying to install Java 2 SDK, SE v1.4.2_07. During the install I get this message
    "Error 1335. The cabinet file 'Data1.cab' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package."
    My OS - XP sp2
    I had a previous version of java on here and decided to upgrade. I removed it in add remove programs and when I try to install, I get the message you see above. The only thing I can find online is to reinstall the OS. Can somebody out there help?
    -----------------------------------------------------------------------

    hi ,
    if u got solution share with all plzz

  • Unable to install Java EE SDK Update 5

    I am not able to install Java EE SDK Update 5. When I run the installer, I am able to get to the "Select Installation Directory" screen. The Installation Directory is I:\Sun\SDK. When I click Next, nothing else happens. I have attempted several times. I have waited for a while each time and nothing happens. The buttons at the bottom of the installer �Back,� �Next,� �Cancel,� and �Help� are not enabled at this point. I can click on the �Browse� button. I can close the installer, which is what I have to do each time. I have also downloaded the application again and tried it and the same thing happens. Does anyone know what the problem might be? Any suggestions?

    I am getting the same problem... anybody help

  • How to install Oracle 817 Client on Redhat Linux7.2

    I try to install oracle 817 client on a dell server running Redhat Linux7.2, the installer won't start. Are there any pre-requisites I have to set for client install to work on linux? Does 817 installer work on Linux7.2?
    Thanks,
    Joe

    Joe,
    I have the same issue. It's probably due to an incompatibility of the jdk 1.1.8 on the CD.
    Have you tried using another one ? http://www.blackdown.org/
    Rgds,
    Franck

  • Getting error message when installing Java 2 SDK SE V1.4.2_02

    When I go to install the program Java 2 SDK SE V1.4.2_02, it starts fine, put mid way through the installation I get the following error:
    Error 1316.A network error occurred while attempting to read from the file
    http://java.sun.com/webapps/download/GetFile/1.4.2_02-b03/windows-i586/Java 2 SDK, SE v1.4.2_02.msi. And the installation just stops.
    I am running Windows XP Home, and IE 6.0. Any help would be greatly appreciated.....
    Thanks,
    Bob

    This error evidently occurs after an upgrade to XP from a prior Windows version. From what I have read, it is due to some registry problems with the upgrade. You may not be able to do an uninstall, but you can install a new JVM by using the offline install as opposed to an MSI install.
    If you are able to get around your uninstall issue, please let us know.
    Thanks...

  • INSTALLING JAVA 2 SDK 1.4 PROBLEMS

    Hi !!!
    I am new to java and followed the installation notes Java 2 SDK standard edition to install this application. Well i have tried 10 times restalling this application I always get the same problem that is, when the application is uploaded I open it and a message prompts saying the files can not be extracted there is a corruption. I have even deleted the files from control panel and tried many time again keep getting same problem I have also downloaded the application from different sites.
    What do I do??? My start to java is hell!!
    Please some one help me!

    Make sure you are logged in as admin or equivalent (assuming you have NT/Win2k/XP) and see if that clears up the problem. If you keep getting this error even after downloading from multiple sites, it hints at a deeper problem...perhaps bad internet connection, or a virus. THOUSANDS of copies of this have been downloaded over time and if there was some major problem with it, more users would complain.

  • Installing java 2 SDK,SE v1.4.2_01

    i installed this in the windows offline version, in my add remove programs i have
    java 2 sdk,se v 1.4.2_01
    and also
    java 2 runtime environment, se v1.4.2_01
    does this package install both or did i leave the runtime enviornment installed by mistake before i installed this one. LOL thank's

    Hello, Well i got the hello world application to work and turn to a class file.
    but
    im getting an error while trying to do the hello world applet, the error message is error: cannot read: HelloWorld.java
    1 error
    here is the code.
    import java.applet.*;
    import java.awt.*;
    * The HelloWorld class implements an applet that
    * simply displays "Hello World!".
    public class HelloWorld extends Applet {
    public void paint(Graphics g) {
    // Display "Hello World!"
    g.drawString("Hello world!", 50, 25);
    <HTML>
    <HEAD>
    <TITLE>A Simple Program</TITLE>
    </HEAD>
    <BODY>
    Here is the output of my program:
    <APPLET CODE="HelloWorld.class" WIDTH=150 HEIGHT=25>
    </APPLET>
    </BODY>
    </HTML>

  • L00000k Help me Install Java 2 SDK, SE v1.4.2_05

    Hey, I'm trying to download this Java from this site (I need to download this excat Java, I can't download any other ones...) :
    https://sdlcweb1a.sun.com/ECom/EComActionServlet/LegalPage:~:com.sun.sunit.sdlc.content.LegalWebPageInfo;jsessionid=sdlcweb1a.sun.com-ab15%3A411f9048%3Ad7a645b4a44a7ec3
    First off, which one shoudl I download. I tried downloading both of them, and got errors on them both. Please help me out as I really want to use the java. You can look at my post here on another forum and it has pictures of what went wrong. I get two errors, the first one is when Its trying to copy the files in the installation. The error I get says "Error 1335. The cabinet file 'st142000[1].cab' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the CD-Rom, or a problem with this package.... After that I click retry, and nothing happends same error, so I click Ignore. Then another error comes up and it says 'Internal Error 2350'. Then I get the thing where it shoudl say installation complete, but instead it says "The wizard was interuppted before Java 2 SDK, SE v1.4.2_05 could be completly installed.
    Please someone help me figure this out because I really want to use java. If any of you guys want to see what happends in picturse, view the post I made on a other forum, and they (the members on that forum) didnt really help me out at all. They just told me to re-download it, which I did about four times. http://jagex.us/SBoT196/viewtopic.php?t=16&postdays=0&postorder=asc&start=30 (I'm Travisu88 on that site)

    See my reply to this thread http://forum.java.sun.com/thread.jsp?forum=14&thread=546824&tstart=0&trange=100
    Before attempting this, make sure that all previous Java install attempts and resulting folders and files are removed from your computer. If the computer is not clean problems will likely result.
    This is the standard way to download the current Java. I recommend that you use the offline installation option if you are installing on Windows, it is less likely to cause problems.

  • Error when installing java se sdk  6.16

    Hi All,
    while installing java se 6.16 sdk I get this error: " Installer: Wrapper.WriteFile(In small chunks) failed with error 112: there is not enough space on the disk."
    I can not figure this out as my hard drive has 207Gb free.
    any help apreciated.
    Best Regards
    Luis

    I'm seeing exactly the same problem with JDK 6 Update 17 under Windows XP. I've got plenty of disk space. Anyone got any suggestions?

  • 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.

  • Installing Java EE SDK over SE SDK

    I am running Java SE 6 on WIndows XP. I have
    Java DB 10.4.1.3
    Java 6 Update 11
    Java 6 Update 7
    Java SE SDK Update 11
    installed.
    1. Do I need to uninstall the SE SDK before installing Java EE 5 SDK?
    2. Is it safe to assume that Java EE SDK is a superset of SE SDK? When I first started learning
    Java I knew I didn't need the EE edition, but now I want to start exploring its features.
    Thanks,
    Mitch

    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.

  • I can't install Java 2 SDK

    Hi ,
    I downloaded Java 2 SDK 1.4.05 and then I begun to install it .During this installation , I got message error " Corrupt data1.cab" .I try installing it by many ways ,many times but it wasn't successful.My PC run Windows XP Professional SP1 .On my PC ,there was Microsoft Java VM when I installed Visual Studio 6 and Java 2 Runtime Environment 1.4.05 .Could you help me to solve this problem ? Thank you

    Hi ,
    Because I couldn't complete Java 2 SDK 1.4.05 Installation, I use Event Viewer of WinXP .I got this following error message :
    "Product Java 2 SDK SE v1.4.2.05 .Error 1722: There is a problem with this Windows Installer package.A program run as part of the setup didn't finish as expected .Contact your support personnel or package vendor.Action patchsdk , location : C:\Program Files\Common Files\Java\Update\Base Images\j2sdk.1.4.2-b28\patch-j2sdk.1.4.2_05-b04\patchsdk.exe,command:-s "C:\j2sdk 1.4.2_05"
    So what sould I do with this problem ?

  • Problems Installing JAVA 2 SDK and Forte4J CE 3.0 on Win98  - HELP !!!!

    I have downloaded JAVA 2 SDK, SE v.1.4.0 and Forte for Java CE 3.0 without any trouble, but when I go to install it, I get stuck at the SDK installation screen, and nothing happens.
    I did restart my computer after downoading the file, but that did not help. I have been looking at the installation screen now for about an hour. What do I do? Please, somebody help me.
    Thanks.
    Iwona

    I had a similar problem with J2SDK 1.4.0 and Forte
    3.0 on a Win98 box. Realizing that J2SDK 1.4.0 is a
    BETA release, I dropped back to J2SDK 1.3.0_02. It
    works fine!
    Regards,
    Mark

  • Install Java 2 SDK 1.4.2  on a D: drive

    I have a student trying to instal the SDK. He has partitioned his drive and his C drive has unsufficient space. When he changes the drive to D, the installation software still attempts to install on the C drive and reports insufficient file space. Can anyone help?
    Thanks,
    Mike

    I am having the same problem. On my work box, they have partitioned the C: drive just big enough to hold Windows with all of the applications installed on D:. Though I chose a directory on D: to install the Java SDK 1.4.2, it says that I need 268 megs on C: and only 8 on D:.
    I am using Windows 2000.

Maybe you are looking for