[Solved]: Gentoo, Oracle JDK gives: Could not find or load main class com.cncsoftwaretools.autoleveller.Autoleveller
Posted: Fri Nov 19, 2021 6:36 pm
As instructed on the web site, and in this forum, I installed the Oracle JDK package dev-java/oracle-jdk-bin-1.8.0.251, and set it as the default to use for my user:
However, when I run the jar file I get the class not found error:
Could somebody please give me a clue what I am doing wrong?
Thanks
Code: Select all
$ java -version
java version "1.8.0_251"
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode)
$
Code: Select all
$ java -jar AutolevellerAE-0.9.5u2.jar
Error: Could not find or load main class com.cncsoftwaretools.autoleveller.Autoleveller
$
Thanks