Java saple