String first = "Hello World!";
System.out.println(first);
Hello World!

Jupyter Notebook seems to be working fine for Java

String second = "Hey, I'm Dylan";
System.out.println(second);
Hey, I'm Dylan