First java conversion test