To start with: javascript isn't java. A totally different language and learning it doens't learn you anything about java.

JSP (Java Server pages) is build upon Java. But you need a JSP-enable webserver to interpret it (like you need a PHP-enable webserver to interpret PHP-files).

J2EE is the extended edition, offering far more then J2SE (the standard edition), also primarily used to build webbased corporate applications.

To start learning Java, I would start learning Java (J2SE). That's difficult enough, both the concept and the details of the language.

Kees