#am i dumb or did i do something wrong here
1 messages · Page 1 of 1 (latest)
Detected code, here are some useful tools:
jar tvf. / log4j - api / 2.19.0 / log4j - api - 2.19.0.jar | rg Level1684Tue Sep1310 : 16 : 32CDT2022org / apache / logging / log4j / util / LowLevelLogUtil.class 6718Tue Sep1310 : 16 : 32CDT2022org / apache / logging / log4j / Level.class 2311Tue Sep1310 : 16 : 32CDT2022org / apache / logging / log4j / spi / StandardLevel.class
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
@gray mist interesting
so yeah, as long as one of those is on the classpath things should work
duplicates cause other problems but ClassNotFound is not one of them
makes me appreciate the work they had to do to get minecraft work with jlink
okay so
java --illegal-access=warn -Djava.security.manager=allow -Dfile.encoding=UTF-8 -jar minecraft.jar nogui
none of the --add-opens matter
(for the purposes of your error)
java -jar minecraft.jar nogui
neither do any of the other options
do you ever set --class-path?
like, are there jars besides minecraft.jar that matter?
java <ALL THE ADD OPENS AND WHATEVER> --class-path ./log4j-api/2.19.0/ -jar minecraft.jar nogui
is log4j used for a plugin
or for the core thing
(if that question makes sense)
so its in the minecraft jar?
i know its used by minecraft but idk if you are loading a plugin
in which cas emaybe there are wierd rules saying what is accessible to you
idk/
keep in mind old versions of log4j have that wretched RCE bug
so you might want to replace or patch it somehow regardless
so maybe remove it from the jar and just put a new version on the classpath
Closed the thread due to inactivity.
If your question was not resolved yet, feel free to just post a message to reopen it, or create a new thread. But try to improve the quality of your question to make it easier to help you 👍
Closed the thread due to inactivity.
If your question was not resolved yet, feel free to just post a message to reopen it, or create a new thread. But try to improve the quality of your question to make it easier to help you 👍