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

    Installation of Particular Java version at Ubuntu

    IT Discussion
    ubuntu
    4
    43
    6.2k
    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.
    • LakshmanaL
      Lakshmana
      last edited by

      I have got the command from my friend for the installation of particular package at ubuntu..Example)
      sudo apt-get install vsftpd=2.3.5-3ubuntu1.Like this how to install
      java jre 1.7.0_65 at ubuntu.Can anyone know this command.

      I have tried the command as
      sudo apt-get install javajre=1.7.0_653ubuntu1.
      In that unable to locate package issue was found for the installation

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

        Apt-get won't help you here. You need to just go to Oracle's website, download the exact version of Java that you require for Linux, and run Oracle's installer. You are not able to use the Ubuntu package system for this.

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

          Had to dig but I found the download.

          http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#sjre-7u65-oth-JPR

          The issue is I can't get wget to work on the download link. It wants you to use the website. Stupid Java...you still have never answered us in WHY you need THIS SPECIFIC VERSION of Java...

          1 Reply Last reply Reply Quote 0
          • coliverC
            coliver
            last edited by

            Can't you use OpenJDK? I believe it is compatible with Java.

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

              Yes he did. It's a hard requirement. @thanksajdotcom

              thanksajdotcomT coliverC 2 Replies Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @coliver
                last edited by

                @coliver said:

                Can't you use OpenJDK? I believe it is compatible with Java.

                more than that, it IS Java

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

                  @scottalanmiller said:

                  Yes he did. It's a hard requirement. @thanksajdotcom

                  I must have missed it.

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

                    @scottalanmiller said:

                    Yes he did. It's a hard requirement. @thanksajdotcom

                    Oh, I missed that too, sorry.

                    1 Reply Last reply Reply Quote 0
                    • coliverC
                      coliver
                      last edited by

                      Here is the wget command for the 7u65 JDK which includes the JRE you are looking for:

                      wget --no-check-certificate --no-cookies - --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/7u65-b17/jdk-7u65-linux-x64.tar.gz"
                      
                      1 Reply Last reply Reply Quote 2
                      • scottalanmillerS
                        scottalanmiller @thanksajdotcom
                        last edited by

                        @thanksajdotcom said:

                        @scottalanmiller said:

                        Yes he did. It's a hard requirement. @thanksajdotcom

                        I must have missed it.

                        Different thread, that's why. It had been asked and answered. This thread was just about download issues with this single file.

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

                          @scottalanmiller I need jre1.7.0_65 version.I am using ubuntu 14.04 LTS 64 Bit.So I need a debian file of jre.Can anyone know????

                          coliverC scottalanmillerS thanksajdotcomT 3 Replies Last reply Reply Quote 0
                          • coliverC
                            coliver @Lakshmana
                            last edited by

                            @Lakshmana said:

                            @scottalanmiller I need jre1.7.0_65 version.I am using ubuntu 14.04 LTS 64 Bit.So I need a debian file of jre.Can anyone know????

                            There is no apt-get command for it. You will need to use the wget command I referenced earlier. Which includes the JRE you are looking for.

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

                              @Lakshmana said:

                              @scottalanmiller I need jre1.7.0_65 version.I am using ubuntu 14.04 LTS 64 Bit.So I need a debian file of jre.Can anyone know????

                              Did you download from where I said?

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

                                @Lakshmana said:

                                @scottalanmiller I need jre1.7.0_65 version.I am using ubuntu 14.04 LTS 64 Bit.So I need a debian file of jre.Can anyone know????

                                There is no debian file that I know of. Just the tarball file that @coliver linked. Run his command and extract the files.

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

                                  @thanksajdotcom Yes I have downloaded the coliver given command and downloaded the jdk,I have extracted the file and then the tried to install but it is not possible

                                  scottalanmillerS thanksajdotcomT 2 Replies Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @Lakshmana
                                    last edited by

                                    @Lakshmana said:

                                    @thanksajdotcom Yes I have downloaded the coliver given command and downloaded the jdk,I have extracted the file and then the tried to install but it is not possible

                                    Okay, what error did you get?

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

                                      @Lakshmana said:

                                      @thanksajdotcom Yes I have downloaded the coliver given command and downloaded the jdk,I have extracted the file and then the tried to install but it is not possible

                                      What command did you run to install the jdk?

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

                                        @scottalanmiller The file I was downloaded was .tar.gz.Then I have extracted the file and then I have used dpkg -i command with the extracted file and there are many files are present but there is no .deb file at this file

                                        thanksajdotcomT scottalanmillerS 2 Replies Last reply Reply Quote 0
                                        • thanksajdotcomT
                                          thanksajdotcom @Lakshmana
                                          last edited by

                                          @Lakshmana said:

                                          @scottalanmiller The file I was downloaded was .tar.gz.Then I have extracted the file and then I have used dpkg -i command with the extracted file and there are many files are present but there is no .deb file at this file

                                          That doesn't answer the question. What command did you run?

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

                                            @Lakshmana said:

                                            @scottalanmiller The file I was downloaded was .tar.gz.Then I have extracted the file and then I have used dpkg -i command with the extracted file and there are many files are present but there is no .deb file at this file

                                            We already discussed in the thread that this is not a DEB file and using dpkg is not an option. Why are you doing that at all?

                                            There is an installer IN the tarball that you just unpacked. Just run it!

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