Which JDK do I have Ubuntu?

Which JDK do I have Ubuntu?
Answer
Ubuntu chooses OpenJDK as its default JDK, which is not 100% compatible with Oracle JDK.
  1. Step 0: Check if JDK has already been Installed. Open a Terminal and issue this command: $ javac -version.
  2. Step 1: Download and Install JDK.
  3. Step 2: Compile and Run a Hello-world Java Program.
 

Tìm kiếm

Back
Top