Find the answer to your Linux question:
Results 1 to 4 of 4
How do I find out if I have java installed? Where do I look? I have some programs that require it and they cant seem to find it. Do I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    May 2004
    Location
    Alaska
    Posts
    100

    do I have java


    How do I find out if I have java installed? Where do I look? I have some programs that require it and they cant seem to find it. Do I have to do something so they can use it?

    Of note I got frustrated and went to the java website and downloaded the j2re java client and have tried to install multiple times, but It keeps saying the file is corrupted. Not sure what that is all about.
    Ack!

  2. #2
    Just Joined!
    Join Date
    Dec 2004
    Posts
    3
    have you tried "emerge sun-jre-bin"?

  3. #3
    Linux Newbie
    Join Date
    May 2004
    Location
    Alaska
    Posts
    100
    AWESOME!!! That seemed to fix things. This sums up my problem with installing. When the manual gets to the package disk it is vauge how to install the programs AND what is on the disk to install. I still don't know what I might have missed during the install during that end phase.

    During install it did mention something about no JDK or JAVA_HOME. Not sure what that is about, but the program I wanted to use seemed to work.
    Ack!

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    to see what programs are available via emerge and what programs you have installed try this command:

    as root: emerge --search <whateveryouwant>
    for example: emerge --search java

    this will display all relevant entries with java in them such as sun-java and others. Hope this helps.
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

Posting Permissions

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