Installing
-
5. Installing Java JDK
How to Install Required Oracle Java JDK 8+ on Fedora Linux.
-
6. Installing Glassfish
Finally, to Install Glassfish 5.0 in Fedora
(Here we describe a System-Wide Setup, for a Local one Just Run from Home)
Set the SuperUser as Owner:sudo chown -R root:root /tmp/glassfish5
Again, give Execution Permissions with:
sudo chmod -R +x /tmp/glassfish5
Again, give Execution Permissions with:
sudo chmod -R +x /tmp/glassfish5
And then Switch contents:
sudo mv /tmp/glassfish5 /opt/
-
Moreover, Append Glassfish into User’s Path.
echo "export PATH=$PATH:/opt/glassfish5/bin" >> ~/.bashrc
To Reload Path simply:
bash
Finally, to Test Glassfish 5.0 Setup:
which asadmin
Contents