
Install Java using the "alternatives" commandĬd /opt/jdk1.8.0_91 alternatives -install /usr/bin/java java /opt/jdk1.8.0_91/bin/java 2

Wget -no-cookies -no-check-certificate -header "Cookie: gpw_e24=http%3A%2F%2Foraclelicense=accept-securebackup-cookie" " "Įxtract the archive using the "tar" command. OR use the following wget command to download from the shell:

The output indicates that the MySQL driver is deployed to a location in the GlassFish server.Log in to your CentOS server and su into the root user.Ĭhange your current directory to /opt where we will install Java.ĭownload the latest Java SE Development Kit 8 from You can view progress in the IDE’s Output window (Ctrl-4 ⌘-4 on Mac). In the IDE’s Projects window, choose Deploy from the right-click menu of the project node. If you do not see the driver JAR file, perform the following step.ĭeploy your project to the server. Because you should have already deployed the IFPWAFCAD project to the server, you should see the mysql-connector-java-5.1.6-bin.jar file. On your computer, navigate to the GlassFish server installation directory and drill into the domains > domain1 > lib subfolder. As shown in the image above, the driver JAR file should be located within domain1, which is the default domain created upon installing the GlassFish server.

Each instance runs applications in a unique domain, and the Domain Name field indicates the name of the domain your server is using. When you connect to the GlassFish server in the IDE, you are actually connecting to an instance of the application server. Before you close the Servers manager, make a note of the path indicated in the Domains folder text field.
