Java environment includes a number of development tools, classes and methods. The development tools are part of the system known as Java Development Kit (JDK) and the classes and methods are part of the Java Standard Library (JSL), also known as the Application Programming Interface (API).
Java Development kit (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)
compiling and running 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 convert 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 then the syntax will be
C:\javac abc.java
b) java(Java Interpreter)
As we learn that, we can use any text editor for writing program and then save that program with .java extension. Java compiler convert 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
Java Development kit (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)
compiling and running 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 convert 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 then the syntax will be
C:\javac abc.java
b) java(Java Interpreter)
As we learn that, we can use any text editor for writing program and then save that program with .java extension. Java compiler convert 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 comments:
your site is very informative
Thank you
iPhone application development
Fox Infosoft is an offshore IT outsourcing company that specializes in iPhone Application Development, iPad Application Development and Android Application Development. We also provide iPhone Game Development, iPad Game Development, PHP Web Development and Joomla Development Services.
Post a Comment