This section explains how to build
pure Java programs using psychWithJava package and comand line tools.
Make sure that you have
installed java and psychWithJava package and configured
your system.
Compiling
Running
import psychWithJava.*;
FullScreen fs = new FullScreen();
fs.setNBuffers(2);
I will show how to compile and run java programs from command line
with an example.
Download HelloPsychophysicist.java
and the auxilary image files
psychophysik.png and
fechner.png to your local disk.
javac HelloPsychophysicist.java
java HelloPsychophysicist