java app dosent compile with custom libraries (Intellij)
my question is when i run my java app in my environment the custom lib works
but when i build it and run it outside of the environment it dosent work
its supposed to show discord rpc when build but it dosent
thoe it works when in an IDE
any help would be appreciated.
Custom jars are not included in build.
If application is build by maven you should:
- Depoly your custom jar to repository like: https://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html
- Add this jar as usual dependency for project, then build it and should work.
If you mean to have this project "portable" for other users let me know, will show you sollution, but I need more details.