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

From Script | Spoken-Tutorial
Jump to: navigation, search
Line 38: Line 38:
 
|-
 
|-
 
| 00:26
 
| 00:26
|To follow this tutorial you must be connected to the internet.  
+
|To follow this tutorial, you must be connected to the internet.  
  
 
|-
 
|-
Line 70: Line 70:
 
|-
 
|-
 
| 01:10
 
| 01:10
|You also need to know how to choose a repository.   
+
|You also need to know how to choose a '''repository'''.   
  
 
|-
 
|-
Line 90: Line 90:
 
|-
 
|-
 
|01:31
 
|01:31
|In the search bar type'''Synaptic.'''  
+
|In the search bar, type '''Synaptic.'''  
  
 
|-
 
|-
Line 114: Line 114:
 
|-
 
|-
 
| 02:03
 
| 02:03
| Now In the '''Quick Filter''' box type '''jdk.'''
+
| Now In the '''Quick Filter''' box, type '''jdk.'''
  
 
|-
 
|-
Line 142: Line 142:
 
|-
 
|-
 
| 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.  
  
 
|-
 
|-
Line 158: Line 158:
 
|-
 
|-
 
| 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.'''  
  
 
|-
 
|-
Line 166: Line 166:
 
|-
 
|-
 
| 03:20
 
| 03:20
| Depending on the distribution  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'''.
  
 
|-
 
|-
Line 177: Line 177:
 
|-
 
|-
 
| 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.'''  
  
 
|-
 
|-
Line 189: Line 189:
 
|-
 
|-
 
| 03:53
 
| 03:53
|So let us go back to the'''Terminal.'''  
+
|So, let us go back to the '''Terminal.'''  
  
 
|-
 
|-
Line 201: Line 201:
 
|-
 
|-
 
| 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.'''
  
 
|-
 
|-
Line 217: Line 217:
 
|-
 
|-
 
| 04:27
 
| 04:27
| So type '''java''' space '''TestProgram''' and press '''Enter.'''  
+
| So, type: '''java''' space '''TestProgram''' and press '''Enter.'''  
  
 
|-
 
|-
Line 245: Line 245:
 
|-
 
|-
 
| 04:59
 
| 04:59
|* It is platform independent.  
+
|* It is '''platform''' independent.  
  
 
|-
 
|-

Revision as of 09:55, 18 March 2015

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?
00:14 * 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.
05:02 * 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