My project is an edited version of r0d0t's InfEncoder. You can find it on GitHub here.
What I modified is mainly support for Java 10, and that's fixing broken references and deprecated libraries. My current code is available here.
When I build the project in NetBeans it shows the following message:
"To run this application from the command line without Ant, try:
C:\Program Files\Java\jdk-10.0.1/bin/java -p C:\projects\InfEncoder-master\dist\InfEncoder.jar -m InfEncoder"
The command works fine and runs the code. However, what I am trying to do is to run the .jar file by double-clicking it or with the java -jar command, but the whole idea is to make r0d0t's original project run with Java 10.
EDIT: Since some deprecated libraries needed to be included in the project, NetBeans created a module-info class which states
module InfEncoder {
requires java.activation;
requires java.desktop;
requires java.base;
requires java.logging; }
This could be why the command -p
has "InfEncoder"
as the value. When running the project the entry module needs to be the one with referenced libraries in module-info. I have confirmed this by putting InfFrame instead of InfEncoder in the module-info class and the command that netbeans gives changes the entry module.