Back to Basics – Installing Payara Server 5 on Ubuntu

Payara

This is Part 1 of our ‘Payara Server- Back to Basics’ series, where we will show you a step-by-step overview of how to install Payara Server 5 on Ubuntu. 

Note – this blog is an update of the original: Installing Payara Server 4 on Ubuntu. 

Installing Payara Server 5.194

1. Make sure the appropriate JDK is installed:

Payara Server 5.194 requires JDK 8 or JDK 11 to be installed beforehand as it uses some of the latest features; the current recommended version is the very latest JDK 8. To check what version you have, in a shell/command window simply type:

javac -version

or
java -version
java_version

If the java command is not recognised, then you will have to install the JDK which can be downloaded from here: https://www.azul.com/downloads/zulu-community

2. Downloading Payara Server

Payara Server can be downloaded from:  http://www.payara.fish/downloads

Download to a directory of your choosing and then unzip.

Running  Payara Server 5.194

In the case of Payara to run the server, change directory to install_directory/payara5/bin and enter the following command:

./asadmin start-domain
startpayara5

 

This will start domain1, which is the default domain included with Payara Server. If you were to create a new domain, that would need to be specified explicitly – like with the production domain included in Payara Server.

Once the server is up running, navigate to http://localhost:4848 to access the console. Your page should look something like this:

payara5_adminconsolehome

That’s it! You should now have Payara Server installed on Ubuntu.

You can learn more about using the Payara Platform by reading more “Back to Basics” posts, ideal for beginners, or try our online Getting Started Guide, for a detailed step-by-step process to installing and using Payara Platform.

Comments (0)

Post a comment

Your email address will not be published. Required fields are marked *

Payara needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Legal & Privacy Policy.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts

Timeline showing Payara Platform Enterprise 4, 5, and 6 support phases (Full, Extended, Lifetime) from 2023–2033, along with JDK 8, 11, 17, and 21 support periods and end-of-life markers. 4 minutes
Thought Leadership

Understanding the Payara Platform Enterprise Software Lifecycle: How We Support Long-Term Stability 

Keeping an application server running smoothly isn’t so much about new features, but more about predictability and consistency. Software […]

Patrik Dudits presenting at Devoxx Belgium 2025 5 minutes
Cloud & Microservices

Devoxx BE 2025: It Only Starts with a Container & How Abstraction Becomes Reality 

At Devoxx Belgium 2025, I was able to talk about what happens after you build your container. In theory, […]

payara qube logo 5 minutes
Payara

Payara Cloud Is Now part of Payara Qube family of Unified Platforms for Enterprise Java

Payara Cloud is becoming part of Payara Qube family of Java application deployment runtimes. This move reflects how the […]