jdk sample