travispessetto / OrigamiSMTP

A TLS Enabled Fake SMTP Server for Development
https://travispessetto.github.io/OrigamiSMTP
MIT License
17 stars 14 forks source link

GUIDE : Setup on Manjaro Linux (or Arch) #14

Closed Powerock38 closed 2 years ago

Powerock38 commented 2 years ago

If you get the error "Error: JavaFX runtime components are missing, and are required to run this application"

install the package java-openjfx

and launch the .jar with :

java --module-path /usr/lib/jvm/java-17-openjdk/lib/javafx.controls.jar:/usr/lib/jvm/java-17-openjdk/lib/javafx.fxml.jar:/usr/lib/jvm/java-17-openjdk/lib/javafx.graphics.jar:/usr/lib/jvm/java-17-openjdk/lib/javafx.base.jar:/usr/lib/jvm/java-17-openjdk/lib/javafx.web.jar:/usr/lib/jvm/java-17-openjdk/lib/javafx.media.jar --add-modules javafx.controls,javafx.fxml,javafx.web,javafx.media -jar origami-smtp.jar

also, be sure to use the jar from SourceForge and not the outdated one in the Releases tab of this repo

travispessetto commented 2 years ago

I am working on modularizing Origami SMTP so that these steps will no longer be required.

travispessetto commented 2 years ago

Fixed by shading Javafx files into the jar file with latest commit. Next release should allow you to run java -jar origami-smtp.jar