How to check the JDK version of a class file

  • 17 March 2020
  • ADM

When running a Java application it is mandatory that the JRE version to match or to be higher that the JDK version used to compile the application.

You will get the "Unsupported major.minor version 52.0" error when trying to run an Java 1.8 application using a lower version of Java.


How to generate JAXB classes with xjc

  • 05 March 2018
  • ADM

How to generate JAXB classes with xjc. Command line: xjc -d src -p com.admfactory.client schema.xsd


JUnit 3 vs JUnit 4 Comparison

  • 01 March 2017
  • ADM

Junit 3 vs Junit 4 Comparison. Junit 4 is introducing new features like annotations, static import, timeout.


How to install maven on macOS

  • 06 December 2016
  • ADM

How to install maven on macOS. Simple 5 steps: download, extract, path, maven settings and test.


How to prepare a Windows Java Development Machine

  • 05 April 2016
  • ADM

How to prepare a Windows Java Development Machine using Eclipse, NetBeans, Ant, Maven, MySQL, MongoDB, GIT, SVN.


How to create thread pool in Java

  • 05 April 2016
  • ADM

How to create a simple thread pool in Java using ExecutorService, Executors, ThreadPoolExecutor and RejectedExecutionHandler classes.