#paperclip
1 messages · Page 1 of 1 (latest)
59cbdee Link to docs in java version check (#65) - MiniDigger
[PaperMC/Paperclip] branch deleted: improve-java-check
When using the platform classloader as parent, service loaders fail to look up services that are defined in a jdk module.
As an example, consider the following onEnable of a plugin:
@Override
public void onEnable() {
System.out.println(RandomGenerator.getDefault());
}
this will result in an exception:
[12:41:12 ERROR]: Error occurred while enabling Paper-Test-Plugin v1.0.0-SNAPSHOT (Is it up to date?)
java.lang.IllegalArgumentException: No impl...
f72d97c Read Minecraft version and required Java runtim... - jpenilla
[PaperMC/Paperclip] New branch created: manifest-meta
@powercasgamer can you rebase this?
I'm using IBM Semeru JDK 21.0.2
% java -version
openjdk version "21.0.2" 2024-01-16 LTS
IBM Semeru Runtime Open Edition 21.0.2.0 (build 21.0.2+13-LTS)
Eclipse OpenJ9 VM 21.0.2.0 (build openj9-0.43.0, JRE 21 Mac OS X aarch64-64-Bit 20240116_96 (JIT enabled, AOT enabled)
OpenJ9 - 2c3d78b48
OMR - ea8124dbc
JCL - 78c4500a434 based on jdk-21.0.2+13)
When I run paper jar download from website it just crashed.
% java -jar paper-1.21.4-183.jar
Downloading mojang_1.21.4.jar
Ap...
I'm attempting to use a custom Log4J appender for my server by adding the appender to the classpath. This is currently not possible. Merging this PR would also solve that issue.
I'd like to see a way to add custom classes to the server classpath.
My use case
I'm attempting to add a custom Log4J appender to the server.
Alternatives I have considered
- Adding the appender using a plugin. This is what I'm currently doing. The problem is that log messages from server startup aren't used in my custom logger
- Forking Paperclip and building a custom Paper jar, which requires too much maintenance for a simple change like this.
- https://github.com/PaperMC/Papercli...
This is also relevant for me, I can’t add log4j-layout-template-json
i don't think openj9 works with this. i had this issue until i swapped to a runtime that used the hotspot vm.