Added first class on javasample