Basic Java version up

Runs only through console (testing under Eclipse environment)