I've built jar with Maven.
On Windows it runs perfectly, shows window interface and works as needed by double click or from terminal.
On Ubuntu server it throws an error: Could not find or load main class ***
, meanwhile in jar this class exists at the needed place so probably there is loading error.
Command: java -jar calibrator.jar
from the same directory. Other module jars from the same project run normally.
Windows use JDK 1.8.0-161, Ubuntu - OpenJDK 64 9-internal.
What can be a reason to not work in Ubuntu?