jMarkets v2 Installation Guide
System Requirements
jMarkets has been used successfully on many platforms, including Linux, Windows 2000/XP, and MacOS X v10.4 (Tiger).
Getting Requirements
Get jMarkets: The latest stable version of jMarkets 2, packaged in WAR (web archive) file, is available from the download page, along with the source edition and previous jMarkets releases. The simplest method is to download the binary jMarkets.zip. Unzip this file into a directory.
Download JDK: Download and install JDK 6 (Java 1.6). The Java Runtime (JRE) plugin must be installed for browsers to access jMarkets clients and servers.
Download Tomcat: Download and install Tomcat 6.x. Tomcat is a Java Servlet that hosts the jMarkets site.
Download MySQL: Download and install MySQL Community Server version 5.0. If using Windows, be sure to check the "install PATH" option during the installation process.
Set up MySQL: In the command prompt, move to the sql directory within your jMarkets2 folder. Then to enter the MySQL shell, type:
mysql -uroot -p
Enter the password you set up earlier in the MySQL installation process. Create the database by typing:
create database jMarkets2;
Create the database user by typing:
grant all privileges on jmarkets2.* to jmarkets2@localhost identified by 'banana'; flush privileges;
Next, load the database schema with:
use jMarkets2; source jMarkets2.sql;
Finally, load initial users. init.sql can be easily modified to change the usernames and passwords.
use jMarkets2; source init.sql;
Running jMarkets2
If you are building from source, use Ant to generate the WAR file:
ant dist //WAR file will be put in dist directory
Copy the jMarkets2 WAR file (found in the dist folder) in the webapps directory under your Tomcat installation.
Run the Tomcat service. The jMarkets test site should be at http://localhost:8080/jMarkets2 and the experimenter (admin) site should be at http://localhost:8080/jMarkets2/ExpLogin
