In project I used library org.json. Everything works fine in the editor. When I build the project, move the "out" folder to another machine (Debian), and run Main.class via console, I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/json/JSONObject
at gro.nn.lead_updater.Config.<init>(Config.java:30)
at gro.nn.lead_updater.Config.getInstance(Config.java:23)
at gro.nn.lead_updater.Main.main(Main.java:23)
I don't see any changes before and after adding the library in the out folder. Project structure below