Difference between revisions of "Java/C2/Getting-started-java-Installation/English-timed"
From Script | Spoken-Tutorial
PoojaMoolya (Talk | contribs) |
PoojaMoolya (Talk | contribs) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 6: | Line 6: | ||
|- | |- | ||
| 00:01 | | 00:01 | ||
− | |Welcome to the Spoken Tutorial on Getting started with Java | + | |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: |
|- | |- | ||
Line 18: | Line 18: | ||
|- | |- | ||
| 00:13 | | 00:13 | ||
− | |Why Java? | + | | Why Java? Types and applications of Java. |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
| 00:17 | | 00:17 | ||
− | | Here we are using | + | | Here we are using: |
|- | |- | ||
| 00:19 | | 00:19 | ||
− | |Ubuntu version 11.10 and | + | |'''Ubuntu version 11.10''' and |
|- | |- | ||
| 00:21 | | 00:21 | ||
− | | Java Development Environment JDK 1.6 | + | | '''Java Development Environment JDK 1.6''' . |
|- | |- | ||
| 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. |
|- | |- | ||
|00:31 | |00:31 | ||
− | | You must have Synaptic Package Manager installed on your system. | + | | You must have '''Synaptic Package Manager''' installed on your system. |
|- | |- | ||
Line 58: | Line 54: | ||
|- | |- | ||
| 00:57 | | 00:57 | ||
− | |To learn more about JDK you could visit the following link: | + | |To learn more about JDK, you could visit the following link: |
|- | |- | ||
Line 66: | Line 62: | ||
|- | |- | ||
| 01:07 | | 01:07 | ||
− | |For this, you need to have root permissions. | + | |For this, you need to have '''root permissions'''. |
|- | |- | ||
| 01:10 | | 01:10 | ||
− | |You also need to know how to choose a repository. | + | |You also need to know how to choose a '''repository'''. |
− | + | ||
|- | |- | ||
| 01:14 | | 01:14 | ||
− | |These are explained in the | + | |These are explained in the prerequisite tutorial on Linux, mentioned earlier. |
|- | |- | ||
Line 91: | Line 86: | ||
|- | |- | ||
|01:31 | |01:31 | ||
− | |In the search bar type'''Synaptic.''' | + | |In the search bar, type '''Synaptic.''' |
− | + | ||
|- | |- | ||
Line 108: | Line 102: | ||
|- | |- | ||
| 01:47 | | 01:47 | ||
− | |So type your password and click on '''Authenticate.''' | + | |So, type your password and click on '''Authenticate.''' |
− | + | ||
|- | |- | ||
Line 117: | Line 110: | ||
|- | |- | ||
| 02:03 | | 02:03 | ||
− | | Now In the '''Quick Filter''' box type '''jdk.''' | + | | Now In the '''Quick Filter''' box, type '''jdk.''' |
− | + | ||
|- | |- | ||
|02:08 | |02:08 | ||
|We see a '''package''' named '''openjdk-6-jdk.''' | |We see a '''package''' named '''openjdk-6-jdk.''' | ||
− | |||
|- | |- | ||
| 02:13 | | 02:13 | ||
|Right click on it and click on '''Mark for Installation.''' | |Right click on it and click on '''Mark for Installation.''' | ||
− | |||
|- | |- | ||
Line 148: | Line 138: | ||
|- | |- | ||
| 02:38 | | 02:38 | ||
− | |Now | + | |Now we see that the option '''openjdk-6-jdk''' is in green colour. |
|- | |- | ||
Line 156: | Line 146: | ||
|- | |- | ||
| 02:52 | | 02:52 | ||
− | | Now, let us verify the installation | + | | 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 | + | |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 distribution that you used your '''version | + | | 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 185: | Line 173: | ||
|- | |- | ||
| 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 | + | | Now, let me compile and run this code. |
|- | |- | ||
Line 197: | Line 185: | ||
|- | |- | ||
| 03:53 | | 03:53 | ||
− | |So let us go back to the'''Terminal.''' | + | |So, let us go back to the '''Terminal.''' |
|- | |- | ||
Line 209: | Line 197: | ||
|- | |- | ||
| 04:07 | | 04:07 | ||
− | | So, | + | | So, at the command prompt, type: '''javac''' space '''TestProgram dot java.''' |
|- | |- | ||
Line 225: | Line 213: | ||
|- | |- | ||
| 04:27 | | 04:27 | ||
− | | So type '''java''' space '''TestProgram''' and press '''Enter.''' | + | | So, type: '''java''' space '''TestProgram''' and press '''Enter.''' |
|- | |- | ||
Line 249: | Line 237: | ||
|- | |- | ||
| 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. Java has high performance. |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
| 05:04 | | 05:04 | ||
− | | Java is ''' | + | | Java is '''multi–threaded.''' |
|- | |- | ||
| 05:07 | | 05:07 | ||
− | | We will now go through some types and applications of Java. | + | | We will now go through some types and '''applications''' of Java. |
|- | |- | ||
| 05:11 | | 05:11 | ||
− | | ''' | + | | '''JSP, or Java Server Pages''': It is based on a code with normal HTML tags. |
|- | |- | ||
Line 281: | Line 265: | ||
|- | |- | ||
| 05:22 | | 05:22 | ||
− | | ''' | + | | '''Java Applets:''' It is used to provide interactive features to web applications. |
|- | |- | ||
| 05:28 | | 05:28 | ||
− | | ''' | + | |'''J2EE or Java Enterprise Edition''': Companies use J2EE. |
|- | |- | ||
Line 293: | Line 277: | ||
|- | |- | ||
| 05:38 | | 05:38 | ||
− | | ''' | + | | '''JavaBeans:''' JavaBeans is a reusable software component. |
|- | |- | ||
Line 301: | Line 285: | ||
|- | |- | ||
| 05:47 | | 05:47 | ||
− | | ''' | + | | '''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: |
|- | |- | ||
Line 321: | Line 305: | ||
|- | |- | ||
| 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 | + | |To know more about the spoken tutorial project please watch the video available at the following link. |
|- | |- | ||
| 06:14 | | 06:14 | ||
− | | It | + | | 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 | + | |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 to 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 | + | | More information on this mission is available at the following link: |
|- | |- | ||
Line 376: | Line 357: | ||
|- | |- | ||
| 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