Introduction to first java program: –

  • The file must be saved with (.java) extension.
  • We can use any editor to write java program.

Ex: – Text editor, any IDE (Integrated Development Environment) (Eclipse, NetBeans etc.)

  • To compile and run the java program, we can also perform on DOS command prompt or in any IDE.
  • To compile and run java program. We must set the path of bin directory of JDK (To support all runtime libraries files and tools).
Advertisements