Let’s have a look at how memory management in Java works. We will be going to discuss how the objects get destroyed, working of a garbage collector, things that are managed by JVM (Java Virtual Machine). It is necessary for a programmer to understand the working of memory management toContinue Reading

1- Download JDK 2- Installing Java 3- Configure environment variable for Java 1- Download JDK https://www.oracle.com/java/technologies/javase-downloads.html You should check that the operating system is 32bit or 64bit, to download the appropriate JDK. Download Result: 2- Installing Java Enter the directory where the JDK will be installed, for example: C:\DevPrograms\Java\jdk1.8.0_45\ After JDK installed, the installerContinue Reading

JVM is a virtual runtime environment to execute Java byte codes. The JVM doesn’t understand the keywords we used to write code. That is why it is converted into bytecode. It controls the execution of the Java programs and enables features such as automated exception handling, Garbage Collection.  When weContinue Reading

We must understand the basic difference between the JDK, JRE, and JVM before diving deep into Java. JDK JRE JVM JDK stands for Java Development Kit. It provides development tools and execution environment.  JRE stands for Java Runtime Environment. It provides the set of tools only to execute our program.Continue Reading

JRE is an installation package that provides an environment to run the Java program on any Operating System. It does not deal with the development process of any application. It is a part of the Java Development Kit (JDK). It is a software distribution that has Java Class Library, specificContinue Reading

Java Development Kit (JDK) The Java Development Kit is a software development environment used to create Java applications. The JDK includes JRE (Java Runtime Environment), an interpreter (java), a compiler (javac), an archiver, a documentation generator, and other tools needed for java application development. Oracle Corporation is releasing the platformContinue Reading

A brief history of Java Java was started by James Gosling and his colleagues at Sun Microsystems in 1991. It was originally from the idea of programming to control without relying on CPU used for electronic devices such as TVs, washing machines, microwaves, etc. Therefore, they embarked on building a fast, compact, efficient, device-independent language. Eventually, the “Oak” language wasContinue Reading

Java Introduction Java is a programming language that revolutionized the open community. Java is a lot. In just three lines Java is a : Programming language: Wiki says “Its a formal computer language designed to communicate instructions to a computer” Computing platform: A platform where software applications can run Technology: ItContinue Reading