installing bin package

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anurag275125
    New Member
    • Aug 2009
    • 79

    installing bin package

    Hello
    I downloaded java SDK package(java_ee _sdk-5_01-linux.bin). How can I install this package...
    thanks...
  • sashi
    Recognized Expert Top Contributor
    • Jun 2006
    • 1749

    #2
    Which distro are you working with?

    Comment

    • anurag275125
      New Member
      • Aug 2009
      • 79

      #3
      I'm working with Redhat Enterprise Linux.

      Comment

      • sashi
        Recognized Expert Top Contributor
        • Jun 2006
        • 1749

        #4
        Running this command first time downloads the required package and running it the second time installs the package. Having done this, we proceeded with executing the self-extracting binary ./java_ee_sdk-5_01-linux.bin

        Comment

        • anurag275125
          New Member
          • Aug 2009
          • 79

          #5
          Thanks a lot sashi. I have installed java on Linux but how can I add /opt/SDK/jdk/bin and /opt/SDK/jdk/lib entries to the PATH variable, so that I can run java programs??

          Comment

          • sashi
            Recognized Expert Top Contributor
            • Jun 2006
            • 1749

            #6
            Take a look at below attached link. Good luck :)

            Installation of JDK

            Comment

            • anurag275125
              New Member
              • Aug 2009
              • 79

              #7
              I added a file jdk.sh in /etc/profile.d directory. Now I can see /opt/SDK/jdk/bin and /opt/SDK/jdk/lib in the PATH variable.

              # cat jdk.sh
              PATH=${PATH}:/opt/SDK/jdk/bin:/opt/SDK/jdk/lib

              thank you sashi........

              Comment

              • sashi
                Recognized Expert Top Contributor
                • Jun 2006
                • 1749

                #8
                Good luck & Take care :)

                Comment

                Working...