Masters of Java (MoJ) :  A simple environment to do programming contests.  
(C) 2004-2007 E.Hooijmeijer / 42 B.V. -  http://www.ctrl-alt-dev.nl
                                         http://www.2en40.nl
  
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

-----------------------------------------------------------------------------

This is the 1.2 release of Masters of Java on 5 Dec 2006 

Changes when compared to 1.1 are few, but do include :
- client: enum syntax highlighting and limited code completion.
- client: ctrl-s now saves your work (and alt-s as well :-)
- server: scheduling support for the online version (under development)
- server: socket ports can be configured with System properties.
  MOJ.SERVER.PORT (default 8080) for the server and 
  MOJ.WORKSPACESERVER.PORT (default 8081) for the workspace server.
- server: duration of an assignment is now flexible (max 60 minutes).
- some scoreboard fixes.
- some teameditor fixes.

-----------------------------------------------------------------------------

Quick play instructions : 

- Set the JAVA_HOME environment variable to the home directory of your
  Java SDK (1.5.0_09 or better). This is REQUIRED because it MoJ needs
  the tools.jar present in %JAVA_HOME%/lib/tools.jar for the compiler.
  If you want to run MoJ on 1.4.2 you need to recompile (Sorry).

- Open a command prompt and goto the server directory.

- Execute the start-case-local.bat with the name of the assignment of
  your choice. Example: start-case-local hanoiCase.jar

- There should be no stacktraces and a screen containing a clock should
  appear.

- In the client directory, double click on client.jar or use client.bat
  A client with a login screen should appear. Login using 'NLJUG' as 
  username and 'Welkom' as password. Note the password is case sensitive.
  You should now enter the wait screen.

- Goto the clock and press the space bar. The clock starts and the wait
  screen has dissapeared to make room for the description, testset and
  code.

- Try to finish the assignment before the clock runs out :-)

Have Fun !


Erik

-----------------------------------------------------------------------------

Quick Trouble Shooting list : 

#1 Server Fails with :

   SEVERE: Terminated with Exception.
   java.lang.ClassNotFoundException: com.sun.tools.javac.Main

   The tools.jar is not on the classpath. Make sure the it is either
   by setting the JAVA_HOME environment variable or adjusting the
   start_server.bat file.
 