Friday, 30 October 2020

Java Development kits ( JDK )

 

 

Java Development  kits ( JDK ) 

 

The  JDK   comes  with  a set  of tools that  are used  for  developing  and running   Java program . It includes:


1. Appletviewer ( It is used  for  viewing  the  applet )

 

2. Javac ( It  is a  java  Compiler )

 

3. Java ( It is a java Interpreter)

 

4. Javap ( java diassembler, which  convert  byte code  into  program description )

 

5.  Javah (  It  is  for  java C header  files )

 

6. Javadoc (  It is for  creating  HTML  document )

 

7. Jdb ( It  is  java debugger )

 

 

 

 For  compiling  and running  the program  we have to  use  following  commands  :-




(a)  javac ( java compiler )  :-   

In java , we  can use any text editor  for writing  program  and  then  save that  program  with  "java"  extension .  Java  compiler  converts the  source  code or  program  in bytecode and  interpreter  convert  "  java " file  in "class" file .

 

syntax :-

 C:\javac filename.java

if  my filename is "abc.java" them  the syntax will be:

 C:\javac abc.java

 

 

(b)  java  ( Java interpreter ) :-

 We can use any text editor for  writing  program  and  then save that  program with  "java" extension . Java compiler  converts the source  code  or program  in  bytecode  and interpreter convert  "java" file  in  "class" file .

 

syntax :-

C:\ java  filename 

 if my filename is abc. java  then  the syntax  will be:

C:\ java abc  

 

 

 

 


1 comment:

Student Marks Calculation app using java

      import javax.swing. *; import java.awt.event.ActionEvent ; import java.awt.event.ActionListener ; public class Student { private J...