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.
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 […]
2 minutes
News
Chiara Civardi
21 Oct 2025
Enterprise Java Deployment Simplified with Payara Qube’s New, Unified Offering
Payara Services, a leading vendor of enterprise Java technologies, is aligning Payara Cloud with the Payara Qube Java application […]
3 minutes
Community
Luqman Saeed
15 Oct 2025
What’s New In The Payara Platform October 2025 Release?
The October 2025 release brings focused improvements across Payara Platform Community 6.2025.10 (download here), Payara Platform Enterprise 6.31.0 (download […]
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