Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Trouble Installing on Linux (Java issue)

    Player Help
    5
    9
    2077
    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.
    • R
      rs1971 last edited by

      Hi,

      I just recently downloaded the .sh file with the intention of installing the application on Ubuntu Linux. As I haven't installed a java on this box, I tried to install the Oracle jre8, but it turns out that it's no longer available for download. Ditto for jre9 and jre10, but I finally got jre11 installed. I then issued the following command:

      export INSTALL4J_JAVA_HOME=/usr/lib/jvm/java-11-oracle

      which I'm pretty sure is right based on the following command and it's output

      $INSTALL4J_JAVA_HOME/bin/java -version
      java version "11.0.1" 2018-10-16 LTS
      Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
      Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)

      But when I try to run the script I get this error:

      No suitable Java Virtual Machine could be found on your system.
      The version of the JVM must be 1.8.
      Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.

      Is it possible that I have to be running exactly java 1.8 and not 1.8 or newer? Or am I doing something else wrong?

      Thanks in advance!

      B Panther 2 Replies Last reply Reply Quote 0
      • B
        beelee @rs1971 last edited by beelee

        @rs1971 Hi rs

        I'm pretty sure java 8 191 is the most recent that'll work. Java 9 and up doesn't, although the guys are working on it.

        Someone will chime in with a definitive answer before too long

        link text

        the 191 dl

        1 Reply Last reply Reply Quote 0
        • Panther
          Panther Admin Moderators @rs1971 last edited by Panther

          @rs1971 said in Trouble Installing on Linux (Java issue):

          I tried to install the Oracle jre8, but it turns out that it's no longer available for download.

          Don't the Linux Java 8 download files provided here
          https://java.com/en/download/manual.jsp
          work for you?

          1 Reply Last reply Reply Quote 1
          • RoiEX
            RoiEX Admin last edited by

            @Panther Oracle only distributes RPM packages which do not work well with Ubuntu.

            @rs1971 I'd have assumed that the sh file would install a working java version as well if there's none on the system.
            This obviously doesn't seem to work, but the openJDK 8 should work as well.
            So simply uninstalling the jdk 11 and running sudo apt install openjdk-8-jre should already do the trick.

            Panther ssoloff 2 Replies Last reply Reply Quote 1
            • Panther
              Panther Admin Moderators @RoiEX last edited by

              @roiex Just for learning purposes: What's the problem with the provided non-RPM files (tar.gz)?

              1 Reply Last reply Reply Quote 0
              • RoiEX
                RoiEX Admin last edited by

                Good point, the .tar.gz would also work (acts like a zip file, the only difference is that the gz format can only compress a single file and the tar format can only pack a directory into a single file but not compress it), but you'd have to manually set all the configuration up to point to the then extracted folder, which is by far less convenient than running a one-liner bash script

                Panther 1 Reply Last reply Reply Quote 1
                • Panther
                  Panther Admin Moderators @RoiEX last edited by

                  @roiex Thank you.

                  1 Reply Last reply Reply Quote 0
                  • R
                    rs1971 last edited by

                    Thanks guys. I just manually downloaded the jdk8 tar ball and unzipped it and was able to install the application. I'm not sure why the PPA wasn't able to download it. It may be that the link changed when it went into maintenance mode and the PPA wasn't updated. I'm pretty new to Linux administration so there may have been some other more obvious problem that I was missing. In any event, thanks again and time to hit the manual!

                    1 Reply Last reply Reply Quote 1
                    • ssoloff
                      ssoloff Admin @RoiEX last edited by

                      @RoiEX

                      I'd have assumed that the sh file would install a working java version as well if there's none on the system

                      I believe the bundled JRE support in the installer only works for Windows x86/x86_64 and macOS.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums