Solved Fix for Error "Unable to access jarfile" (DW20 SVR)

deathdragonaw

New Member
Jul 29, 2019
21
0
0
I spend several hours on fixing this error which appeared for me with the latest Direwolf20 Update. While trying to start the Server with the .sh File or manually by entering the line in the console the error: "Unable to access jarfile" appeared.

99% of the googled solutions say the file is not there or wrong named, but this was not the case. I also tried renaming it to simply just "ftb.jar" but this also didn't help.

After playing with the lovely ubuntu permissions for the user and groups and still not getting it to work i found the solution deep in the internet from a random vanilla minecraft server forum topic. By simply putting "./" infront of the jarfile name it works now finally *.*

Don't ask me why the fuck ... but i just want to leave this here and help others who get the same shitty error. So change for example from

Code:
java -Xms2G -Xmx8G -XX:PermSize=128m -jar FTBServer-1.6.4-965.jar nogui

to

Code:
java -Xms2G -Xmx8G -XX:PermSize=128m -jar ./FTBServer-1.6.4-965.jar nogui
 

MrBrunty

New Member
Jul 29, 2019
257
0
0
in linux command line ./ means execute or launch. Like double clicking an icon in windows