ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Installation of Particular Java version at Ubuntu

    Scheduled Pinned Locked Moved IT Discussion
    ubuntu
    43 Posts 4 Posters 6.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thanksajdotcomT
      thanksajdotcom
      last edited by thanksajdotcom

      Please tell me you know how to use vi...If not, after you type:

       vi .profile
      

      Hit the "I" key (that's the letter i ) and then paste those two lines shown. Then hit Esc, followed by :wq and hit Enter.

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @Lakshmana
        last edited by

        @Lakshmana said:

        @thanksajdotcom Sorry I have replied for Scott,AJ.Now I have used the wget command given by coliver and the download of the file has done and then I extracted the file and tried to install by dpkg -i jdk 1.7.0._65 file but it showed me the error to login as sudo user.But I have also done at root but also same error with permission denied is shown.I came to home now I will give you the screenshort of the error after going to office

        Just checked. I downloaded and unpacked myself. What do you want now? You've already installed it. There is nothing more to do. You have your Java already.

        thanksajdotcomT 1 Reply Last reply Reply Quote 0
        • LakshmanaL
          Lakshmana @thanksajdotcom
          last edited by

          @thanksajdotcom said
          Thank You AJ.I utry it in my office and say you the result of this as soon as possible after going to office

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @Lakshmana
            last edited by

            @Lakshmana said:

            @thanksajdotcom Sorry I have replied for Scott,AJ.Now I have used the wget command given by coliver and the download of the file has done and then I extracted the file and tried to install by dpkg -i jdk 1.7.0._65 file but it showed me the error to login as sudo user.

            But WHY are you running dpkg? We keep telling you that you can't do that. This is not a Debian package. The installation is already done. You can stop now.

            thanksajdotcomT 1 Reply Last reply Reply Quote 1
            • thanksajdotcomT
              thanksajdotcom @scottalanmiller
              last edited by

              @scottalanmiller said:

              @Lakshmana said:

              @thanksajdotcom Sorry I have replied for Scott,AJ.Now I have used the wget command given by coliver and the download of the file has done and then I extracted the file and tried to install by dpkg -i jdk 1.7.0._65 file but it showed me the error to login as sudo user.But I have also done at root but also same error with permission denied is shown.I came to home now I will give you the screenshort of the error after going to office

              Just checked. I downloaded and unpacked myself. What do you want now? You've already installed it. There is nothing more to do. You have your Java already.

              I have posted instructions. Please reference this: http://stackoverflow.com/questions/14788345/how-to-install-jdk-on-ubuntu-linux

              scottalanmillerS LakshmanaL 2 Replies Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @thanksajdotcom
                last edited by

                @thanksajdotcom said:

                I have posted instructions. Please reference this: http://stackoverflow.com/questions/14788345/how-to-install-jdk-on-ubuntu-linux

                None needed, he has already installed it. He just doesn't believe it or something.

                1 Reply Last reply Reply Quote 0
                • thanksajdotcomT
                  thanksajdotcom @scottalanmiller
                  last edited by

                  @scottalanmiller said:

                  @Lakshmana said:

                  @thanksajdotcom Sorry I have replied for Scott,AJ.Now I have used the wget command given by coliver and the download of the file has done and then I extracted the file and tried to install by dpkg -i jdk 1.7.0._65 file but it showed me the error to login as sudo user.

                  But WHY are you running dpkg? We keep telling you that you can't do that. This is not a Debian package. The installation is already done. You can stop now.

                  Because he doesn't listen. I've posted EXACT VERBOSE instructions. If he copy/pastes those exactly, he cannot screw up...

                  1 Reply Last reply Reply Quote 0
                  • LakshmanaL
                    Lakshmana @thanksajdotcom
                    last edited by

                    @thanksajdotcom Thank you AJ for your help

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @Lakshmana
                      last edited by

                      @Lakshmana said:

                      @thanksajdotcom Thank you AJ for your help

                      Did you test your Java? It's fully installed already.

                      LakshmanaL 1 Reply Last reply Reply Quote 0
                      • LakshmanaL
                        Lakshmana @scottalanmiller
                        last edited by

                        @scottalanmiller I came to my room Scott.Its around 11:30 PM at India.So I will attend my office at 11:00 AM on tommorrow.so at that time I will check say the result of the process

                        1 Reply Last reply Reply Quote 0
                        • LakshmanaL
                          Lakshmana @thanksajdotcom
                          last edited by

                          @thanksajdotcom I done the commands you provided but there is a screenshot often came while export option to be placed in vi .profile.Please verify the screenshot .Screenshot from 2015-04-20 10:20:00.png

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            That's just because your profile was already being edited. Just follow the on screen instructions to continue.

                            1 Reply Last reply Reply Quote 1
                            • LakshmanaL
                              Lakshmana @thanksajdotcom
                              last edited by

                              @thanksajdotcom said:

                              mv jdk1.7.0_65/ /usr/local/

                              I have tried the above one this error comes.Why?

                              support@support:/tmp$ mv jdk1.7.0_65/ /usr/local/
                              mv: cannot move ‘jdk1.7.0_65/’ to ‘/usr/local/jdk1.7.0_65’: Permission denied

                              LakshmanaL 1 Reply Last reply Reply Quote 0
                              • LakshmanaL
                                Lakshmana @Lakshmana
                                last edited by

                                @Lakshmana Now I have done AJ said completely by sudo user

                                1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller
                                  last edited by

                                  All is working now?

                                  LakshmanaL 1 Reply Last reply Reply Quote 1
                                  • LakshmanaL
                                    Lakshmana @scottalanmiller
                                    last edited by

                                    @scottalanmiller All is working fine now

                                    1 Reply Last reply Reply Quote 1
                                    • scottalanmillerS
                                      scottalanmiller
                                      last edited by

                                      Great!

                                      LakshmanaL 1 Reply Last reply Reply Quote 0
                                      • LakshmanaL
                                        Lakshmana @scottalanmiller
                                        last edited by

                                        @scottalanmiller Thanks.I can do some things by this ML Knowledge sharing people only.

                                        1 Reply Last reply Reply Quote 0
                                        • 1
                                        • 2
                                        • 3
                                        • 2 / 3
                                        • First post
                                          Last post