Necessary Instructions

Different JDK versions

JDK Archive

Java Installation

Editor

Path Setting

  • You need to set the java directory in the path variable if you use JCreator, Command promt.

  • You can avoid the path setting if you use Eclipse and Netbean. Path is automatically selected by these editors.

Tutorials' Links

Books

  • Java: A Beginner’s Guide by Herbert Schildt

  • Java: The Complete Reference by Herbert Schildt

  • Java: How to Program, 9th Edition (Deitel)

  • Core Java Volume I — Fundamentals

Command

Normal compile and run: Compile: javac File.java Execute: java File

Package compile and run: Compile: javac -d . File.java Or javac -d .. File.java Execute: java File

https://www.guru99.com/java-packages.html