made a runnable app for java