Java is an object oriented and platform independent programming language, various edition of Java are available, allows developing apps for tiny devices (like mobile and smart card) to enterprise level web services and apps.
J2SE is standard edition for developing desktop apps, J2ME is Mobile Edition for Mobile and smart card applications and J2EE is an enterprise edition for Web application and web services.