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

SpringBoot Actuator Health for Microprofile Developers 7 minutes
Cloud & Microservices

Spring Boot Actuator Health for MicroProfile Developers

If you worked with MicroProfile Health, you already understand the value of exposing application health information through standardized endpoints. […]

Illustration promoting the Payara Platform Community Survey, featuring bold text on a blue background alongside a clipboard with a checklist, star ratings, and check marks, with coral and fish graphics in an underwater theme. 1 minute
Community

Help Shape the Future of Payara Platform Community – Take Our 2026 Survey

Earlier this week, we’ve launched the 2026 Payara Platform Community Survey and we’d love to hear from you. If […]

2 minutes
Community

Shaping Jakarta Agentic AI Together – Watch the Open Conversation

Earlier this week, we hosted Jakarta Agentic AI, An Open Conversation, an open house Jakarta TechTalk session, exploring a […]