Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Tree [2ebae6] master /
History



File Date Author Commit
cmake 2010-04-08 Eric Ramat Eric Ramat [a218ae] Move source files to src directory and add example
examples 2010-09-17 Gauthier Quesnel Gauthier Quesnel [0f5813] Update source code
src 2011-05-12 Gauthier Quesnel Gauthier Quesnel [2dd0e9] Update library building with latest CMake script
AUTHORS 2010-09-15 Gauthier Quesnel Gauthier Quesnel [b8069e] update AUTHORS
CMakeCPack.cmake 2011-03-11 Gauthier Quesnel Gauthier Quesnel [c8dfc8] cpack: fix the default rpm and deb package name
CMakeLists.txt 2011-05-12 Gauthier Quesnel Gauthier Quesnel [2ebae6] Fix typo in main CMakeLists.txt script
COPYING 2010-04-02 Eric Ramat Eric Ramat [3a485e] Initial commit
ChangeLog 2011-03-11 Gauthier Quesnel Gauthier Quesnel [c3c23e] jvle-1.0.0-alpha4
NEWS 2010-04-02 Eric Ramat Eric Ramat [3a485e] Initial commit
README 2010-09-28 Gauthier Quesnel Gauthier Quesnel [fed4be] Update the README with command to build example

Read Me

Virtual Laboratory Environment: Java binding
============================================

See AUTHORS and COPYRIGHT for the list of contributors.

VLE is an operational framework for multi-modeling, simulation and analysis of
complex dynamical systems. It addresses the reliability issue by using recent
developments in the theory of modeling and simulation proposed by B. Zeigler
with the Discrete Event System Specification formalism (DEVS).


Requirements
------------

vle             0.8.0 http://www.vle-project.org
boost           1.35  http://www.boost.org
cmake           2.6.0 http://www.cmake.org
java		1.5   http://www.sun.com/java/

Getting the code
----------------

The source tree is currently hosted on Sourceforge. To view the repository
online :
    http://vle.git.sourceforge.net/git/gitweb.cgi?p=vle/jvle

The URL to clone it:
    git://vle.git.sourceforge.net/gitroot/vle/jvle

Reporting bug
-------------

Please, report bugs into the VLE sourceforge trackers :
    http://sourceforge.net/tracker/?group_id=94199&atid=1326572


Translations
------------

If you want to translate jVLE, please contact the VLE development team:
    vle-users@lists.sourceforge.net

Mailing lists
-------------


There is three mailing lists for VLE. More info here:
    http://sourceforge.net/mail/?group_id=94199

    * vle-tracker: all commit and tracker information.
    * vle-users: users and developper list.
    * vle-news: to keep news on vle, (release, etc.).


License
-------

This software in GPLv3 or later. See the file COPYING. Some files are under a
different license. Check the headers for the copyright info.


Installation
------------


The following commands configure, build and install VLE into your account:

$ tar zxf jvle-0.9.0.tar.gz
or
$ git clone git://vle.git.sourceforge.net/gitroot/vle/jvle

1. Installation in the distribution directory

    $ cd jvle
    $ mkdir build
    $ cd build
    $ cmake -DCMAKE_INSTALL_PREFIX=/usr
            -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
    $ make
    $ make install

    If jVLE fails to detect Java or include jni.h, try to declare the JAVA_HOME
    variable for your operating system and try. The variable needs to define
    the global JRE directory:

    $ export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.20
    $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jvm/java-6-sun-1.6.0.20
    $ CLASSPATH=/pub/usr/lib/vle-0.8.0/jvle/Vle.jar
    $ javac examples.java
    $ java example

    In JAVA_HOME, we need include/jni.h, include/linux/ or include/win32 etc.

2. Installation in $HOME directory:

    If you want to install jVLE into your $HOME (or any other directory)
    directory, you need to add an environment variable CLASSPATH into your
    shell. For instance for bash, add the following line.

    CLASSPATH=$HOME/usr/lib

    $ cd jvle
    $ mkdir build
    $ cd build
    $ cmake -DCMAKE_INSTALL_PREFIX=$HOME/usr
            -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
    $ make
    $ make install

    If jVLE fails to detect Java or include jni.h, try to declare the JAVA_HOME
    variable for your operating system and try. The variable needs to define
    the global JRE directory:

    $ export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/i386/xawt/
    $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jvm/java-6-sun-1.6.0.20
    $ CLASSPATH=/pub/usr/lib/vle-0.8.0/jvle/Vle.jar
    $ javac examples.java
    $ java example

    In JAVA_HOME, we need include/jni.h, include/linux/ or include/win32 etc.