From Fedora Project Wiki


To test if Java is getting properly installed and functioning well.

How to test

  1. Execute sudo dnf install java
  2. Execute java -version

Expected Results

Observe and verify the below carefully

  1. JRE should get installed
  2. Java path should be configured and working
  3. Java applications should function correctly
  4. Contents in /usr/lib/jvm should be sane
  5. Contents in /etc/java should be sane (jdk8 got /etc/java support in f29)
  6. Verifiy all alternatives are in place