Minecraft Forums
Not able to access Jar file Error
Hiya so I have seen this issue a million times and have read plenty about it. I myself have tried everything I have seen to no avail.
A quick rundown of my problems:
-If I double click the 1.12.2 java jar file after download, It does nothing but flash a cmd.exe box and does not create any extra files after it closes in the folder or downloads file it was stored in.
-I attempted 3 different versions of the batch file method but I get the Not able to access jar file error (I opened up the Cmd.exe from the file so the file path is correct/ I also renamed the Jar itself and in the batch file to match about 10 times to no results)
-I have the latest version of Java
for some reason it still says the path is wrong but I have even run the cmd directly from the file and tried the: java -jar minecraft_server1.12.2 line and it gave me the same error.
any help would be much appreciated
- Glowstone Miner
- Location: gcg
- Join Date: 5/2/2014
- Posts: 3,089
- Location: Wales, UK
- Minecraft: That_Welsh_Git
- Xbox: ThatWelshGit
- PSN: That_Welsh_Git
- Member Details
try just using the third line of your startup script (the java line)
- Out of the Water
- Join Date: 4/4/2018
- Posts: 5
- Member Details
So I did as you asked and I once again got the unable to access jarfile minecraft_server.1.12.2
- Iron Miner
- Join Date: 10/28/2010
- Posts: 284
- Member Details
Here’s a couple things to try, it may or may not work.
In your batch file, change this:
java -Xms2048M -Xmx2048M -jar minecraft_server.1.12.2 nogui
java -Xms2048M -Xmx2048M -jar minecraft_server.1.12.2 .jar nogui
(I included the .jar extension)
Or this other idea:
If you’re comfortable with DOS commands, then open a command prompt and go to c:\users\mike\desktop\server. Type in ‘dir’ (that’s short for ‘directory’), and see what appears — your ‘minecraft_server.1.12.2’ should show up as ‘minecraft_server.1.12.2.jar’ (it’ll have a .jar extension). But your batch file may be having a problem with all the periods in its name, so you might want to rename the file to something like ‘mcserver_1122’ or something like that. In the command prompt, type ‘ren minecraft_server.1.12.2.jar mcserver_1122.jar’ (‘ren’ is short for ‘rename’) and then type ‘dir’, and you should see ‘mcserver_1122.jar’ (that’s what you’re going to want to put into your batch file, call it ‘mcserver_1122.jar’). After all that is done, try to start up your batch file again and see what happens.
- Glowstone Miner
- Location: gcg
- Join Date: 5/2/2014
- Posts: 3,089
- Location: Wales, UK
- Minecraft: That_Welsh_Git
- Xbox: ThatWelshGit
- PSN: That_Welsh_Git
- Member Details
Here’s a couple things to try, it may or may not work.
In your batch file, change this:
java -Xms2048M -Xmx2048M -jar minecraft_server.1.12.2 nogui
java -Xms2048M -Xmx2048M -jar minecraft_server.1.12.2 .jar nogui
(I included the .jar extension)
Or this other idea:
If you’re comfortable with DOS commands, then open a command prompt and go to c:\users\mike\desktop\server. Type in ‘dir’ (that’s short for ‘directory’), and see what appears — your ‘minecraft_server.1.12.2’ should show up as ‘minecraft_server.1.12.2.jar’ (it’ll have a .jar extension). But your batch file may be having a problem with all the periods in its name, so you might want to rename the file to something like ‘mcserver_1122’ or something like that. In the command prompt, type ‘ren minecraft_server.1.12.2.jar mcserver_1122.jar’ (‘ren’ is short for ‘rename’) and then type ‘dir’, and you should see ‘mcserver_1122.jar’ (that’s what you’re going to want to put into your batch file, call it ‘mcserver_1122.jar’). After all that is done, try to start up your batch file again and see what happens.
Minecraft Forums
Missing Minecraft.jar File
I have an install of Minecraft that had not been changed or modded. I can log in but want to add a mod. I do not have minecraft.jar file. I have enabled all hidden files and extensions. I tried to use Magic Launcher and it says missing minecraft.jar and will not log in. How can I get this file back?
I’m running version 1.7.9 on Windows 7.
- Cobalt Miner
- Join Date: 12/9/2012
- Posts: 1,666
- Minecraft: poiihy
- Member Details
- Cobalt Miner
- Join Date: 5/13/2011
- Posts: 42
- Minecraft: DuckSaysHi
- Member Details
- Out of the Water
- Join Date: 5/30/2014
- Posts: 2
- Member Details
- Cobalt Miner
- Join Date: 12/9/2012
- Posts: 1,666
- Minecraft: poiihy
- Member Details
Everytime you start minecraft, the version is checked to see if it is correct. If you modify the version, the launcher will replace it with a new one.
To fix this you have to change the name of the folder, the jar and json files, and the id inside the json file.
(i have tried modding this way but it never worked, the jar tries to fix the version and it requests it from the server, but the server gives an error becuse it doesnt exist.)
Look on the internet on how to do this, i may not be correct (i use forge)
База знаний
Error: Unable to access jarfile server.jar
Эта ошибка означает что сервер не может получить доступ к исполняемому jar файлу. Вам необходимо переименовать ваш исполняемый jar файл в server.jar (важно: необходимо соблюсти регистр всех букв — должны быть строчными).
Если у вас его вовсе нет файла server.jar следуйте инструкции: https://craftbuy.ru/index.php?rp=/knowledgebase/6/—.html
Error: Invalid or corrupt jarfile server.jar
Error: An unexpected error occurred while trying to open file server.jar
Эти ошибки означают что ваш исполняемый jar файл повреждён, либо что-то другое случилось с файлом. В этом случае загрузите его заново, либо скачайте другой. Некоторые проверенные есть у нас на сайте: https://craftbuy.ru/index.php?rp=/knowledgebase/6/—.html
- ERROR, Unable to access jarfile server.jar, server.jar, Invalid or corrupt jarfile server.jar, An unexpected error occurred while trying to open file server.ja 963 Пользователи нашли это полезным
Связанные статьи
Если у вас не получается войти в игру и вы видите ошибку указанную в заголовке (или другую.
Следующие рекомендации помогут вам решить проблемы с подключением к серверу:1) Проверьте точность.
Рядом с точкой спавна есть защищенная зона, блоки в которой могут ставить и уничтожать только.
Удалите все файлы из Вашей папки мира сервера или укажите новое имя мира в параметре level-name в.
Это значит, что порт, который использует сервер, уже занят, или доступ к нему закрыт. Отключите.
3 способа исправить ошибку невозможности доступа к Jarfile в Minecraft (01.12.23)
Многие файлы классов Java могут столкнуться с ошибкой, которая говорит «Невозможно получить доступ к Jarfile». JAR — это формат файла пакета. Он используется большинством файлов классов Java для объединения всех связанных файлов reimgs и метаданных в единый пакет для распространения. Ошибка, называемая «Невозможно получить доступ к JAR-файлу», возникает, когда файл Java не может найти JAR.
Эта ошибка также может возникать во время игры в Minecraft и может помешать игрокам выполнять несколько задач во время игры. построен и работает на Java. Вы должны попытаться исправить эту ошибку немедленно, так как это довольно проблематично и мешает игрокам правильно играть в игру.
Популярные уроки Minecraft
Эта ошибка чаще всего возникает, когда игроки используют устаревшую версию Java. Программы не могут запускать файлы JAR без помощи последней версии Java, поэтому очень важно установить последнюю версию Java. Вот что вам нужно сделать, чтобы установить последнее обновление для Java в Microsoft Windows.
- Перейдите на рабочий стол и одновременно нажмите кнопки «Windows» и «R» на клавиатуре. Это должно открыть диалоговое меню запуска.
- Введите appwiz.cpl в диалоговом окне запуска и нажмите ввод или нажмите кнопку ОК.
- Меню «Программы и компоненты» откроется после ты делаешь это. Просто перейдите к пункту Java в этом меню и щелкните его правой кнопкой мыши.
- После этого вы получите возможность удалить Java. Выберите этот вариант.
- После удаления программы перейдите на официальный сайт Java через браузер. Веб-сайт позволит вам загрузить последнюю версию.
Просто перезагрузите компьютер после того, как вы закончите установку последней версии Java, и попробуйте запустить Minecraft и играть в нее. Это должно предотвратить повторение ошибки.
Проверка на вирусы и вредоносное ПО
Вредоносное ПО может сделать невозможным доступ к файлам JAR, поскольку они могут изменять несколько ключей . Эти изменения обычно могут вызывать эту ошибку, поэтому вам следует попытаться запустить проверку на своем компьютере и найти все существующие вредоносные программы. Простого использования антивирусного приложения должно быть достаточно, чтобы найти и устранить любые проблемы.
Установите для ассоциации файлов значение по умолчанию
Изменение ассоциации файлов — простой способ избавиться от этой проблемы. Просто следуйте инструкциям ниже, и вы сможете изменить ассоциацию файлов на значение по умолчанию.
- Перейдите туда, где находится файл JAR на вашем компьютере, и щелкните файл правой кнопкой мыши. Это предоставит вам возможность открыть файл с помощью Java.
- После этого нажмите кнопки «Windows» и «I» на клавиатуре. Откроется меню настроек.
- Перейдите в меню приложений в этих настройках и выберите вариант приложения по умолчанию.
- Нажмите «Выбрать приложения по умолчанию по типу файла» и попробуйте найти файл .jar.
После этого убедитесь, что файл выбран для открытия с помощью Java, а затем сохраните изменения. Это должно решить проблему.
YouTube видео: 3 способа исправить ошибку невозможности доступа к Jarfile в Minecraft
Minecraft Forums
This thread was marked as Locked by user-6840779 .
«Unable to access jarfile minecraft_server.jar» Error
- li» data-page-inline=»False» data-scroll-inline=»False»>
- Zombie Killer
- Join Date: 1/9/2011
- Posts: 244
- Member Details
Alright, my port is open and I’ve downloaded Minecraft SMP.
The Minecraft server log tells me that all I need to do is type in «java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui» to start up my server, but when I do this in the command prompt (with java replaced with the specific pathway to java.exe) it gives me the error message «Unable to access jarfile minecraft_server.jar»
What can I do? I’ve already successfully set up a Minecraft Classic Server, but I can’t figure out what’s wrong this time.
- Zombie Killer
- Join Date: 1/9/2011
- Posts: 244
- Member Details
- Newly Spawned
- Join Date: 5/28/2011
- Posts: 1
- Member Details
Buckweiser$ java -Xmx1024M -Xms1024M -jar ./minecraft_server.jar nogui
148 recipes
16 achievements
2011-05-28 16:30:47 [INFO] Starting minecraft server version Beta 1.6.5
2011-05-28 16:30:47 [INFO] Loading properties
2011-05-28 16:30:47 [WARNING] server.properties does not exist
2011-05-28 16:30:47 [INFO] Generating new properties file
2011-05-28 16:30:47 [INFO] Starting Minecraft server on *:25565
2011-05-28 16:30:47 [WARNING] **** FAILED TO BIND TO PORT!
2011-05-28 16:30:47 [WARNING] The exception was: java.net.BindException: Address already in use
2011-05-28 16:30:47 [WARNING] Perhaps a server is already running on that port?
Then I moved it to my desktop and opened it as a jar file. It created the server properties and server log files. But did not work. Then I changed the IP in my server properties, it didn’t work. Then I typed in the launch server command into terminal:
Then I got the same error I started with: