Blog is under construction. Blog is under construction.

Me on Flickr

Monday, 30 July 2012

Difference between JRE, JVM and JDK?

Difference between JRE, JVM and JDK: JRE, JVM and JDK are three terms you often heard in conjunction with Java programming language and most people either confuse between them or think they all are same. In this java article we will what is Java Run-time (JRE), what is Java virtual Machine (JVM) and what is Java development Kit (JDK) along withJust in Time compiler or JIT. Once you know what JRE, JVM or JDK means you can differentiate them easily by yourselfJRE JVM and JDK in Java Programming...

How the Java Virtual Machine (JVM) Works?

How the Java Virtual Machine (JVM) Works? The Java virtual machine is called "virtual" because it is an abstract computer defined by a specification. To run a Java program, you need a concrete implementation of the abstract specification. This chapter describes primarily the abstract specification of the Java virtual machine. To illustrate the abstract definition of certain features, however, this chapter also discusses various ways in which those...

How to write a simple Java Program?

Java HelloWorld Program In this page, you will learn how to write a Java programhello world java program :- Java code to print "Hello World".Open Notepad and type as below:Java source codepublic class HelloWorld { public static void main(String args[]) { System.out.println("Hello World"); } } Save this file as HelloWorld.javaTo compile: javac HelloWorld.java To execute: java HelloWorld Output:Hello World What happens...

How to Set Path and Classpath for Java on Unix, Linux and Windows?

How to Set Path and Classpath for Java on Unix, Linux and Windows? PATH is one of fundamental Environment variable on shell or DOS but it’s commonly associated with Java mainly because if we try to run a java program which doesn't include Java executable in PATH then we say PATH is not set for Java and we need to set path for Java. I have also seen developer getting confused over path and classpath in java. Though...

Friday, 13 July 2012

Installing JDK on Windows

Installing JDK on Windows If you want to write and run a program the you will need a development kit. This compiles your source code and run the app. In Java, the tool is called Java Development KIT (JDK). This KIT contains the tools for compiling, running, packaging and etc. What should know before get into details: Difference between JRE and JDK?If you want to write and run a program then...
Related Posts Plugin for WordPress, Blogger...