Jump to content

Error: Unable to access jarfile minecraft_server.1.15.2

Hi!
I know there are a lot of answers all around the web but somehow none of them has helped me yet.
As i run my start.bat as an administrator I run across an error: "Unable to access jarfile minecraft_server.1.15.2.jar"
The file name is correct, I also have 64-bit java installed. Did some troubleshooting I found online but nothing has helped.


Any ideas?

The exact start.bat content:
java -Xms1024m -Xmx1024m -jar minecraft_server.1.15.2.jar
pause

Link to comment
Share on other sites

Link to post
Share on other sites

29 minutes ago, Radeus said:

Hi!
I know there are a lot of answers all around the web but somehow none of them has helped me yet.
As i run my start.bat as an administrator I run across an error: "Unable to access jarfile minecraft_server.1.15.2.jar"
The file name is correct, I also have 64-bit java installed. Did some troubleshooting I found online but nothing has helped.


Any ideas?

The exact start.bat content:
java -Xms1024m -Xmx1024m -jar minecraft_server.1.15.2.jar
pause

The file in the right place?

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, Radeus said:

Hi!
I know there are a lot of answers all around the web but somehow none of them has helped me yet.
As i run my start.bat as an administrator I run across an error: "Unable to access jarfile minecraft_server.1.15.2.jar"
The file name is correct, I also have 64-bit java installed. Did some troubleshooting I found online but nothing has helped.


Any ideas?

The exact start.bat content:
java -Xms1024m -Xmx1024m -jar minecraft_server.1.15.2.jar
pause

Try replacing the file name with the address of the file name

ex: C:\%username%\Desktop\ServerFolder\(jar file) 

 

also have you checked if the file is even existant? Will the file open upon clicking it? 

My Rig: 

CPU: Intel i5 2500k 4 Cores, 4 Threads @ 4.5ghz ( asus uefi regulates BIOS and adjusts it, there is no manual option, so I can't get any higher than 4.5, but I theoretically should be able to get higher once I get a voltage "changeable" mobo

MOBO: Asus P8Z68 LE

RAM: Kingston HyperX Predator 2133mhz ddr3 2x8 16GB

GPU: GTX 980 TI 150+ core, 100-150 ( I forgot )+ mem ( OC ) 

HDD: 500GB 3D MLC Samsung SSD ( soon ) + 2tb 7200rpm Seagate Constellation ES.2 SAS / LSI MegaRaid MR Raid/SAS Controller

CASE: Phanteks P350X

OS: Windows 10 64-bit / Void Linux 

PERIPHERALS: IBM Model M 1984, Logitech G703 Mouse, Logitech G502 Mouse, Philips SHP9500 w/ V-Moda Boom Pro hooked up to my Sony AMP ( forgot model name, to lazy to find out ) 

 

 

 

Laptop: Gateway P-7805u FX 

CPU: 2.26GHz Intel Core 2 Duo P8400 2c/2t

RAM: 8GB DDR2 1066mhz sodimm 

GPU: Nvidia GeForce 9800M GTS

HDD: 320GB 7200rpm hard drive 2.5"

SSD: Kingston A400 250GB SSD

SCREEN: Glossy 16:9 1440x900

OS: Windows XP SP3 / Ubuntu 19.04

PERIPHERALSLogitech G Pro

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, Shepherd_Strike said:

The file in the right place?

Yep, both are in the same folder.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, MS-DOS Guy said:

Try replacing the file name with the address of the file name

ex: C:\%username%\Desktop\ServerFolder\(jar file) 

Already tried that :/

Link to comment
Share on other sites

Link to post
Share on other sites

58 minutes ago, Radeus said:

Already tried that :/

Does the jar file open upon clicking on it? Have you tried reinstalling the Minecraft Server client? 

My Rig: 

CPU: Intel i5 2500k 4 Cores, 4 Threads @ 4.5ghz ( asus uefi regulates BIOS and adjusts it, there is no manual option, so I can't get any higher than 4.5, but I theoretically should be able to get higher once I get a voltage "changeable" mobo

MOBO: Asus P8Z68 LE

RAM: Kingston HyperX Predator 2133mhz ddr3 2x8 16GB

GPU: GTX 980 TI 150+ core, 100-150 ( I forgot )+ mem ( OC ) 

HDD: 500GB 3D MLC Samsung SSD ( soon ) + 2tb 7200rpm Seagate Constellation ES.2 SAS / LSI MegaRaid MR Raid/SAS Controller

CASE: Phanteks P350X

OS: Windows 10 64-bit / Void Linux 

PERIPHERALS: IBM Model M 1984, Logitech G703 Mouse, Logitech G502 Mouse, Philips SHP9500 w/ V-Moda Boom Pro hooked up to my Sony AMP ( forgot model name, to lazy to find out ) 

 

 

 

Laptop: Gateway P-7805u FX 

CPU: 2.26GHz Intel Core 2 Duo P8400 2c/2t

RAM: 8GB DDR2 1066mhz sodimm 

GPU: Nvidia GeForce 9800M GTS

HDD: 320GB 7200rpm hard drive 2.5"

SSD: Kingston A400 250GB SSD

SCREEN: Glossy 16:9 1440x900

OS: Windows XP SP3 / Ubuntu 19.04

PERIPHERALSLogitech G Pro

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, MS-DOS Guy said:

Does the jar file open upon clicking on it? Have you tried reinstalling the Minecraft Server client? 

Wow once I clicked on it the jar actually doesn't react.

Link to comment
Share on other sites

Link to post
Share on other sites

58 minutes ago, Radeus said:

Wow once I clicked on it the jar actually doesn't react.

Try reinstalling it, that should fix the problem. If you need to transfer the world over and it's contents just grab the world and world_end/world_nether folders ( those two last folders only matter if your using a third party server client and not one from the actual site like spigot, bukkit or forge ) then transfer it over to the new server installation 

My Rig: 

CPU: Intel i5 2500k 4 Cores, 4 Threads @ 4.5ghz ( asus uefi regulates BIOS and adjusts it, there is no manual option, so I can't get any higher than 4.5, but I theoretically should be able to get higher once I get a voltage "changeable" mobo

MOBO: Asus P8Z68 LE

RAM: Kingston HyperX Predator 2133mhz ddr3 2x8 16GB

GPU: GTX 980 TI 150+ core, 100-150 ( I forgot )+ mem ( OC ) 

HDD: 500GB 3D MLC Samsung SSD ( soon ) + 2tb 7200rpm Seagate Constellation ES.2 SAS / LSI MegaRaid MR Raid/SAS Controller

CASE: Phanteks P350X

OS: Windows 10 64-bit / Void Linux 

PERIPHERALS: IBM Model M 1984, Logitech G703 Mouse, Logitech G502 Mouse, Philips SHP9500 w/ V-Moda Boom Pro hooked up to my Sony AMP ( forgot model name, to lazy to find out ) 

 

 

 

Laptop: Gateway P-7805u FX 

CPU: 2.26GHz Intel Core 2 Duo P8400 2c/2t

RAM: 8GB DDR2 1066mhz sodimm 

GPU: Nvidia GeForce 9800M GTS

HDD: 320GB 7200rpm hard drive 2.5"

SSD: Kingston A400 250GB SSD

SCREEN: Glossy 16:9 1440x900

OS: Windows XP SP3 / Ubuntu 19.04

PERIPHERALSLogitech G Pro

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Radeus said:

Wow once I clicked on it the jar actually doesn't react.

Use a program called jarfix to fix any problems with .jar files

 

Link to comment
Share on other sites

Link to post
Share on other sites

Is the EULA set to true? That might be a cause for the reason it isn't working either

My Rig: 

CPU: Intel i5 2500k 4 Cores, 4 Threads @ 4.5ghz ( asus uefi regulates BIOS and adjusts it, there is no manual option, so I can't get any higher than 4.5, but I theoretically should be able to get higher once I get a voltage "changeable" mobo

MOBO: Asus P8Z68 LE

RAM: Kingston HyperX Predator 2133mhz ddr3 2x8 16GB

GPU: GTX 980 TI 150+ core, 100-150 ( I forgot )+ mem ( OC ) 

HDD: 500GB 3D MLC Samsung SSD ( soon ) + 2tb 7200rpm Seagate Constellation ES.2 SAS / LSI MegaRaid MR Raid/SAS Controller

CASE: Phanteks P350X

OS: Windows 10 64-bit / Void Linux 

PERIPHERALS: IBM Model M 1984, Logitech G703 Mouse, Logitech G502 Mouse, Philips SHP9500 w/ V-Moda Boom Pro hooked up to my Sony AMP ( forgot model name, to lazy to find out ) 

 

 

 

Laptop: Gateway P-7805u FX 

CPU: 2.26GHz Intel Core 2 Duo P8400 2c/2t

RAM: 8GB DDR2 1066mhz sodimm 

GPU: Nvidia GeForce 9800M GTS

HDD: 320GB 7200rpm hard drive 2.5"

SSD: Kingston A400 250GB SSD

SCREEN: Glossy 16:9 1440x900

OS: Windows XP SP3 / Ubuntu 19.04

PERIPHERALSLogitech G Pro

Link to comment
Share on other sites

Link to post
Share on other sites

8 minutes ago, MS-DOS Guy said:

Try reinstalling it, that should fix the problem. If you need to transfer the world over and it's contents just grab the world and world_end/world_nether folders ( those two last folders only matter if your using a third party server client and not one from the actual site like spigot, bukkit or forge ) then transfer it over to the new server installation 

I'm not 100% sure whether my way of thinking is correct, but I haven't really managed to install it. I've just downloaded it, tried to run it with the .bat file mentioned earlier and that's where I got stuck. I've repeated the whole process and got stuck with same problem.
Also, no idea if that will help, here is a quite long error log that pops up once I try to run start.bat via regular account:
https://docs.google.com/document/d/1bM3KEeM_3u2X1ApG20FXuLuK3N6Ryj6meZUJb115w88/edit?usp=sharing

8 minutes ago, MS-DOS Guy said:

Is the EULA set to true? That might be a cause for the reason it isn't working either

No additional files, including EULA, where generated by the .jar file. Its just start.bat and minecraft_server.1.15.2.jar

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, Radeus said:

I'm not 100% sure whether my way of thinking is correct, but I haven't really managed to install it. I've just downloaded it, tried to run it with the .bat file mentioned earlier and that's where I got stuck. I've repeated the whole process and got stuck with same problem.
Also, no idea if that will help, here is a quite long error log that pops up once I try to run start.bat via regular account:
https://docs.google.com/document/d/1bM3KEeM_3u2X1ApG20FXuLuK3N6Ryj6meZUJb115w88/edit?usp=sharing

No additional files, including EULA, where generated by the .jar file. Its just start.bat and minecraft_server.1.15.2.jar

Ok so that isn't right at all, but as I suspected, the server is running because there is no EULA file being accepted. 

eulaimage.PNG.61f8afd9a55401c9bd5374c9aa537e7d.PNG

You should be clicking the minecraft_server.1.15.2.jar file until new folders and files appear. It should look like this when it's done, this is my server ( might look a little different since it's a forge server, just disregard the mods folder and the .jar file for forge otherwise all the files there should appear there ) 

myserver.PNG.c93667c5a6b6713155f29b6153866c7c.PNG

My Rig: 

CPU: Intel i5 2500k 4 Cores, 4 Threads @ 4.5ghz ( asus uefi regulates BIOS and adjusts it, there is no manual option, so I can't get any higher than 4.5, but I theoretically should be able to get higher once I get a voltage "changeable" mobo

MOBO: Asus P8Z68 LE

RAM: Kingston HyperX Predator 2133mhz ddr3 2x8 16GB

GPU: GTX 980 TI 150+ core, 100-150 ( I forgot )+ mem ( OC ) 

HDD: 500GB 3D MLC Samsung SSD ( soon ) + 2tb 7200rpm Seagate Constellation ES.2 SAS / LSI MegaRaid MR Raid/SAS Controller

CASE: Phanteks P350X

OS: Windows 10 64-bit / Void Linux 

PERIPHERALS: IBM Model M 1984, Logitech G703 Mouse, Logitech G502 Mouse, Philips SHP9500 w/ V-Moda Boom Pro hooked up to my Sony AMP ( forgot model name, to lazy to find out ) 

 

 

 

Laptop: Gateway P-7805u FX 

CPU: 2.26GHz Intel Core 2 Duo P8400 2c/2t

RAM: 8GB DDR2 1066mhz sodimm 

GPU: Nvidia GeForce 9800M GTS

HDD: 320GB 7200rpm hard drive 2.5"

SSD: Kingston A400 250GB SSD

SCREEN: Glossy 16:9 1440x900

OS: Windows XP SP3 / Ubuntu 19.04

PERIPHERALSLogitech G Pro

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, MS-DOS Guy said:

Ok so that isn't right at all, but as I suspected, the server is running because there is no EULA file being accepted. 

eulaimage.PNG.61f8afd9a55401c9bd5374c9aa537e7d.PNG

You should be clicking the minecraft_server.1.15.2.jar file until new folders and files appear. It should look like this when it's done, this is my server ( might look a little different since it's a forge server, just disregard the mods folder and the .jar file for forge otherwise all the files there should appear there ) 

myserver.PNG.c93667c5a6b6713155f29b6153866c7c.PNG

The thing is that I can't accept EULA with it not being generated in the first place. Even though I keep clicking on the .jar file it doesn't create any files. At the beginning of the error log there are some lines suggesting that it can't access the directory for some reason.

Link to comment
Share on other sites

Link to post
Share on other sites

58 minutes ago, Radeus said:

The thing is that I can't accept EULA with it not being generated in the first place. Even though I keep clicking on the .jar file it doesn't create any files. At the beginning of the error log there are some lines suggesting that it can't access the directory for some reason.

Ok i have an idea, what if I send you the server files? That's honestly really weird

My Rig: 

CPU: Intel i5 2500k 4 Cores, 4 Threads @ 4.5ghz ( asus uefi regulates BIOS and adjusts it, there is no manual option, so I can't get any higher than 4.5, but I theoretically should be able to get higher once I get a voltage "changeable" mobo

MOBO: Asus P8Z68 LE

RAM: Kingston HyperX Predator 2133mhz ddr3 2x8 16GB

GPU: GTX 980 TI 150+ core, 100-150 ( I forgot )+ mem ( OC ) 

HDD: 500GB 3D MLC Samsung SSD ( soon ) + 2tb 7200rpm Seagate Constellation ES.2 SAS / LSI MegaRaid MR Raid/SAS Controller

CASE: Phanteks P350X

OS: Windows 10 64-bit / Void Linux 

PERIPHERALS: IBM Model M 1984, Logitech G703 Mouse, Logitech G502 Mouse, Philips SHP9500 w/ V-Moda Boom Pro hooked up to my Sony AMP ( forgot model name, to lazy to find out ) 

 

 

 

Laptop: Gateway P-7805u FX 

CPU: 2.26GHz Intel Core 2 Duo P8400 2c/2t

RAM: 8GB DDR2 1066mhz sodimm 

GPU: Nvidia GeForce 9800M GTS

HDD: 320GB 7200rpm hard drive 2.5"

SSD: Kingston A400 250GB SSD

SCREEN: Glossy 16:9 1440x900

OS: Windows XP SP3 / Ubuntu 19.04

PERIPHERALSLogitech G Pro

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, MS-DOS Guy said:

Ok i have an idea, what if I send you the server files? That's honestly really weird

I'd be very grateful :D

Link to comment
Share on other sites

Link to post
Share on other sites

 

1 hour ago, Radeus said:

I'd be very grateful :D

I have a doubt in my mind this may not work but you can give it a shot.

https://drive.google.com/drive/folders/1InYsdd6EG_szeUZqlpTk--gkTzUSQEZ3?usp=sharing

If it doesn't automatically generate a world upon starting it up you may want to generate one yourself by creating a new world in single player ( up to your specifications, you could also just download a world ) then just transfer it to the folder and it's a simple as that. Also my server ip is on there so you'll have to change that. I forgot to remove that. You might also want to change the port since it's a bit different since I run multiple servers on the same pc but you don't necessarily have to change that it's just that if you want to access your server you'll have to do "(server-ip):(modified port)" ( in this case the port is 25566 ) as oppose to just your server ip to log on a server. But from that point on it's your server. 

My Rig: 

CPU: Intel i5 2500k 4 Cores, 4 Threads @ 4.5ghz ( asus uefi regulates BIOS and adjusts it, there is no manual option, so I can't get any higher than 4.5, but I theoretically should be able to get higher once I get a voltage "changeable" mobo

MOBO: Asus P8Z68 LE

RAM: Kingston HyperX Predator 2133mhz ddr3 2x8 16GB

GPU: GTX 980 TI 150+ core, 100-150 ( I forgot )+ mem ( OC ) 

HDD: 500GB 3D MLC Samsung SSD ( soon ) + 2tb 7200rpm Seagate Constellation ES.2 SAS / LSI MegaRaid MR Raid/SAS Controller

CASE: Phanteks P350X

OS: Windows 10 64-bit / Void Linux 

PERIPHERALS: IBM Model M 1984, Logitech G703 Mouse, Logitech G502 Mouse, Philips SHP9500 w/ V-Moda Boom Pro hooked up to my Sony AMP ( forgot model name, to lazy to find out ) 

 

 

 

Laptop: Gateway P-7805u FX 

CPU: 2.26GHz Intel Core 2 Duo P8400 2c/2t

RAM: 8GB DDR2 1066mhz sodimm 

GPU: Nvidia GeForce 9800M GTS

HDD: 320GB 7200rpm hard drive 2.5"

SSD: Kingston A400 250GB SSD

SCREEN: Glossy 16:9 1440x900

OS: Windows XP SP3 / Ubuntu 19.04

PERIPHERALSLogitech G Pro

Link to comment
Share on other sites

Link to post
Share on other sites

10 minutes ago, MS-DOS Guy said:

 

I have a doubt in my mind this may not work but you can give it a shot.

https://drive.google.com/drive/folders/1InYsdd6EG_szeUZqlpTk--gkTzUSQEZ3?usp=sharing

If it doesn't automatically generate a world upon starting it up you may want to generate one yourself by creating a new world in single player ( up to your specifications, you could also just download a world ) then just transfer it to the folder and it's a simple as that. Also my server ip is on there so you'll have to change that. I forgot to remove that. You would also have to change the port is different since I run multiple servers so you don't necessarily have to change that unless you really want too for some reason. But from that point it's your server. 

Well, once run by administrator its the same story as before :/

Once run via regular user though, the server's user interface actually pops up for around 1 sec, but then shuts down. The log: https://docs.google.com/document/d/12ND8wjz_ATPA-A9a9RvKWgVIVKCYrEGyFitUfZnLqxQ/edit?usp=sharing
I honestly have no idea what's causing it.

Link to comment
Share on other sites

Link to post
Share on other sites

58 minutes ago, Radeus said:

Well, once run by administrator its the same story as before :/

Once run via regular user though, the server's user interface actually pops up for around 1 sec, but then shuts down. The log: https://docs.google.com/document/d/12ND8wjz_ATPA-A9a9RvKWgVIVKCYrEGyFitUfZnLqxQ/edit?usp=sharing
I honestly have no idea what's causing it.

Change the port and IP. It's using mine. Change it to 25565 for the port and your IP. 

My Rig: 

CPU: Intel i5 2500k 4 Cores, 4 Threads @ 4.5ghz ( asus uefi regulates BIOS and adjusts it, there is no manual option, so I can't get any higher than 4.5, but I theoretically should be able to get higher once I get a voltage "changeable" mobo

MOBO: Asus P8Z68 LE

RAM: Kingston HyperX Predator 2133mhz ddr3 2x8 16GB

GPU: GTX 980 TI 150+ core, 100-150 ( I forgot )+ mem ( OC ) 

HDD: 500GB 3D MLC Samsung SSD ( soon ) + 2tb 7200rpm Seagate Constellation ES.2 SAS / LSI MegaRaid MR Raid/SAS Controller

CASE: Phanteks P350X

OS: Windows 10 64-bit / Void Linux 

PERIPHERALS: IBM Model M 1984, Logitech G703 Mouse, Logitech G502 Mouse, Philips SHP9500 w/ V-Moda Boom Pro hooked up to my Sony AMP ( forgot model name, to lazy to find out ) 

 

 

 

Laptop: Gateway P-7805u FX 

CPU: 2.26GHz Intel Core 2 Duo P8400 2c/2t

RAM: 8GB DDR2 1066mhz sodimm 

GPU: Nvidia GeForce 9800M GTS

HDD: 320GB 7200rpm hard drive 2.5"

SSD: Kingston A400 250GB SSD

SCREEN: Glossy 16:9 1440x900

OS: Windows XP SP3 / Ubuntu 19.04

PERIPHERALSLogitech G Pro

Link to comment
Share on other sites

Link to post
Share on other sites

17 hours ago, Radeus said:

The thing is that I can't accept EULA with it not being generated in the first place. Even though I keep clicking on the .jar file it doesn't create any files. At the beginning of the error log there are some lines suggesting that it can't access the directory for some reason.

For next time.. The eula is just a test file that you can create manually by making a text document called "eula.txt" and write "eula=true" inside it..

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×