Find the answer to your Linux question:
Results 1 to 4 of 4
Hi Friends..I need help in installing java in fedora 5...I tried installing the extracting file for java 1.5 in /opt...and then i set the path..now it show java version 1.5..but ...
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    36

    java installation

    Hi Friends..I need help in installing java in fedora 5...I tried installing the extracting file for java 1.5 in /opt...and then i set the path..now it show java version 1.5..but the issue is when trying to make a file..it comes up with javac command not found...Actually i installed jre....I also have the self extracting file for jdk 1.5..after trying installing jdk...the java version comes up rightly..but i am not able to make a file using the make command...it throughs out an error javac command not found..i tried setting the path...and it also show when i type the comman $PATH...


    Is there a way that i can fix it or help in uninstalling the complete java...Also i need to know if i install jdk 1.5 then is there any need for jre....Thanks

  2. #2
    Just Joined!
    Join Date
    Nov 2009
    Posts
    36
    As i installed self extracting file..i can delete that folders for uninstalling..but since java came along with the system...i think there should be some packages got installed..In the case of redhat we can use the command rpm -qa | grep java to get the package name...but how do we find the package name in fedora

  3. #3
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    you should be able to use that same command on fedora as on RHEL

    javac is part of jdk, not jre

    also, you don't usually build java programs with make, what are you trying to do?

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Well, there's nothing that says you can't build java programs with make, but usually people use ant for that. Anyway, as mentioned, javac is part of the jdk (java development kit), not the jre (java runtime environment) which is just the java runtime components.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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