ServerLaunchWrapper Invisible

Last login: Wed Apr 7 06:02:03 on ttys000

Jordyns-MacBook-Air:~ jordyn$ /Users/jordyn/Desktop/Multiplayer\ Server/launch.command ; exit;

usage: dirname path

Error: Unable to access jarfile forge-1.12.2-14.23.5.2854.jar

logout

Saving session…

…copying shared history…

…saving history…truncating history files…

…completed.

[Process completed]

the forge file is correct

This wont fix the issue but it may give me a pointer to whats going wrong.

Between line 2 and 3, add the following

ls /b/s

That will state what folder the command line thinks your in

Last login: Wed Apr 7 06:13:47 on ttys000
/Users/jordyn/Desktop/Multiplayer\ Server/launch.command ; exit;
Jordyns-MacBook-Air:~ jordyn$ /Users/jordyn/Desktop/Multiplayer\ Server/launch.command ; exit;
usage: dirname path
ls: /b/s: No such file or directory
Error: Unable to access jarfile forge-1.12.2-14.23.5.2854.jar
logout
Saving session…
…copying shared history…
…saving history…truncating history files…
…completed.

[Process completed]

it says ls: /b/s: No such file or directory

Try changing the “cd” command to

cd "Users/jordyn/Desktop/Multiplayer Server/"

Thats forcing it to run in your servers folder

change the second line?

if so then it still does not work

Last login: Wed Apr 7 06:36:29 on ttys000

/Users/jordyn/Desktop/Multiplayer\ Server/launch.command ; exit;

Jordyns-MacBook-Air:~ jordyn$ /Users/jordyn/Desktop/Multiplayer\ Server/launch.command ; exit;

/Users/jordyn/Desktop/Multiplayer Server/launch.command: line 2: cd: Users/jordyn/Desktop/Multiplayer Server/: No such file or directory

Error: Unable to access jarfile forge-1.12.2-14.23.5.2854.jar

logout

Saving session…

…copying shared history…

…saving history…truncating history files…

…completed.

[Process completed]

Just making sure. This is where your server is?

Users/jordyn/Desktop/Multiplayer Server

yes it is in my desktop

Oh shoot forgot the root slash.

Try this.

cd "/Users/jordyn/Desktop/Multiplayer Server/"

Last login: Wed Apr 7 06:37:13 on ttys000

/Users/jordyn/Desktop/Multiplayer\ Server/launch.command ; exit;

Jordyns-MacBook-Air:~ jordyn$ /Users/jordyn/Desktop/Multiplayer\ Server/launch.command ; exit;

A problem occurred running the 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:64)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:564)

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.(Launch.java:34)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

… 6 more

logout

Saving session…

…copying shared history…

…saving history…truncating history files…

…completed.

[Process completed]

i think were back to the start

Its gone back to a different jar … No idea how it bypassed that

wdym different jar

Sorry i mean different java version

oh ok, so what do we do

Find out why java 15 is still installed and uninstall it

we already tried to uninstall it and download java 8 but it just downloads java 15

Java wants you to stop using Java 8, so they may redirect you to java 15 (the latest).

Here is a direct download to java 8 for macos
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=244059_89d678f2be164786b292527658ca1605

i installed it but i still have java 15

Try fully uninstalling this way