Java is a plateform independent language. You can run your class file on any operating system. Class file contains binary code of your java code which is generated by java compiler. JVM (Java Virtual Machine) is used for understand your byte code. JVM works like intermediate between your byte code and your operating system. Because of JVM, Java having plateform independent feature. For three type of develapment Sun Micro System provided three different type of JDK(Java Development Kit) 1) J2SE (JAVA 2 STANDARD EDITION) for Standlone(Desktop) application.
2) J2EE (JAVA 2 ENTERPRIZE EDITION) for Web application.
3)J2ME (JAVA 2 MOBILE EDITION) for Mobile application.