cannot include library on my plugin

Discussion in 'Spigot Plugin Help' started by JasonkaranikYT, Mar 29, 2021.

  1. Hello! i want to include this library on my plugin (

    but adding it on my class path (i use eclipse) just prevents the plugin from loading because of class error not found

    how do i fix that?
  2. Best way to do this is to use a build system like Gradle or Maven that can handle shading.
  3. is there any other way? i already made my plugin on just java project.

    can you give me an full example on maven? i want to make a 1.8.8 plugin btw
  4. If you don't want to use a build tool then your best option is to use the 'jar' tool provided with the jdk that can package class files into one java archive.
  5. Run - edit configurations - click on maven - on the "command line" type "clean install"

    then just run the compilation
  6. wheres that
  7. in the /bin folder of your jdk installation