Java EE 7 requires JDK 7 or above 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
If thejava command is not recognised then you will have to install the JDK which can be downloaded from here:
Download to a directory of your choosing and then unzip.
Running Payara Server 4.1
In the case of Payara to run the server, change directory to install_directory/payara41/bin and enter the following command:
./asadmin start-domain
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 Payara’s payaradomain. To maintain compatibility with GlassFish, though, domain1 is preferred if no domain is specified, rather than throwing an error from version 4.1.153 and up. Accessing the Administration Console
Once the server is up running, navigate to http://localhost:4848 to access the console. Your page should look something like this:
I thought bog was very good…I would like to see one thing added and, that is all of the ports payara41 uses
I thought the blog was very good but needs one thing, IMOP, and that is all of the ports payara41 uses
Set up the JAVA_HOME environment variable was not enough to me. I have to set up the AS_JAVA variable in the config file {payara-home}/glassfish/config/asenv.conf as AS_JAVA=$JAVA_HOME.
Goodbye Payara Community 6, on to the next chapter with Payara Community 7
With the November 2025 release, Payara community reached an important milestone. Payara Platform Community 6 received its final update […]
5 minutes
Cloud & Microservices
Patrik Duditš
14 Nov 2025
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, […]
5 minutes
Community
Luqman Saeed
12 Nov 2025
What’s New In The Payara Platform November 2025 Release?
The November 2025 release brings significant milestones across the Payara Platform family. This month includes Payara Platform Community 6.2025.11, […]
good intro blog / keep on sharing on this good platform
I thought bog was very good…I would like to see one thing added and, that is all of the ports payara41 uses
I thought the blog was very good but needs one thing, IMOP, and that is all of the ports payara41 uses
Thanks for your feedback Larry!
Set up the JAVA_HOME environment variable was not enough to me. I have to set up the AS_JAVA variable in the config file {payara-home}/glassfish/config/asenv.conf as AS_JAVA=$JAVA_HOME.
how to download and install payara on ubuntu server using the cli i couldn’t find a download link
thank you