linkifier
linkifier copied to clipboard
Cannot run .jar file
Even though I meet all the dependencies, I cannot seem to run your .jar file. I also tried with the source code itself but to no avail. I seem to get a "Could not find or load main class controller.MainApp". I am very interested in your project, could you help me?
- Try to run some of the older releases.
- Try it on a different computer.
- Try different version of Java.
Also, if the second line of the error is:
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
then it is because OpenJDK does not by default include JavaFX (but Java 8 from Oracle includes that).
I found the .jar in a previous version. linkifer-3.2.7
Hello Jan, I have the same problem. I cannot seem to run the ZIP file.
Please excuse my lack of knowledge with java - I'm just trying to support old production equipment with built-in SQL Server Express.
C:\Temp>java -jar linkifier-master.zip Error: Invalid or corrupt jarfile linkifier-master.zip C:\Temp\linkifier-master\gui\controller>java MainApp.java Error: Could not find or load main class MainApp.java
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
My problem still persists as well. I just gave up on trying to solve it. A pity but maybe it gets fixed.
@DrDomino
- Based on the error message, Java can't load GUI. The GUI requires Java from Oracle: https://stackoverflow.com/questions/33895107/how-to-know-if-i-am-using-open-jdk-or-oracle-jdk
What is the output of
java -version
? - If Oracle version of Java does not resolve it. Try to run even older versions of Linkifier.
- If that does not help, I propose to run it without GUI: https://github.com/janmotl/linkifier/issues/8
I updated the README with a solution for M1 processors.