TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Trouble Installing on Linux (Java issue)

    Scheduled Pinned Locked Moved Player Help
    9 Posts 5 Posters 3.1k Views 4 Watching
    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 Offline
      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 PantherP 2 Replies Last reply Reply Quote 0
      • B Offline
        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
        • PantherP Offline
          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?

          Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

          1 Reply Last reply Reply Quote 1
          • RoiEXR Offline
            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.

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

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

              Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

              1 Reply Last reply Reply Quote 0
              • RoiEXR Offline
                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

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

                  @roiex Thank you.

                  Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    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
                    • ssoloffS Offline
                      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

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      • 1 / 1
                      • First post
                        Last post
                      Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums