<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Java%2FC2%2FGetting-started-Java-Installation%2FEnglish</id>
		<title>Java/C2/Getting-started-Java-Installation/English - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Java%2FC2%2FGetting-started-Java-Installation%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Java/C2/Getting-started-Java-Installation/English&amp;action=history"/>
		<updated>2026-05-19T15:31:21Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Java/C2/Getting-started-Java-Installation/English&amp;diff=13500&amp;oldid=prev</id>
		<title>Trupti: Created page with ''''Title of script''': Getting started with Java: Installation  '''Author: arya '''  '''Keywords: video tutorial,install'''    {| style=&quot;border-spacing:0;&quot; ! &lt;center&gt;Visual Cue&lt;/…'</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Java/C2/Getting-started-Java-Installation/English&amp;diff=13500&amp;oldid=prev"/>
				<updated>2014-07-10T12:01:40Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;&amp;#039;&amp;#039;&amp;#039;Title of script&amp;#039;&amp;#039;&amp;#039;: Getting started with Java: Installation  &amp;#039;&amp;#039;&amp;#039;Author: arya &amp;#039;&amp;#039;&amp;#039;  &amp;#039;&amp;#039;&amp;#039;Keywords: video tutorial,install&amp;#039;&amp;#039;&amp;#039;    {| style=&amp;quot;border-spacing:0;&amp;quot; ! &amp;lt;center&amp;gt;Visual Cue&amp;lt;/…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Title of script''': Getting started with Java: Installation&lt;br /&gt;
&lt;br /&gt;
'''Author: arya '''&lt;br /&gt;
&lt;br /&gt;
'''Keywords: video tutorial,install'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;&amp;quot;&lt;br /&gt;
! &amp;lt;center&amp;gt;Visual Cue&amp;lt;/center&amp;gt;&lt;br /&gt;
! &amp;lt;center&amp;gt;Narration&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 1&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Welcome to the Spoken Tutorial on Getting started with Java: Installation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 2&lt;br /&gt;
&lt;br /&gt;
Learning Objectives&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| In this tutorial we will learn&lt;br /&gt;
&lt;br /&gt;
* To install the JDK using Synaptic Package Manager.&lt;br /&gt;
* Why Java?&lt;br /&gt;
* Types and applications of Java.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 3&lt;br /&gt;
&lt;br /&gt;
System Requirements&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Here we are using &lt;br /&gt;
&lt;br /&gt;
* Ubuntu version 11.10 and &lt;br /&gt;
* Java Development Environment JDK 1.6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 3a&lt;br /&gt;
&lt;br /&gt;
Pre-requisites&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| To follow this tutorial you must be connected to the internet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You must have Synaptic Package Manager installed on your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You must also have knowledge of using '''Terminal''', '''Text Editor''' and '''Synaptic Package Manager''' in '''Linux'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not, please see the Spoken Tutorial on Linux, available at spoken-tutorial.org.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 4&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| To run a java program we need to install the '''JDK''', the '''Java Development Kit.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To learn more about''' JDK''' you could visit the following link:&lt;br /&gt;
&lt;br /&gt;
[http://docs.oracle.com/javase/6/docs/index.html http://docs.oracle.com/javase/6/docs/index.html]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 5&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Now we will install the '''JDK''' using '''Synaptic Package Manager.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this, you need to have root permissions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You also need to know how to choose a repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These are explained in the pre-requisite tutorial on Linux mentioned earlier.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Switch to Desktop&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''DashHome'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type''' Synaptic '''in the''' search box.'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Now, on the left corner of your '''Desktop''', you will find the '''Taskbar'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the top you will find '''DashHome'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''DashHome.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the search bar type '''Synaptic.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will find '''Synaptic Package Manager '''here'''.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Click '''on '''Synaptic Package Manager.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will be asked to type your password for '''Authentication'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So type your '''password''' and '''click '''on '''Authenticate'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Type '''jdk '''in the quick search box.&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| This opens the '''Synaptic Package Manager.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Now In the '''Quick Filter '''box type '''jdk'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We see a '''package''' named '''openjdk-6-jdk.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Right click '''on it and''' click '''on '''Mark for Installation'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then click on '''Apply'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Right click on '''openjdk-6-jdk'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click '''Mark for Installation'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''Apply'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
You will be asked to confirm the list of marked changes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So '''click''' on '''To be Installed '''and then '''click '''on '''Apply'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The installation will take a few seconds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, we see that the option '''openjdk-6-jdk''' is in green colour.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus our installation is complete.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, let us verify the installation, For this open the terminal by presing ''Ctrl, Alt and T keys simultaneously &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I already opened have my '''Terminal''' opened here.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the command prompt type '''java''' space hyphen '''version''' and press '''Enter'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We see that the '''version number''' of the '''jdk''' has been displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Depending on the version that you used your '''version number''' could be different.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, we have successfully installed the '''jdk'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Open the code in''' TextEditor.'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Now, let us run a simple Java program and see if it works.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I already have the following code saved in the file name '''TestProgram dot java'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me compile and run this code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This code simply displays '''We have successfully run a Java Program''' on the '''Terminal'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So let us go back to the''' Terminal'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remember that I have saved the file '''TestProgram''' ''dot'' '''java''' in the '''Home''' '''directory'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| And currently I am in the '''Home Directory.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| At the command prompt type '''javac''' ''space''' ''TestProgram''' ''dot'' '''java.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is to compile the code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Press '''Enter.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, let me run the code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So type '''java''' space '''TestProgram ''' and press '''Enter'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| We get the output as '''We have successfully run a java program.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, our installation has been perfect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, let us go back to the slides.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 6&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| I will now explain why Java is useful.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Java is simple.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Java is object oriented.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. It is platform independent.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. It is safe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Java has high performance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Java is multi – threaded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| '''Slide 7'''&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| We will now go through some types and applications of Java.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-'''JSP, or Java Server Pages: '''It is based on a code with normal HTML tags.&lt;br /&gt;
&lt;br /&gt;
JSP helps in creating dynamic web pages.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-'''Java Applets''': It is used to provide interactive features to web applications.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-'''J2EE or Java Enterprise Edition: '''Companies use J2EE.&lt;br /&gt;
&lt;br /&gt;
It is useful to transfer XML structured documents.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-'''JavaBeans''': JavaBeans is a reusable software component.&lt;br /&gt;
&lt;br /&gt;
It can be used to build new and advanced applications.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-'''Mobile Java''': It is used for various entertainment devices, such as mobile phone.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 8&lt;br /&gt;
&lt;br /&gt;
Summary&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| So in this tutorial we learnt &lt;br /&gt;
&lt;br /&gt;
* To install the JDK using Synaptic Package Manager.&lt;br /&gt;
* To compile and run a Java program.&lt;br /&gt;
* Benefits of using Java.&lt;br /&gt;
* Types and Applications of Java.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 9&lt;br /&gt;
&lt;br /&gt;
About Slide&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Watch the video available at [http://spoken-tutorial.org/What_is_a_Spoken_Tutorial http://spoken-][http://spoken-tutorial.org/What_is_a_Spoken_Tutorial tutorial.org/What_is_a_Spoken_Tutorial] &lt;br /&gt;
&lt;br /&gt;
* It summarises the Spoken Tutorial project &lt;br /&gt;
&lt;br /&gt;
* If you do not have good bandwidth, you can download and watch it &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 10&lt;br /&gt;
&lt;br /&gt;
About Slide &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| The Spoken Tutorial Project Team &lt;br /&gt;
&lt;br /&gt;
* Conducts workshops using spoken tutorials &lt;br /&gt;
&lt;br /&gt;
* Gives certificates for those who pass an online test &lt;br /&gt;
&lt;br /&gt;
* For more details, please write to contact@spoken-tutorial.org &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 11&lt;br /&gt;
&lt;br /&gt;
Acknowledgment&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| Spoken Tutorial Project is a part of the Talk to a Teacher project &lt;br /&gt;
&lt;br /&gt;
* It is supported by the National Mission on Education through ICT, MHRD, Government of India &lt;br /&gt;
* More information on this Mission is available at &lt;br /&gt;
* [http://spoken-tutorial.org/NMEICT-Intro http://spoken-tutorial.org/NMEICT-Intro] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;&amp;quot;| Slide 12&lt;br /&gt;
&lt;br /&gt;
Contributor Slide &lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:0.035cm solid #000000;padding:0.097cm;&amp;quot;| We come to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
Thanks for joining us.&lt;br /&gt;
&lt;br /&gt;
This is Arya Ratish signing off.&lt;br /&gt;
&lt;br /&gt;
Good bye and Jai Hind.&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Trupti</name></author>	</entry>

	</feed>