F5F Stay Refreshed Software Operating Systems Server modification problem during class deployment

Server modification problem during class deployment

Server modification problem during class deployment

T
TheAlexZ_
Member
210
06-07-2023, 07:15 AM
#1
Can't solve the issue, any suggestions? Just got a server install from that link. (Running on Linux) Also, is this the correct forum to share this? Logs: wowitsaserver@wowItsAServer:~/ Desktop/ModdedServer$ java -Xms3024M -Xmx3048M -jar Forge.jar nogui A problem happened when running Server launcher.java.lang.reflect. InvocationTargetException at java.base/jdk.internal. reflect. NativeMethodAccessorImpl. invoke0(Native Method) at java.base/jdk.internal. reflect. NativeMethodAccessorImpl. invoke( NativeMethodAccessorImpl.java: 62) at java.base/jdk.internal. reflect. DelegatingMethodAccessorImpl. invoke( DelegatingMethodAccessorImpl. java:43) at java.base/java.lang.reflect. Method.invoke(Method.java:566) at net.minecraftforge.fml. relauncher. ServerLaunchWrapper.run( ServerLaunchWrapper.java:70) at net.minecraftforge.fml. relauncher. ServerLaunchWrapper.main( ServerLaunchWrapper.java:34) Caused by: java.lang.ClassCastException: class jdk.internal.loader. ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader. ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap') at net.minecraft.launchwrapper. Launch.<init>(Launch.java:34) at net.minecraft.launchwrapper. Launch.main(Launch.java:28) ... 6 more
T
TheAlexZ_
06-07-2023, 07:15 AM #1

Can't solve the issue, any suggestions? Just got a server install from that link. (Running on Linux) Also, is this the correct forum to share this? Logs: wowitsaserver@wowItsAServer:~/ Desktop/ModdedServer$ java -Xms3024M -Xmx3048M -jar Forge.jar nogui A problem happened when running Server launcher.java.lang.reflect. InvocationTargetException at java.base/jdk.internal. reflect. NativeMethodAccessorImpl. invoke0(Native Method) at java.base/jdk.internal. reflect. NativeMethodAccessorImpl. invoke( NativeMethodAccessorImpl.java: 62) at java.base/jdk.internal. reflect. DelegatingMethodAccessorImpl. invoke( DelegatingMethodAccessorImpl. java:43) at java.base/java.lang.reflect. Method.invoke(Method.java:566) at net.minecraftforge.fml. relauncher. ServerLaunchWrapper.run( ServerLaunchWrapper.java:70) at net.minecraftforge.fml. relauncher. ServerLaunchWrapper.main( ServerLaunchWrapper.java:34) Caused by: java.lang.ClassCastException: class jdk.internal.loader. ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader. ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap') at net.minecraft.launchwrapper. Launch.<init>(Launch.java:34) at net.minecraft.launchwrapper. Launch.main(Launch.java:28) ... 6 more

S
SilverAnderman
Junior Member
16
06-09-2023, 04:18 AM
#2
Using Java 8 features such as streams and lambda expressions.
S
SilverAnderman
06-09-2023, 04:18 AM #2

Using Java 8 features such as streams and lambda expressions.

B
black_energy_
Member
137
06-09-2023, 12:17 PM
#3
updated to 1.8.0_241 with no impact
B
black_energy_
06-09-2023, 12:17 PM #3

updated to 1.8.0_241 with no impact

F
fish_tommy
Member
218
06-09-2023, 07:05 PM
#4
Confirm you're running the correct Java application? It works on my setup with Java 8. Java 9 (open JDK 9) PS C:\Users\\Downloads\java-se-9-ri\jdk-9\bin> .\java.exe -jar ..\..\..\tcp\Forge.jar is fine.
F
fish_tommy
06-09-2023, 07:05 PM #4

Confirm you're running the correct Java application? It works on my setup with Java 8. Java 9 (open JDK 9) PS C:\Users\\Downloads\java-se-9-ri\jdk-9\bin> .\java.exe -jar ..\..\..\tcp\Forge.jar is fine.

S
Syralixes
Junior Member
7
06-11-2023, 09:03 PM
#5
Thanks for your assistance, it seems Linux has some issues with forge. I moved to Windows and everything functioned perfectly. (Running in a VM wasn’t too big of a problem)
S
Syralixes
06-11-2023, 09:03 PM #5

Thanks for your assistance, it seems Linux has some issues with forge. I moved to Windows and everything functioned perfectly. (Running in a VM wasn’t too big of a problem)