PRIMARY TOOLS FROM SDK
JAVA 2 SDK provided important tools which use for compile and execute Java.
Two primary tools in Java is :
- java
- javac
a. Java
This command used for running java program or .class file or compiled file. Basically this command is an application file which is java.exe. it could found in bin folder at your java installed folder.
Write pattern:
C:>java classname
Or
C:>java –classpath [path] classname
b. Javac
This command used for compile source file java (.java) to be bytecode file (.class). this command actually execute file which is javac.exe. it could found in bin folder at your java installed folder.
Write pattern:
Download PDF File
No comments:
Post a Comment