What is Java?

By: Emiley J.  

A search on 'What is Java' in google returns roughly about a billipon pages. That is the popularity of Java on the web. If you haven't read the history of Java please read it first here. Java was just meant to be a portable, platform independent programming language. But over the years it has transformed into a complex platform for computing portable software across different devices and systems.

What is the need for Java?

When there were so many programming languages already available what was the need for another programming language.

To understand this let us take an example of a program that runs on a SONY TV remote control. This program can  be written using a language (let us assume) called X. The remote control has an in-built chip on which this program will run. If we look at the functionality of a TV remote it is almost the same for any brand of TV. So by right the same program should be used on any brand of TV remote. 

In reality it is not. Why? Because the in-built chip in different brand of TV Remotes maybe different. Therefore the same program has to run these two different chips, they have to be re-compiled in order to suit different chips in other words platforms. If there are 100 different brands, the same program has to be re-compiled 100 times to suit these 100 different brands. This is where the problem arises. That is why a new programming language was needed. And Java was the answer. 

How does Java solve this problem?

The Java designers came out with a wonderful concept of a 'Java Virtual Machine'. Now Java differs from rest of the languages in using this unique concept. Which means unlike other languages a Java program when compiled produces a ByteCode rather than machine code. This ByteCode is machine independant (platform independant). The Java Virtual Machine resides on the machine and interprets this ByteCode into a form the machine can understand. 

Now take the same example of a TV remote. If the program was developed using Java rather than X, then the same program can be used in all different brand of TV Remotes provided all of them have the 'Java Virtual Machine' (JVM) installed on them. If all of them have the JVM the JVM will convert this same program into a form that each brand of TV remote understands. This is a very simple but effective method of making a program portable. This is how Java solves this problem.

Now that we understand what is Java, move on to the Java getting started guide




Archived Comments

1. Ernestjap
View Tutorial          By: Ernestjap at 2017-09-20 18:22:55

2. ArgurseAnaete
View Tutorial          By: ArgurseAnaete at 2017-09-17 22:40:11

3. CarolTib
View Tutorial          By: CarolTib at 2017-09-16 00:36:14

4. laurazt60
View Tutorial          By: danalx18 at 2017-09-14 09:03:01

5. clydecc2
View Tutorial          By: josefauq16 at 2017-09-13 17:32:11

6. DarialVoria
View Tutorial          By: DarialVoria at 2017-09-12 16:21:43

7. MikeHaupt
View Tutorial          By: MikeHaupt at 2017-09-07 16:49:21

8. zenolmartin
View Tutorial          By: zenolmartin at 2017-09-04 23:22:10

9. RaymondRof
View Tutorial          By: RaymondRof at 2017-09-03 02:33:38

10. GaangsPi
View Tutorial          By: GaangsPi at 2017-09-01 20:52:14

11. robinmj18
View Tutorial          By: darcyxi60 at 2017-09-01 16:08:26

12. Timrrhyweaph
View Tutorial          By: Timrrhyweaph at 2017-09-01 10:58:07

13. toniavj69
View Tutorial          By: kristizi4 at 2017-08-31 03:50:31

14. irmaom1
View Tutorial          By: lizfm18 at 2017-08-29 19:15:39

15. Spusyronald
View Tutorial          By: Spusyronald at 2017-08-29 09:21:36

16. Jerryeasek
View Tutorial          By: Jerryeasek at 2017-08-17 06:02:11

17. DilPn
View Tutorial          By: DilPn at 2017-08-14 03:24:29

18. MikeHaupt
View Tutorial          By: MikeHaupt at 2017-08-13 16:36:07

19. rosemarykt3
View Tutorial          By: glennalp4 at 2017-08-12 06:59:57

20. Edythutink
View Tutorial          By: Edythutink at 2017-08-09 18:40:43

21. RuslanVab
View Tutorial          By: RuslanVab at 2017-08-09 18:23:21

22. PhilipHaump
View Tutorial          By: PhilipHaump at 2017-08-09 13:08:48

23. RuslanMOUCT
View Tutorial          By: RuslanMOUCT at 2017-08-09 06:55:55

24. Consultant SEO
View Tutorial          By: Consultant SEO at 2017-08-09 05:40:45

25. EcoFermer
View Tutorial          By: EcoFermer at 2017-08-05 22:50:55

26. Jennytef
View Tutorial          By: Jennytef at 2017-08-05 01:21:04

27. CharlesTig
View Tutorial          By: CharlesTig at 2017-08-04 21:27:06

28. CharlesTig
View Tutorial          By: CharlesTig at 2017-08-04 20:46:40

29. Michaelrok
View Tutorial          By: Michaelrok at 2017-08-04 13:37:20

30. Michaelrok
View Tutorial          By: Michaelrok at 2017-08-04 11:27:08

31. CharlesTig
View Tutorial          By: CharlesTig at 2017-08-04 10:06:37

32. Michaelrok
View Tutorial          By: Michaelrok at 2017-08-04 01:00:46

33. XRumerTest
View Tutorial          By: XRumerTest at 2017-08-02 05:11:17

34. HelenLal
View Tutorial          By: HelenLal at 2017-08-01 00:17:30

35. CharlesTig
View Tutorial          By: CharlesTig at 2017-07-30 14:11:02

36. maricelaeg16
View Tutorial          By: maryannxv60 at 2017-07-29 08:52:33

37. I couldn't refrain from commenting. Exceptionally wll written!

my blog :: [url=http:/

View Tutorial          By: IT Office Help at 2017-07-28 06:39:23

38. HelenLal
View Tutorial          By: HelenLal at 2017-07-27 01:32:40

39. ThommoK
View Tutorial          By: ThommoK at 2017-07-24 13:30:42

40. Guestchoob
View Tutorial          By: Guestchoob at 2017-07-22 19:52:43

41. Scottfocot
View Tutorial          By: Scottfocot at 2017-07-21 20:42:34

42. EcoFermer
View Tutorial          By: EcoFermer at 2017-07-20 17:20:36

43. Muz_DJ
View Tutorial          By: Muz_DJ at 2017-07-20 14:34:39

44. Geraldcycle
View Tutorial          By: Geraldcycle at 2017-07-20 04:56:56

45. RobImapy
View Tutorial          By: RobImapy at 2017-07-18 18:58:49

46. TracyDus
View Tutorial          By: TracyDus at 2017-07-17 17:53:27

47. Aarongon
View Tutorial          By: Aarongon at 2017-07-17 08:50:56

48. StepanMOUCT
View Tutorial          By: StepanMOUCT at 2017-07-13 14:06:39

49. It's really very complex in this busy life Natural Waays To Improve Yoour Sexual Stamina Endurance <
View Tutorial          By: Wolfgang at 2017-07-09 22:57:52

50. Wow, incredible blog structure! How long have you ever
been blogging for? you make rujning a

View Tutorial          By: Alberto at 2017-07-09 19:21:39

51. Just wanna remark on few general things, The website pattern is
perfect, the content materia

View Tutorial          By: DermageniQ at 2017-07-09 18:44:11

52. You got a very great website, Sword lily I found it through yahoo.


Here is my

View Tutorial          By: DermaPromedics at 2017-07-09 17:00:25

53. whoah this weblog is great i love studying your articles.
Keep up the good work! You know, lo

View Tutorial          By: ed sheeran tour at 2017-07-09 07:00:53

54. LonnieAttaw
View Tutorial          By: LonnieAttaw at 2017-07-08 22:11:57

55. Ferminjoume
View Tutorial          By: Ferminjoume at 2017-07-08 09:21:23

56. melodyws11
View Tutorial          By: dellalb60 at 2017-07-06 21:56:22

57. kuzovpartsCax
View Tutorial          By: kuzovpartsCax at 2017-07-04 06:56:47

58. Duanebiz
View Tutorial          By: Duanebiz at 2017-07-02 15:04:30

59. JessyBon
View Tutorial          By: JessyBon at 2017-06-30 16:45:48

60. whitneyqw4
View Tutorial          By: bradpn2 at 2017-06-30 08:12:12

61. KonstantinCom
View Tutorial          By: KonstantinCom at 2017-06-29 10:46:41

62. velmahj69
View Tutorial          By: mirandaeh11 at 2017-06-27 12:50:20

63. IssacCes
View Tutorial          By: IssacCes at 2017-06-26 22:46:21

64. This is really fascinating, You're a very professional blogger.
I have joined your rss feed a

View Tutorial          By: True Brilliance Ingredients at 2017-06-25 00:49:32

65. christopherve18
View Tutorial          By: kerryzs11 at 2017-06-24 16:36:25

66. matthewec1
View Tutorial          By: nancysw60 at 2017-06-24 08:12:47

67. I see your website needs some fresh posts. Writing manually takes a lot of time, but there is

View Tutorial          By: NidaX at 2017-06-24 01:14:04

68. RichardCemo
View Tutorial          By: RichardCemo at 2017-06-20 06:21:08

69. esperanzada11
View Tutorial          By: kathiepr18 at 2017-06-20 04:10:29

70. CurtisQuef
View Tutorial          By: CurtisQuef at 2017-06-19 22:56:00

71. CharlesRib
View Tutorial          By: CharlesRib at 2017-06-18 13:48:05

72. ElollaRaf
View Tutorial          By: ElollaRaf at 2017-06-17 11:36:09

73. ManuelAdern
View Tutorial          By: ManuelAdern at 2017-06-15 22:22:14

74. JohnnieApalp
View Tutorial          By: JohnnieApalp at 2017-06-15 02:42:05

75. AlinaFousY
View Tutorial          By: AlinaFousY at 2017-06-12 23:48:00

76. EdwardCrova
View Tutorial          By: EdwardCrova at 2017-06-12 22:54:35

77. SerbRink
View Tutorial          By: SerbRink at 2017-06-12 16:30:03

78. It's going to be finish of mine day, but before finish I am reading this impressive post to increase
View Tutorial          By: FIFA55 at 2017-06-09 13:28:21

79. DmiyriylStuck
View Tutorial          By: DmiyriylStuck at 2017-06-06 16:39:43

80. TimothCoaxy
View Tutorial          By: TimothCoaxy at 2017-06-04 16:51:02

81. Stewarthealf
View Tutorial          By: Stewarthealf at 2017-06-03 16:00:24

82. PetrMOUCT
View Tutorial          By: PetrMOUCT at 2017-06-03 15:29:59

83. Roberthaste
View Tutorial          By: Roberthaste at 2017-06-02 22:55:40

84. RafaelTriaw
View Tutorial          By: RafaelTriaw at 2017-06-02 06:08:42

85. Williamped
View Tutorial          By: Williamped at 2017-06-01 08:37:42

86. PetrMOUCT
View Tutorial          By: PetrMOUCT at 2017-06-01 00:43:24

87. Stewarthealf
View Tutorial          By: Stewarthealf at 2017-05-31 16:29:42

88. FreddieVet
View Tutorial          By: FreddieVet at 2017-05-28 03:58:14

89. AlyarCah
View Tutorial          By: AlyarCah at 2017-05-25 03:19:56

90. Excactuam
View Tutorial          By: Excactuam at 2017-05-19 14:13:12

91. Liluunagex
View Tutorial          By: Liluunagex at 2017-05-19 06:34:29

92. TimothyBox
View Tutorial          By: TimothyBox at 2017-05-15 22:12:14

93. This text is invaluable. When can I find out more?
View Tutorial          By: thehall.net at 2017-05-13 09:26:25

94. Amoxicillin500mgcapsulesforhumansHauri
View Tutorial          By: Amoxicillin500mgcapsulesforhumansHauri at 2017-05-13 06:25:02

95. Josephfulge
View Tutorial          By: Josephfulge at 2017-05-13 04:20:31

96. avtosvitCax
View Tutorial          By: avtosvitCax at 2017-05-12 14:55:25

97. MigelWEnibe
View Tutorial          By: MigelWEnibe at 2017-05-11 00:38:30

98. Patrickrab
View Tutorial          By: Patrickrab at 2017-05-10 23:12:17

99. Jimmytok
View Tutorial          By: Louistok at 2017-05-10 14:14:09

100. Phillipfilky
View Tutorial          By: Phillipfilky at 2017-05-10 04:16:16

101. Stevenboado
View Tutorial          By: Stevenboado at 2017-05-09 09:01:21

102. Michaelrok
View Tutorial          By: Michaelrok at 2017-05-08 10:09:15

103. Michaelrok
View Tutorial          By: Michaelrok at 2017-05-08 10:00:11

104. Roberthaste
View Tutorial          By: Roberthaste at 2017-05-08 01:44:12

105. Mariannaned
View Tutorial          By: Mariannaned at 2017-05-08 00:39:40

106. Masalligan
View Tutorial          By: Masalligan at 2017-05-05 23:37:25

107. uhexfsh
View Tutorial          By: uhexvxw at 2017-05-05 05:42:24

108. MaveriKnibe
View Tutorial          By: MaveriKnibe at 2017-05-03 11:55:18

109. Erago
View Tutorial          By: Erago at 2017-05-02 20:31:55

110. BramGep
View Tutorial          By: BramGep at 2017-05-01 01:47:26

111. Alisaavaph
View Tutorial          By: Alisaavaph at 2017-04-27 04:14:14

112. Guestchoob
View Tutorial          By: Guestchoob at 2017-01-29 12:09:03

113. HarryRer
View Tutorial          By: HarryRer at 2017-01-17 12:56:18

114. Nice article. wonderfully explain.Thanks for sharing
I read some java topics on this link
View Tutorial          By: Arshi at 2016-09-20 07:04:59

115. awesome examples...i m a beginner and through this example...i can understand abot JAVA easily.
View Tutorial          By: Kumar Sagar at 2016-05-26 08:13:55

116. Hi, Neat post. There's a problem with your website in internet explorer, would test this IE still is
View Tutorial          By: Smithk795 at 2014-10-12 10:31:09

117. This kind of game gives a real experience of building a farm and planting kkcaedegdabkfkkc
View Tutorial          By: Smithd806 at 2014-07-04 07:39:45

118. sir, i want to learn java please help me.
View Tutorial          By: nitin mittal at 2013-12-23 10:04:11

119. sach a lovely exmpl for bgnrs thanks
View Tutorial          By: aaditya at 2013-01-13 08:05:03

120. Can you tught me matrix function and friend function in c++...because my basic of in opps very low..
View Tutorial          By: Shiv pratap singh at 2013-01-12 06:46:46

121. it is very useful to others............,thanx
View Tutorial          By: jey at 2012-01-06 08:53:22

122. awesome concept. thanks...
View Tutorial          By: suhani at 2011-03-02 21:36:26

123. Basic Example to undestand java literal persons
Thanx !

View Tutorial          By: Sajid mestri (maha,sangli) at 2010-10-30 00:44:44

124. a v gud example,great,
View Tutorial          By: rifaq at 2010-10-22 03:42:03

125. thanks for providing information in a simple language
View Tutorial          By: shailaja at 2010-09-01 03:50:41

126. really very excellent example....ThanQ...:)
View Tutorial          By: Tulasi at 2010-08-17 00:41:21

127. awesome...its very understandable one..thnq..:)
View Tutorial          By: sharan at 2010-02-08 10:58:17

128. Excellent Example...... To understand the concept to any beginner of the Language..........
View Tutorial          By: SUNNY at 2009-02-24 23:41:04


Most Viewed Articles (in Java )

Latest Articles (in Java)

Comment on this tutorial