Running an Experiment
From KubovyLab
Development Setup: Libs | IDE | Source | Execution
[edit]
Running Java Experiments
- Navagate to the top level package containing the class with the main method you want to execute. This is usually in the class with the name of the experiment with a Main.java prefix.
- Select this "Main" file, right/ctrl click to bring up the context menu. Select Run As→Java Application.
- Note the tool bar button with the "Play" icon. This will run the last file you invoked. Read the Eclipse help documentation for more details.
[edit]
Running Python Experiments
Running an experiment is a simple matter of executing the main script associated with the program. The current structure of the source code (which may change) is such that each experiment has a "main" script in the top level directory, and references support scripts within subdirectories.
- Make sure you have selected a Python interpreter to use when running a Python script.
- Also, make sure you have the Java perspective open.
- Right (or ctrl) click on the file DotLatticeMain.py in the navigator, and select the menu Run As→Python Run.
- The setup screen for the dot lattice experiment should appear.
Note that once a script has been run once via the Python Run menu, it becomes available via the
button. Clicking the arrow next to it displays a list of other previously run scripts.
![]()
Development Setup: Libs | IDE | Source | Execution

