Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 23
I attempted to install Java 1.4 and it hung at 99% of finishing the install. I tried to reinstall and I get a message it's already installed. The Java test ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    sam
    sam is offline
    Just Joined!
    Join Date
    Nov 2003
    Location
    Ky
    Posts
    66

    Java


    I attempted to install Java 1.4 and it hung at 99% of finishing the install. I tried to reinstall and I get a message it's already installed. The Java test page says it is not installed. I tried rpm -e with the file and it says it isn't installed. I found a bunch of java directories and deleted them all out of frustration. Where do I go from here to get Java?[/i]

  2. #2
    Just Joined!
    Join Date
    Apr 2003
    Location
    Australia & England
    Posts
    75
    Hi,
    What distribution are you using?
    How did you try to install it the first time, rpm, deb, bin?
    Is it the Sun JDK/JRE?

    What java test page are you trying to see? I don't know of such a page (not that I know much anyway :P)
    What happens when you type:
    Code:
    java --version

  3. #3
    Linux User
    Join Date
    May 2003
    Location
    CA
    Posts
    370
    try this url for java downloads:
    http://java.sun.com/j2se/1.4.2/download.html

    you'll get a self-installer java1.4.2 there, which basically you can just untar
    and unzip and you'll be good to go.
    Fixing Unix is better than working with Windows.
    http://nikhilk.homedns.org/projects/index.html

  4. #4
    sam
    sam is offline
    Just Joined!
    Join Date
    Nov 2003
    Location
    Ky
    Posts
    66

    Java

    Sorry it took so long to reply but they changed me from Sam to e_Sam.

    I am using RedHat 9.

    The java --version says "command not found"

    The first time I installed it when it hung was with a .rpm.bin file.

    I got these files from the sun download site.

  5. #5
    Linux User
    Join Date
    May 2003
    Location
    CA
    Posts
    370
    go to the following site:
    http://java.sun.com/j2se/1.4.2/download.html

    you'll get a self-installer file which you basically just need to extract(untar and unzip) and you'll be good to go.[/url]
    Fixing Unix is better than working with Windows.
    http://nikhilk.homedns.org/projects/index.html

  6. #6
    sam
    sam is offline
    Just Joined!
    Join Date
    Nov 2003
    Location
    Ky
    Posts
    66

    java

    That link is where I got it but it says it's already installed when I run the RPM.

  7. #7
    Linux User
    Join Date
    May 2003
    Location
    CA
    Posts
    370
    ok...run the following commands as root:
    rpm -qa | grep java
    this should give you the name of the file or something
    then run
    rpm -ql <the-name-of the above-file>

    this should show you a list of files and the locations where they are installed.

    then just check where java is located and run

    <path-to-java> --version

    and this should show you some version...if it does then everything is fine else send me the name of the file you downloaded.
    Fixing Unix is better than working with Windows.
    http://nikhilk.homedns.org/projects/index.html

  8. #8
    sam
    sam is offline
    Just Joined!
    Join Date
    Nov 2003
    Location
    Ky
    Posts
    66

    java

    I run the command;

    rpm -qa | grep java

    It sit there for 30 secinds and came back to the prompt blank : (

    This is the file I installed j2re-1_4_2_03-linux-i586-rpm.bin

  9. #9
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Oh, if the package was called j2re, then you should have run "rpm -qa | grep j2re". Then, if you find it, uninstall it using "rpm -e packagename", and then try reinstalling the original package.

  10. #10
    sam
    sam is offline
    Just Joined!
    Join Date
    Nov 2003
    Location
    Ky
    Posts
    66

    java

    I get the j2re-1.4.2_03-fcs after the grep command.
    I run the rpm -e and get a whole bunch of touch: creating "filename" No such file or directory.

    I have done this before and when reinstalling it says it's already installed. Somehow I have deleted some Java directories and just can't convince Linux it isn't still there.

    Thanks again for the help.

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •