SlideServe
Menu
Préférences
© SlideServe · v2026

Java Environment

pakuna avatar
11 diapositives · 1.1K Views · Oct 01, 2014

Java Environment. JDK, API, JVM. Java Environment. Java environment includes development tools and many classes and methods. Java Environment. JDK ( Java Development Kit). JSL ( Java Standard Library ) or Application Programming Interface (API). Development tools.

Java Environment - slide 1
01 / 11Java Environment
1 / 17

Télécharger la présentation

Java Environment
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Java Environment JDK, API, JVM

  2. Java Environment • Java environment includes development tools and many classes and methods. Java Environment JDK (Java Development Kit) JSL (Java Standard Library) or Application Programming Interface (API) Development tools Classes and methods

  3. JDK(Java Development Kit) JDK is collection of tools used for developing and running Java programs. They include appletviewer - for viewing Java applets javac - Java compiler which translates Java source code to byte code files that the interpreter can understand java - Java interpreter which runs applets & applications by interpreting byte codes. javadoc - Creates HTML format documentation from Java source code files javah - Produces header files for use with methods jdb - Java debugger, which helps to find errors in programs These tools are used to build and run application programs.

  4. a) To create a java program, create a source file using ___________ b) The source code is compiled using _________to ____________ c) The byte code is interpreted using ____________ and executed. d) The jdb is used to find ______________, if any.

  5. API APPLICATION PROGRAMMING INTERFACE The API includes hundreds of classes and methods grouped into several packages. Commonly used packages are: java.lang Language Support Package - required for basic features of Java jJava.util Utilities Package - classes that provide functions like date and time functions java.io Input/OutputPackage - classes required for input/output javax.swing Swing Package -common GUI elements like dialog box java.net Networking Package - classes for communicating with other computers through network java.awt AWT Package - classes that allow GUI elements and graphics java.applet Applet Package - classes that allows to create Java applets

  6. Java Program Byte code Java Compiler Java Interpreter Virtual Machine Machine code JVM JAVA VIRTUAL MACHINE Byte code is generated for Java Virtual machine. JVM is not a machine but a program that resides in computer memory. The byte code is common for all machines. Java interpreter acts as a link between particular machine and byte code to make machine code (machine language). Byte code Virtual machine

  7. Exercise Classes and methods of Java are part of a) JSL b) JDK c) JVM

  8. Exercise The tool that is present in JDK is used for viewing Java applets a) applet viewer b) applet c) javac

  9. Exercise Java interpreter which runs applets & applications by reading and interpreting byte codes. a) java b) javac c) jdb

  10. Exercise The Java debugger, which helps to find errors in programs is a) javadoc b) jdb c) javah

  11. The package which has classes for communicating with other computers through network a) Input/Output package b) AWT package c) Networking package