Posts

Java Installation

 Java Installation Download JDK from the Oracle Site.        - oracle.com technetwork/java/javase/downloads/index.html Set Environment Variables for your system.           - JAVA_HOME           - CLASSPATH           - PATH Enviroment Variables used by JVM : JAVA_HOME             - Represents the Java Installation directory.             - This environment variable is used to derive all other environment variables used by JVM.             - Setting JAVA_ HOME  In Windows : set JAVA_HOME=C:\JDK_Install_Directory     In UNIX : export JAVA_HOME=/var/usr/java          PATH         - Path Variable is used by OS to locate executable files.                - Setting PATH In Windows : setPATH=%PATH%;%J...

Java and Its Introduction

 Java and Its Introduction Java : Java is a general - purpose, high level programming language developed by Sun Microsystems. Java was designed to be small , simple and portable across all platforms and operating systems. It is a popular platform to develop enterprise applications. Features of Java: It is Object Oriented Programming language. Simpler language. Robust (Easy Memory Management) Architecture Portable  (Can run on any Platform. Secure  Support of Multithreading at language level. Designed to handle Distributed applications. Platform Independence: Java is a platform independent language. "write once run everywhere" Platform is possible due to Java Virtual Machine or JVM. Java Architecture: Source File (HelloWorld.java)                      ⬇          Compiler (javac)                      ⬇ Bytecode (HelloWorld.class) now it ente...