![]() To check if you already have JAVA_HOME set, type the following command: echo $JAVA_HOME Most Java applications use the variable JAVA_HOME in determining the location of your Java installation. Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode) Updating the Java Environment Variable Java(TM) SE Runtime Environment (build 1.8.0_191-b12) You should see the following message: java version "1.8.0_191" Sudo apt-get install oracle-java8-installerĪfter the installation, you can check the active Java version using this command: sudo java -version This command will install Oracle JDK 8 using the PPA repository: sudo add-apt-repository ppa:webupd8team/java As of writing, GlassFish 5.0 only supports Java 8. Since GlassFish is powered by Java, it must be installed and configured on your Ubuntu server first. ![]() Install software package dependencies needed by GlassFish by running the following command: sudo apt-get install software-properties-common wget unzip Installing and Configuring Java 8 Log in to your server via SSH: ssh to replace “username” with the username which you wish to use on the server, as well as replacing “server_ip” with your server’s IP address.īefore starting with the GlassFish Server installation, it is a good idea to update the system packages to their latest versions, if any are available: sudo apt-get update ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |