Java port of the application