Difference between revisions of "Java/C2/Getting-started-java-Installation/English-timed"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with '{| border = 1 |'''Time''' |'''Narration''' |- | 00.01 |Welcome to the Spoken Tutorial on Getting started with Java: Installation. |- | 00.07 | In this tutorial we will lea…')
 
 
(21 intermediate revisions by 5 users not shown)
Line 2: Line 2:
  
 
|'''Time'''
 
|'''Time'''
 
 
|'''Narration'''
 
|'''Narration'''
 
  
 
|-
 
|-
| 00.01
+
| 00:01
|Welcome to the Spoken Tutorial on Getting started with Java: Installation.  
+
|Welcome to the Spoken Tutorial on '''Getting started with Java Installation'''.  
 
+
  
 
|-
 
|-
| 00.07
+
| 00:07
| In this tutorial we will learn  
+
| In this tutorial, we will learn:
  
 
|-
 
|-
| 00.09
+
| 00:09
| To install the JDK using Synaptic Package Manager.  
+
| To install the '''JDK''' using '''Synaptic Package Manager.'''
  
 
|-
 
|-
| 00.13
+
| 00:13
|Why Java?  
+
| Why Java? Types and applications of Java.
  
 
|-
 
|-
| 00.14
+
| 00:17
|Types and applications of Java.
+
| Here we are using:
  
 
|-
 
|-
| 00.17
+
| 00:19
| Here we are using
+
|'''Ubuntu version 11.10''' and
  
 
|-
 
|-
| 00.19
+
| 00:21
|Ubuntu version 11.10 and
+
| '''Java Development Environment JDK 1.6''' .
  
 
|-
 
|-
| 00.21
+
| 00:26
| Java Development Environment JDK 1.6
+
|To follow this tutorial, you must be connected to the internet.  
  
 
|-
 
|-
| 00.26
+
|00:31
|To follow this tutorial you must be connected to the internet.  
+
| You must have '''Synaptic Package Manager''' installed on your system.  
 
+
  
 
|-
 
|-
|00.31
+
|00:35
| You must have Synaptic Package Manager installed on your system.  
+
|You must also have knowledge of using '''Terminal, Text Editor and Synaptic Package Manager''' in '''Linux'''.
  
 
|-
 
|-
|00.35
+
|00:43
|You must also have knowledge of using Terminal, Text Editor and Synaptic Package Manager in Linux.
+
|If not, please see the Spoken Tutorial on Linux, available at '''spoken-tutorial.org.'''
  
 
|-
 
|-
|00.43
+
| 00:51
|If not, please see the Spoken Tutorial on Linux, available at spoken-tutorial.org.  
+
|To run a java program we need to install the '''JDK''', the '''Java Development Kit.'''
  
 
|-
 
|-
| 00.51
+
| 00:57
|To run a java program we need to install the JDK, the Java Development Kit.
+
|To learn more about JDK, you could visit the following link:
  
 
|-
 
|-
| 00.57
+
| 01:02
|To learn more about JDK you could visit the following link:
+
| Now we will install the JDK using '''Synaptic Package Manager.'''
  
 
|-
 
|-
| 01.02
+
| 01:07
| Now we will install the JDK using Synaptic Package Manager.
+
|For this, you need to have '''root permissions'''.  
  
 
|-
 
|-
| 01.07
+
| 01:10
|For this, you need to have root permissions.  
+
|You also need to know how to choose a '''repository'''.
  
 
|-
 
|-
| 01.10
+
| 01:14
|You also need to know how to choose a repository.   
+
|These are explained in the prerequisite tutorial on Linux, mentioned earlier.   
 
+
  
 
|-
 
|-
| 01.14
+
| 01:19
|These are explained in the pre-requisite tutorial on Linux mentioned earlier.
+
|Now, on the left corner of your Desktop, you will find the '''Taskbar'''.  
  
 
|-
 
|-
| 01.19
+
| 01:25
|Now, on the left corner of your Desktop, you will find the Taskbar.  
+
|At the top you will find '''DashHome.'''
  
 
|-
 
|-
| 01.25
+
| 01:28
|At the top you will find DashHome.  
+
|Click on '''DashHome.'''
  
 
|-
 
|-
| 01.28
+
|01:31
|Click on DashHome.
+
|In the search bar, type '''Synaptic.'''
  
 
|-
 
|-
|01.31
+
|01:35
|In the search bar type Synaptic.  
+
|You will find '''Synaptic Package Manager''' here.
 
+
  
 
|-
 
|-
|01.35
+
| 01:38
|You will find Synaptic Package Manager here.
+
|Click on '''Synaptic Package Manager.'''
  
 
|-
 
|-
| 01.38
+
| 01:42
|Click on Synaptic Package Manager.
+
|You will be asked to type your password for '''Authentication.'''
  
 
|-
 
|-
| 01.42
+
| 01:47
|You will be asked to type your password for Authentication.  
+
|So, type your password and click on '''Authenticate.'''
  
 
|-
 
|-
| 01.47
+
| 01:56
|So type your password and click on Authenticate.  
+
|This opens the '''Synaptic Package Manager.'''
 
+
  
 
|-
 
|-
| 01.56
+
| 02:03
|This opens the Synaptic Package Manager.
+
| Now In the '''Quick Filter''' box, type '''jdk.'''
  
 
|-
 
|-
| 02.03
+
|02:08
| Now In the Quick Filter box type jdk.
+
|We see a '''package''' named '''openjdk-6-jdk.'''
 
+
  
 
|-
 
|-
|02.08
+
| 02:13
|We see a package named openjdk-6-jdk.
+
|Right click on it and click on '''Mark for Installation.'''
 
+
 
+
|-
+
| 02.13
+
|Right click on it and click on Mark for Installation.  
+
 
+
  
 
|-
 
|-
| 02.17
+
| 02:17
|Then click on Apply.     
+
|Then click on '''Apply.'''      
  
 
|-
 
|-
|02.20
+
|02:20
 
|You will be asked to confirm the list of marked changes.  
 
|You will be asked to confirm the list of marked changes.  
  
 
|-
 
|-
|02.24
+
|02:24
|So click on To be Installed and then click on Apply.  
+
|So click on '''To be Installed''' and then click on '''Apply.'''
  
 
|-
 
|-
|02.30
+
|02:30
 
|The installation will take a few seconds.  
 
|The installation will take a few seconds.  
 
 
 
  
 
|-
 
|-
| 02.38
+
| 02:38
|Now, we see that the option openjdk-6-jdk is in green colour.  
+
|Now we see that the option '''openjdk-6-jdk''' is in green colour.  
  
 
|-
 
|-
| 02.48
+
| 02:48
 
| Thus our installation is complete.  
 
| Thus our installation is complete.  
  
 
|-
 
|-
| 02.52
+
| 02:52
| Now, let us verify the installation, For this open the terminal by presing Ctrl, Alt and T keys simultaneously  
+
| Now, let us verify the installation. For this, open the terminal by pressing '''Ctrl, Alt''' and '''T''' keys simultaneously.
  
 
|-
 
|-
|03.03
+
|03:03
|I already have opened my Terminal opened here.  
+
|I already have my '''terminal''' opened here.  
  
 
|-
 
|-
| 03.06
+
| 03:06
| At the command prompt type java space hyphen version and press Enter.  
+
| At the command prompt, type: '''java''' space hyphen '''version''' and press '''Enter.'''
 
+
  
 
|-
 
|-
| 03.15
+
| 03:15
|We see that the version number of the jdk has been displayed.  
+
|We see that the version number of the '''jdk'' has been displayed.  
 
+
  
 
|-
 
|-
| 03.20
+
| 03:20
| Depending on the version that you used your version number could be different.
+
| Depending on the distribution  that you used your '''version''' number could be different.
  
 
|-
 
|-
| 03.26
+
| 03:26
|So, we have successfully installed the jdk
+
|So, we have successfully installed the '''jdk'''.
  
 
|-
 
|-
| 03.30
+
| 03:30
 
|Now, let us run a simple Java program and see if it works.  
 
|Now, let us run a simple Java program and see if it works.  
 
|-
 
|-
| 03.35
+
| 03:35
|I already have the following code saved in the file name TestProgram dot java.  
+
|I already have the following code, saved in the file name '''TestProgram dot java.'''
  
 
|-
 
|-
| 03.42
+
| 03:42
| Now Let me compile and run this code.  
+
| Now, let me compile and run this code.  
  
 
|-
 
|-
| 03.45
+
| 03:45
|This code simply displays We have successfully run a Java Program on the Terminal.  
+
|This code simply displays '''We have successfully run a Java Program''' on the Terminal.  
  
 
|-
 
|-
| 03.53
+
| 03:53
|So let us go back to the Terminal.  
+
|So, let us go back to the '''Terminal.'''
  
 
|-
 
|-
| 03.57
+
| 03:57
|Remember that I have saved the file TestProgram dot java in the Home directory.  
+
|Remember that I have saved the file '''TestProgram dot java''' in the '''Home directory.'''
  
 
|-
 
|-
| 04.03
+
| 04:03
| And currently I am in the Home Directory.
+
| And currently I am in the '''Home Directory.'''
  
 
|-
 
|-
| 04.07
+
| 04:07
| So, At the command prompt type javac space TestProgram dot java.
+
| So, at the command prompt, type: '''javac''' space '''TestProgram dot java.'''
  
 
|-
 
|-
| 04.19
+
| 04:19
 
|This is to compile the code.  
 
|This is to compile the code.  
  
 
|-
 
|-
| 04.21
+
| 04:21
|Press Enter.
+
|Press '''Enter'''.
  
 
|-
 
|-
| 04.25
+
| 04:25
 
| Now, let me run the code.  
 
| Now, let me run the code.  
  
 
|-
 
|-
| 04.27
+
| 04:27
| So type java space TestProgram and press Enter.  
+
| So, type: '''java''' space '''TestProgram''' and press '''Enter.'''
  
 
|-
 
|-
| 04.35
+
| 04:35
|We get the output as We have successfully run a java program.
+
|We get the output as '''We have successfully run a java program.'''
  
 
|-
 
|-
| 04.44
+
| 04:44
 
|Thus, our installation has been perfect.
 
|Thus, our installation has been perfect.
  
 
|-
 
|-
|04.48
+
|04:48
 
| Now, let us go back to the slides.  
 
| Now, let us go back to the slides.  
  
 
|-
 
|-
| 04.51
+
| 04:51
 
| I will now explain why Java is useful.  
 
| I will now explain why Java is useful.  
 
   
 
   
 
|-
 
|-
| 04.55
+
| 04:55
 
| Java is simple.  
 
| Java is simple.  
  
 
|-
 
|-
| 04.57
+
| 04:57
| Java is object oriented.   
+
| Java is '''object oriented.'''  
  
 
|-
 
|-
| 04.59
+
| 04:59
| It is platform independent.  
+
| It is '''platform''' independent.  
  
 
|-
 
|-
| 05.01
+
| 05:01
| It is safe.  
+
| It is safe. Java has high performance.  
  
 
|-
 
|-
| 05.02
+
| 05:04
| Java has high performance.  
+
| Java is '''multi–threaded.'''
  
 
|-
 
|-
| 05.04
+
| 05:07
| Java is multi – threaded.  
+
| We will now go through some types and '''applications''' of Java.  
  
 
|-
 
|-
| 05.07
+
| 05:11
| We will now go through some types and applications of Java.  
+
| '''JSP, or Java Server Pages''': It is based on a code with normal HTML tags.  
  
 
|-
 
|-
| 05.11
+
| 05:18
| -JSP, or Java Server Pages: It is based on a code with normal HTML tags.
+
 
+
|-
+
| 05.18
+
 
| JSP helps in creating dynamic web pages.
 
| JSP helps in creating dynamic web pages.
  
 
|-
 
|-
| 05.22
+
| 05:22
| -Java Applets: It is used to provide interactive features to web applications.  
+
| '''Java Applets:''' It is used to provide interactive features to web applications.  
  
 
|-
 
|-
| 05.28
+
| 05:28
|-J2EE or Java Enterprise Edition: Companies use J2EE.  
+
|'''J2EE or Java Enterprise Edition''': Companies use J2EE.  
  
 
|-
 
|-
| 05.33
+
| 05:33
 
|It is useful to transfer XML structured documents.  
 
|It is useful to transfer XML structured documents.  
  
 
|-
 
|-
| 05.38
+
| 05:38
| -JavaBeans: JavaBeans is a reusable software component.  
+
| '''JavaBeans:''' JavaBeans is a reusable software component.  
  
 
|-
 
|-
| 05.43
+
| 05:43
 
| It can be used to build new and advanced applications.  
 
| It can be used to build new and advanced applications.  
  
 
|-
 
|-
| 05.47
+
| 05:47
| -Mobile Java: It is used for various entertainment devices, such as mobile phone.  
+
| '''Mobile Java:''' It is used for various entertainment devices, such as mobile phone.  
  
 
|-
 
|-
| 05.53
+
| 05:53
| So in this tutorial we learnt  
+
| So, in this tutorial we learnt:
  
 
|-
 
|-
| 05.56
+
| 05:56
| To install the JDK using Synaptic Package Manager.  
+
| To install the '''JDK''' using '''Synaptic Package Manager'''.  
  
 
|-
 
|-
| 05.59
+
| 05:59
 
| To compile and run a Java program.  
 
| To compile and run a Java program.  
  
 
|-
 
|-
| 06.02
+
| 06:02
 
| Benefits of using Java.  
 
| Benefits of using Java.  
  
 
|-
 
|-
| 06.04
+
| 06:04
| Types and Applications of Java
+
|Types and Applications of Java.
  
 
|-
 
|-
| 06.08
+
| 06:08
|To know more  about the spoken tutorial project please Watch the video available at the following link.
+
|To know more  about the spoken tutorial project please watch the video available at the following link.
  
 
|-
 
|-
| 06.14
+
| 06:14
| It summarises the Spoken Tutorial project  
+
| It summarizes the Spoken Tutorial project.
  
 
|-
 
|-
| 06.17
+
| 06:17
| If you do not have good bandwidth, you can download and watch it  
+
| If you do not have good bandwidth, you can download and watch it.
  
 
|-
 
|-
| 06.22
+
| 06:22
|The Spoken Tutorial Project Team  
+
|The Spoken Tutorial project team:  
  
 
|-
 
|-
| 06.24
+
| 06:24
| Conducts workshops using spoken tutorials  
+
| Conducts workshops using spoken tutorials.
 
+
  
 
|-
 
|-
| 06.27
+
| 06:27
| Gives certificates for those who pass an online test  
+
| Gives certificates to those who pass an online test.
  
 
|-
 
|-
| 06.30
+
| 06:30
 
| For more details, please write to contact@spoken-tutorial.org  
 
| For more details, please write to contact@spoken-tutorial.org  
 
  
 
|-
 
|-
| 06.36
+
| 06:36
| Spoken Tutorial Project is a part of the Talk to a Teacher project  
+
| Spoken Tutorial Project is a part of the Talk to a Teacher project.
  
 
|-
 
|-
| 06.41
+
| 06:41
| It is supported by the National Mission on Education through ICT, MHRD, Government of India  
+
| It is supported by the National Mission on Education through ICT, MHRD, Government of India.
 
+
  
 
|-
 
|-
| 06.47
+
| 06:47
| More information on this Mission is available at  the following link
+
| More information on this mission is available at  the following link:
  
 
|-
 
|-
| 06.52
+
| 06:52
 
| http://spoken-tutorial.org/NMEICT-Intro  
 
| http://spoken-tutorial.org/NMEICT-Intro  
  
 
|-
 
|-
| 06.58
+
| 06:58
| Thus, We come to the end of this tutorial.  
+
| Thus, We have come to the end of this tutorial.  
  
 
|-
 
|-
| 07.01
+
| 07:01
| This is Arya Ratish signing off.   
+
| This is Arya Ratish, signing off.   
  
 
|-
 
|-
| 07.04
+
| 07:04
 
| Thanks for joining us.
 
| Thanks for joining us.

Latest revision as of 12:14, 28 March 2017

Time Narration
00:01 Welcome to the Spoken Tutorial on Getting started with Java Installation.
00:07 In this tutorial, we will learn:
00:09 To install the JDK using Synaptic Package Manager.
00:13 Why Java? Types and applications of Java.
00:17 Here we are using:
00:19 Ubuntu version 11.10 and
00:21 Java Development Environment JDK 1.6 .
00:26 To follow this tutorial, you must be connected to the internet.
00:31 You must have Synaptic Package Manager installed on your system.
00:35 You must also have knowledge of using Terminal, Text Editor and Synaptic Package Manager in Linux.
00:43 If not, please see the Spoken Tutorial on Linux, available at spoken-tutorial.org.
00:51 To run a java program we need to install the JDK, the Java Development Kit.
00:57 To learn more about JDK, you could visit the following link:
01:02 Now we will install the JDK using Synaptic Package Manager.
01:07 For this, you need to have root permissions.
01:10 You also need to know how to choose a repository.
01:14 These are explained in the prerequisite tutorial on Linux, mentioned earlier.
01:19 Now, on the left corner of your Desktop, you will find the Taskbar.
01:25 At the top you will find DashHome.
01:28 Click on DashHome.
01:31 In the search bar, type Synaptic.
01:35 You will find Synaptic Package Manager here.
01:38 Click on Synaptic Package Manager.
01:42 You will be asked to type your password for Authentication.
01:47 So, type your password and click on Authenticate.
01:56 This opens the Synaptic Package Manager.
02:03 Now In the Quick Filter box, type jdk.
02:08 We see a package named openjdk-6-jdk.
02:13 Right click on it and click on Mark for Installation.
02:17 Then click on Apply.
02:20 You will be asked to confirm the list of marked changes.
02:24 So click on To be Installed and then click on Apply.
02:30 The installation will take a few seconds.
02:38 Now we see that the option openjdk-6-jdk is in green colour.
02:48 Thus our installation is complete.
02:52 Now, let us verify the installation. For this, open the terminal by pressing Ctrl, Alt and T keys simultaneously.
03:03 I already have my terminal opened here.
03:06 At the command prompt, type: java space hyphen version and press Enter.
03:15 We see that the version number of the 'jdk has been displayed.
03:20 Depending on the distribution that you used your version number could be different.
03:26 So, we have successfully installed the jdk.
03:30 Now, let us run a simple Java program and see if it works.
03:35 I already have the following code, saved in the file name TestProgram dot java.
03:42 Now, let me compile and run this code.
03:45 This code simply displays We have successfully run a Java Program on the Terminal.
03:53 So, let us go back to the Terminal.
03:57 Remember that I have saved the file TestProgram dot java in the Home directory.
04:03 And currently I am in the Home Directory.
04:07 So, at the command prompt, type: javac space TestProgram dot java.
04:19 This is to compile the code.
04:21 Press Enter.
04:25 Now, let me run the code.
04:27 So, type: java space TestProgram and press Enter.
04:35 We get the output as We have successfully run a java program.
04:44 Thus, our installation has been perfect.
04:48 Now, let us go back to the slides.
04:51 I will now explain why Java is useful.
04:55 Java is simple.
04:57 Java is object oriented.
04:59 It is platform independent.
05:01 It is safe. Java has high performance.
05:04 Java is multi–threaded.
05:07 We will now go through some types and applications of Java.
05:11 JSP, or Java Server Pages: It is based on a code with normal HTML tags.
05:18 JSP helps in creating dynamic web pages.
05:22 Java Applets: It is used to provide interactive features to web applications.
05:28 J2EE or Java Enterprise Edition: Companies use J2EE.
05:33 It is useful to transfer XML structured documents.
05:38 JavaBeans: JavaBeans is a reusable software component.
05:43 It can be used to build new and advanced applications.
05:47 Mobile Java: It is used for various entertainment devices, such as mobile phone.
05:53 So, in this tutorial we learnt:
05:56 To install the JDK using Synaptic Package Manager.
05:59 To compile and run a Java program.
06:02 Benefits of using Java.
06:04 Types and Applications of Java.
06:08 To know more about the spoken tutorial project please watch the video available at the following link.
06:14 It summarizes the Spoken Tutorial project.
06:17 If you do not have good bandwidth, you can download and watch it.
06:22 The Spoken Tutorial project team:
06:24 Conducts workshops using spoken tutorials.
06:27 Gives certificates to those who pass an online test.
06:30 For more details, please write to contact@spoken-tutorial.org
06:36 Spoken Tutorial Project is a part of the Talk to a Teacher project.
06:41 It is supported by the National Mission on Education through ICT, MHRD, Government of India.
06:47 More information on this mission is available at the following link:
06:52 http://spoken-tutorial.org/NMEICT-Intro
06:58 Thus, We have come to the end of this tutorial.
07:01 This is Arya Ratish, signing off.
07:04 Thanks for joining us.

Contributors and Content Editors

Gaurav, Kavita salve, PoojaMoolya, Pratik kamble, Sakinashaikh, Sandhya.np14