Java Programming Tutorial Index

Java Environment

JDK (Java SE Development Kit) Includes a complete JRE (Java Runtime Environment) plus tools for developing, debugging, and monitoring Java applications. JDK is required to build and run Java applications and applets.



JDK tools divided into five categories:
  • Basic Tools
  • Remote Method Invocation (RMI) Tools
  • Internationalization Tools
  • Security Tools
  • Java IDL Tools

Basic JDK Tools

These tools are the foundation of the Java Development Kit.

javac

javac is the compiler for the Java programming language; it's used to compile .java file. It creates a class file which can be run by using java command.

Example:

c:javac TestFile.java

java

When a class file has been created, the java command can be used to run the Java program.

Example:

c:java TestFile.class

Both run using the command prompt. .java is the extension for java source files which are simple text files. After coding and saving it, the javac compiler is invoked for creating .class files. As the .class files get created, the Java command can be used to run the java program.

javadoc

JavaDoc is an API documentation generator for the Java language, which generates documentation in HTML format from Java source code.

appletviewer

appletviewer run and debug applets without a web browser, its standalone command-line program to run Java applets.

jar

The jar is (manage Java archive) a package file format that contains class, text, images and sound files for a Java application or applet gathered into a single compressed file.



Found This Page Useful? Share It!
Get the Latest Tutorials and Updates
Join us on Telegram