Closed stw222 closed 4 years ago
Use oracle JDK
This is configured in a resource file META-INF\services\com.sun.tools.attach.spi.AttachProvider
(typically this file exists in tools.jar). It will search CLASSPATH to get first occurrence of this resource file and read the AttachProvider implementation class from it. You might have installed an openjdk that is for windows, because on linux it should use sun.tools.attach.LinuxAttachProvider
.
Try to fix this by editing META-INF\services\com.sun.tools.attach.spi.AttachProvider
in tools.jar
Can you explain how to do this to someone who doesnt know java programming?
Im taking an online class for how to use java but im not far into it yet.
Not sure where this tools.jar is
Try using Oracle jdk first, as the error you got is commonly related to that. If it doesn't help, the other person can explain I guess
tools.jar is located in JDK_PATH/lib/tools.jar
This should be a problem of your jdk installation. If you can't locate tools.jar please reinstall jdk and make sure that your jdk is built for linux. You should close this issue because it is not related to this project.
Sorry, this was my bad, Its fixed in the latest commit, I will create a release soon :)
OS is Ubuntu MATE 18.04.3 LTS with Linux kernel 5.2.11 64 bit
openjdk version "1.8.0_252" OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1~18.04-b09) OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
server is running Paper version git-Paper-1618 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT) PaperBin 1.0
This could just be an issue of you developed it in windows and that this isn't meant for Linux