What is Java?

I played with making Java applets for a couple summers in college. I liked how I could render shapes on the Canvas element, and I often fantasized about making games, but stopped short at just making circles fly around, gravitate, collide, etc. Java looks like this:

public class PE1 {
    public static void main(String[] args) {
        int sum = 0;
        for (int i = 1; i < 1000; i++)
            if (i % 3 == 0 || i % 5 == 0)
                sum += i;

I never worked with Java professionally, but I'm still comfortable enough to make changes in Java programs and occasionally code a console app using javac on the commandline if my options are limited and I don't want to deal with C/C++ style strings.

Note: Java and JavaScript ("JS") are not the same thing. They're pretty dissimilar, in fact!