Java tutorial for beginners
CSE Basics

Best Java language For Beginners (A complete Book in Easy Language)

Hello Friends, Today I am Here with you guys to share my Knowledge on Java Language for beginners Student, Who wants to Learn Java in Easy Language. As we know that Java Plays a very vital Role in Programming and Development of Software, Web Designing, Gaming, Application Development and many more Things.

So, Friend’s In This Java Language for beginners Series,  I will Give To you guys a Continuous Tutorial on it, and I will Clarify everything about Java, and it’s Programming with Every Basic and Important Knowledge. Through Which you will get your knowledge up to a Higher LeveL. Let’s Start and Enjoy…

 

1. What is Java Language ?

Java Language is a general purpose object-oriented programming language. It was developed by sun microsystem of US in 1991.It was designed for the development of software for consumer ,electronic devices such as T.V,V.C.R etc. It has web oriented features and is very popular among the web designers. It is suitable for web paging and internet. Program developed in java can be executed on any system(Linux, dos, windows).

 

2.Overview of JVM, Java Language Platform

While discussing  java ,it is important to differ between the java programming language, the (JVM)Java Virtual Machine and the Java Platform. The Java language is the language in which the  Java Applications(including  Applets,  Servlets and JavaBeans ) are  written. The JVM is the heart of  the entire java program execution process. It is a responsible for extension with (.class file) converting each  byte code  into a machine language instruction by microprocessor. Fig 1.1 shows the process:

Java Language for beginners

Java Language For Beginners

 

Activities of JVM(Java virtual machine):Fig-1.1

1.Firstly a  Java program is converted into .class file consist of byte code by java compiler.

2.Now the extension with class( .class file) is given to J.V.M by module or program which is inside the J.V.M .

3.It loads the .class file into the memory.

4.Then,It verifies the all byte code instruction is proper or not. If it finds any instructions suscipious then execution rejected immediately.

5.If the byte code instruction are proper then allocates the necessary memory for execution of the program.

Key Points of JVM:

1.The JVM can be directly implemented in hardware.

2.Implementation normally in form of a software program that executes the byte codes.

JAVA Platform:

The java Language platform is separated from both the java language and J.V.M. The java platform is predefined group of java classes that exist on java installation. These classes react as a approach for all the programs. Sometimes the java platform  related to as JRE(java runtime environment).

 

3.Features of Java Language:

Different features of java as follows:

1.Platform independent

2.Object-oriented programming language

3.Robust & secure

4.Reliable & Portable

5.Multithreading

6.Extensible Language

7.Data binding

8.Simple & familiar language

9.Distributed computing

10.Interactive

11.High Performance

 

4.Java Language Byte-Code:

Java Language source code files(.java files with new.java) are compiled into a format called byte-code files with  . class extension( file name will be based on class name) which can be then executed by a java interpreter. Compiled java code run on most computers because java interpreter and runtime environment known as JVM.

5.Different editions of JAVA Language:

Different editions of java are required to full-fill the needs of user. Users of one Application will have different requirements from users of another.

The Java platform editions contain additional API’s for creating different types of Applications:

.Java Standard Edition(J2SE)

It is used for developing the desktop Applications and Applets. These Applications typically serve only a small number of user’s.

. Java Enterprise Edition(J2EE)

It is used for complex Applications to suit medium to large Business, typically server-based Applications focus on serving the needs of lots user at one time.

.Java Micro Edition(J2ME)

It is used for Applications used on tablet, mobile and embedded device(e. g  ,set of box, TV tuners, printers).

 

 6. How to install jdk(java development kit)

Installation of Java (jdk 8.0)kit:

The following step you should  followed for installation

1.First download the setup.

2.Install the setup you  have.

How to install the Java Setup-engineeringprayog.com

3.Double click on Application you have.

4.Click Yes .

5.There will be appear a new window.

6.Click on next.

7.A new window will be opened.

8.Again, click on next.

9.You have to wait until the installation status is 100%.

Introduction to java programming best tutorials for beginners-engineeringprayog.com

10.click next to go ahead for complete installation.

 

11.A new window will be appeared. Don’t close the window until the installation is n’ t completed.

Introduction of java technology-engineeringprayog.com

12.After successful installation, a new  window will be appeared.

What is Java-engineeringprayog.com

 

7.How to setup the classpath or setting of path ?

For setting the classpath you have to follow the given steps:

1.First install the jdk in your system.

2.Select and copy the jdk path from your system, as shown in the figure belows:

How to setup the classpath or setting of path-engineeringprayog.com

3.Right click on My Computer       Select  properties as shown in figure below.

how to setup the class path on java-engineeringprayog.com

 

4.click on advance system setting list from control panel home dialog box to open the system Properties dialog box as shown in the figure below.

java programming-engineeringprayog.com

5.Select Environment variable button from advanced tab in system properties dialog box.

6.Click Edit button from system variables to open the Edit System Variable dialog box, as shown in figure below.

7.Paste the path in the variable value dialog box , as shown in the figure below.

Java programming-engineeringprayog.com

8.Click OK all dialog boxes to setting the class path.

Now the path has been set on the operating system. Now we can compile and execute the program.

 

 

 

So, Friends, I hope you understand this Tutorial very well. In upcoming Tutorial. Here if you want to suggest me that what I should write in upcoming Tutorial, then please leave your comments. And if u need any help or query, please don’t hesitate to discuss with me. Thank You  🙂

(Visited 179 times, 1 visits today)

This is Enamul Hassan, an Electrical and Electronics Engineer. I love discovering new things. I share my knowledge in this blog.

Leave a Reply

Your email address will not be published. Required fields are marked *