Simple java console