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.

{{cta(‘b2e4c2b6-f33a-4ae4-9290-f1cf476f445a’)}}

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.

{{cta(‘7a5cce4a-1c08-4a04-a259-3c85c1934c9d’)}}

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.

Related Posts

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 […]

Payara promotional graphic showing transition from Spring to Jakarta EE, including technology logos, a code icon and arrows leading from Spring to Jakarta EE. 6 minutes
Jakarta EE

From Spring Boot To Jakarta EE 11: How Payara Starter Eases The Transition

If you’ve been living in the Spring ecosystem, you’re used to fast project setup. Spring Initializr gives you a […]

Promotional graphic for a podcast episode titled “Why Open Source is the Future of Business Innovation - A conversation with Arun Gupta”. The podcast is hosted by Payara Community. The right side features a photo of the speaker, Arun Gupta, labeled as a “VP, Developer Experience at JetBrains”. The design uses dark blue and teal backgrounds with coral and fish illustrations. 2 minutes
Community

Payara Podcast – Why Open Source is the Future of Business Innovation – A Conversation with Arun Gupta

Open source is no longer a developer-only concern — it’s at the heart of how modern businesses innovate, build […]