olzshed.blogg.se

Chess game source code in java
Chess game source code in java




chess game source code in java

Tomcat its time of test our server. Open your browser in the URL and you should see the following page.

chess game source code in java

Using CLASSPATH: /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar Go to the opt/tomcat/bin directory and execute the following command. Stop on runlevel  Stops the service on these run levelsĮnv JAVA_HOME=/opt/jdk1.8.0_77/jre/ Exports the Java home.Įnv CATALINA_HOME=/opt/tomcat Exports the tomcat home.Įxec $CATALINA_HOME/bin/catalina.sh run Runs the server.

chess game source code in java

Start on runlevel  Starts the service on these run levels The nf script is used by the operative system to start the Tomcat service at boot time. This script is used to start and stop the service when is needed. Update the permissions of the Tomcat server to use with the new user and group. Tomcat user sudo useradd -s /bin/false -g tomcat -d /opt/tomcat tomcat Sudo tar xvf apache-tomcat-8.0.33.tar.gz -C /opt/tomcat -strip-components=1Ĭreate a Tomcat group to use with the serverĬreate a Tomcat user to avoid use the root user with the Tomcat server We are going to extract the Tomcat server in the /opt directory. Sudo update-alternatives -set javac /opt/jdk1.8.0_77/bin/javacĪfter we update the alternatives, we are going to check the installation.Īnd you should get the output: 5 Java Version 7. Sudo update-alternatives -set java /opt/jdk1.8.0_77/bin/java Sudo update-alternatives -install "/usr/bin/javac" javac "/opt/jdk1.8.0_77/bin/javac" 1 Update alternatives sudo update-alternatives -install "/usr/bin/java" java "/opt/jdk1.8.0_77/bin/java" 1 Update the alternatives to make Ubuntu aware of the JDK installation. Install the JDKĬopy the JDK sudo cp /home/Downloads/jboadas/ /opt/Įxtract the file sudo tar xvf Go to the page Tomcat download and download the tomcat server. Go to the page JDK Download 1 JDK DownloadĪccept the end user Select the JDK to download: 2 Accept agreement 5.






Chess game source code in java