gbspeeddownload.blogg.se

How to check java version in linux
How to check java version in linux












If you installed Confluence manually (the path to the bundled JRE was not automatically set in the setjre file), Confluence will use the path set in the JRE_HOME environment variable. Remember, when you next upgrade Confluence this file will be overwritten, so you will need to re-apply this change to the new setjre.sh file.Įnvironment variable method - Windows and Linux

  • Go to > General Configuration > System Information and check that Confluence is using the expected Java version.
  • how to check java version in linux

    If this line isn't present, exit this file and use the environment variable method below. JRE_HOME="/opt/java/adoptopenjdk/jdk-11.0.4.11-hotspot/" export JRE_HOME

    how to check java version in linux

    In Command Prompt, use the following command to check that Java is installed and has been added to your path correctly. To change the Java that Confluence uses if you start Confluence manually in Windows: The location of your JRE will be different, but the steps are the same for any supported Java vendor and version. In these examples we're going to point Confluence to the AdoptOpenJDK JRE, which is installed on our Windows server at C:\Program Files\AdoptOpenJDK\jdk8u192-b12\jre.

    how to check java version in linux

    The way you do this depends on whether you run Confluence manually using the start-confluence.bat file, or as a Windows service. If this line isn't present, JRE_HOME is not set in this file (because Confluence was installed manually), and you should use the environment variable method below. If a line similar to the one above is present, then JRE_HOME is set in this file by the installer, and you should use the installer method for Windows or Linux below. SET "JRE_HOME=C:\Program Files\Atlassian\Confluence\jre"














    How to check java version in linux