Java/C2/Getting-started-java-Installation/English-timed

From Script | Spoken-Tutorial
Revision as of 10:08, 27 November 2013 by Kavita salve (Talk | contribs)

Jump to: navigation, search
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 pre-requisite 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 presing 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
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 summarises 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 for 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 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