Exporting a model as
Standalone Java Application
AnyLogic Professional allows to export your models as standalone Java applications and run them on
other computers without AnyLogic software.
Java applications can communicate with databases, external
files and other applications. This feature enables you to embed
simulation models into larger decision support systems.
export a model as Java application
- Select any item of the model in the Projects view and
>To standalone Java application from the
main menu, or
Right-click (Mac OS: Ctrl+click) the model in the Projects
top-level item of the model tree) and choose
Export >To standalone Java application from the
- This opens the Export
Model dialog box.
The model exported as Java application consists of the following files:
- Select the experiment, which settings you want to be
applied to the model, from the Experiment
to Export drop-down list.
- Specify a folder, where you want files of exported model to
be stored, in the Destination
folder box. You can browse for the destination folder
using the Browse
- If you want to browse to the exported model folder
completion, leave the check box Browse
exported model folder
- By default, toolbar buttons and other UI elements
standalone application will be named according to the locale
settings of your computer. If you, however, plan to share your
application with customers from other countries, choose other
language from the Language
- Click Finish.
You will see a message box informing you that the model was
(AnyLogic model exported as standalone Java application) does not
AnyLogic installed on the computer and can be run on any Java-enabled
machine (computer with JRE (Java Runtime Environment) 1.8.0 or later installed (download the latest JRE from the Sun website)).
name>.bat/.cmd/.sh file (the extension depends on
the OS) that
is used to run the standalone application;
- AnyLogic engine files (com.anylogic.engine.jar,
- library files (poi-3.6-20091214.jar,
- compiled model file model.jar,
and optionally .jar files and
classes required to build the model (listed in the model
run Simulation Application (AnyLogic model exported as standalone Java
- Launch the <model
generated for the exported model. The file might be located in
folder you have specified whlie exporting the model.
Having run the application, you will see the model
window. The model exported as standalone Java application is executed by
runtime version of the AnyLogic simulation engine - AnyLogic Engine Runtime. With the help of the About program
dialog box you can know the version of the AnyLogic Engine Runtime used
by the model as well as the Java version and architecture (32- or
64-bit) and also get access to the license agreement.The size of the window is defined in the properties of the exported
model, in AnyLogic IDE.