(For more resources on Flash, see here.)
Unlike a deployment environment, it is common to have just once machine acting both as server and client in a development environment. The machine will have SmartFoxServer, web server, and database installed. In this case, there are no noticeable differences between using the embedded or third-party web server and database.
It is a good habit to simulate the deployment environment as much as possible in development stage. As we are going to use a third-party web server and database, we will set up a development environment that also uses the third-party server instead of the embedded web server and database in the third part of this article series.
The Java Development Kit includes the essential development tools (JDK) and the Java Runtime Environment (JRE). The development tool compiles the Java source code into byte codes and the JRE is the response to execute the byte codes. We will need several Java compilations in later chapters. SmartFoxServer is build on the Java environment and we need the JRE to start up the server. The JDK and JRE may be pre-installed in some OSs.
The steps for installing JDK on Windows are as follows:
The Mac OSX comes with its own set of Java environment. We can check the JDK and JRE version by following steps:
javac -version
The current version of SmartFoxServer at the time of writing recommends the version 1.6. If the Java is not updated, we can update it via Apple Menu | Software Update.
The software update will check for any updates for your existing Mac software, including the Java environment.
We can use the general method to download and install the JDK or use the system specific method to install the package. We will show the general method and the Ubuntu method.
cd ~/Downloads/
chmod a+x jdk-6u20-linux-i586.bin
./jdk-6u20-linux-i586.bin
Ubuntu users can install the JDK via the apt-get command.
apt-cache search --names-only sun-java.*-jdk
sun-java6-jdk - Sun Java(TM) Development Kit (JDK) 6
sudo apt-get install sun-java6-jdk
I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…
Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…
Once we learn how to deploy an Ubuntu server, how to manage users, and how…
Key-takeaways: Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…
While developing a web application, or setting dynamic pages and meta tags we need to deal with…
Software architecture is one of the most discussed topics in the software industry today, and…