Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Unable to access jarfile craftbukkit.jar

ugh ugh ugh

  • Please log in to reply
13 replies to this topic

#1

Milocafe
  • Location: Creeper City
  • Minecraft: milocafe

Posted 13 May 2012 - 03:26 PM

Hello Fellas. I need some help with some technical difficulties that a beginer of tech cannot fix: This error: Unable to access jarfile craftbukkit.jar. It is in same file, but when I try to rename the craftbukkit 1.2.5 whatever it says The action cant be completed because the file is open in Java.

All my java stuff is closed. Minecraft and all. The only thing open is Google Chrome, server folder and downloads folder.

I am a Windows user obviously.

PLEASE HELP ME!
/static/images/banner_89.png[/img][/url] [SSSS]

Register or log in to remove.

#2

zm_sky
    zm_sky

    Tree Puncher

  • Members
  • 24 posts
  • Location: Mexico
  • Minecraft: zm-sky

Posted 14 May 2012 - 03:18 AM

View PostMilocafe, on 13 May 2012 - 03:26 PM, said:

Hello Fellas. I need some help with some technical difficulties that a beginer of tech cannot fix: This error: Unable to access jarfile craftbukkit.jar. It is in same file, but when I try to rename the craftbukkit 1.2.5 whatever it says The action cant be completed because the file is open in Java.

All my java stuff is closed. Minecraft and all. The only thing open is Google Chrome, server folder and downloads folder.

I am a Windows user obviously.

PLEASE HELP ME!

Is your windows 32-bit?
If it is simply open up notepad and type:

@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
PAUSE
Save it as RUN.bat
If you are using a 64-bit machine then change %ProgramFiles% to %ProgramFiles(x86)%
Where it says "craftbukkit.jar" the name of the file must be the same as within the code.

If that doesnt work, then simply put this:

@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
java -Xmx1024M -Xms1024M -jar craftbukkit-1.2.5-R1.0.jar
PAUSE

Again, where it starts with "craftbukkit-1.2.5-R1.0.jar" the file must be named exactly as it is shown.
If its named different, replace the name of the file in the code :)
That should do.

#3

Bambamalicious

Posted 14 May 2012 - 06:04 PM

if this doesnt work, when you open task manager, look for the PROCESS javaw.exe this is the server running in the background with no console, stop the process, then restart the server using the run.bat and job is a good'un!!

Posted Image

Click the Banner to Visit Our Website!!


#4

Fuinncoll

Posted 15 July 2012 - 09:37 PM

im havin the same problem D:

#5

yvagary
    yvagary

    Newly Spawned

  • Members
  • 1 posts
  • Location: United States
  • Minecraft: yvagary

Posted 25 July 2012 - 01:16 AM

Hello Friend,
I have problem, When I tried to update my craftbukkit.jar file, it totally crash my server whenever I try to turn my server on this is what it says..."C:/Documents and Settings" etc "Error: Unable to access jarfile craftbukkit.jar" then "Press any key to continue..." I need my server up! I need to finish it D=
PLEASE HELP ME I'VE GOTTA GET THAT SERVER UP!
Posted Image

#6

CookieWolfe
  • Location: ノルウェー

Posted 25 July 2012 - 01:33 AM

View Postyvagary, on 25 July 2012 - 01:16 AM, said:

Hello Friend,
I have problem, When I tried to update my craftbukkit.jar file, it totally crash my server whenever I try to turn my server on this is what it says..."C:/Documents and Settings" etc "Error: Unable to access jarfile craftbukkit.jar" then "Press any key to continue..." I need my server up! I need to finish it D=
PLEASE HELP ME I'VE GOTTA GET THAT SERVER UP!

Make sure your craftbukkit.jar is called that, secondly the jarfile could be corrupted. And make sure it is a .jar file. Hope that helps
Posted Image

#7

rabekid1
    rabekid1

    Out of the Water

  • Members
  • 6 posts

Posted 27 July 2012 - 11:24 PM

I am having the same issue as the OP. I tried some of the suggestions in the other posts, but am still getting the same Error Message even after changing the run.bat file. Any other ideas?

#8

hyppoline

Posted 03 August 2012 - 08:30 AM

View PostFuinncoll, on 15 July 2012 - 09:37 PM, said:

im havin the same problem D:
me 2

#9

Munkeywaxx
  • Location: United Kingdom, Cornwall
  • Minecraft: Munkeywaxx
  • Xbox:iMunkeywaxx

Posted 03 August 2012 - 12:35 PM

View PostBambamalicious, on 14 May 2012 - 06:04 PM, said:

if this doesnt work, when you open task manager, look for the PROCESS javaw.exe this is the server running in the background with no console, stop the process, then restart the server using the run.bat and job is a good'un!!

you need to end process on all java applications.

javaw.exe
java.exe both need to be ended

also, rename the file in the .bat to what ever you re-named your server.jar

Need help with permissions? Look no further - Twitch.tv/Munkeywaxx -

Posted Image


#10

Peppyraven26

Posted 03 September 2012 - 08:07 AM

HELP. im having problems when i go to open my RUN.bat file it closes right away and i cant get it to start.

#11

JohnnyRazer

Posted 13 October 2012 - 03:44 PM

hello :D i found the problem:
the news craftbukkit-1.3.2-R1.0 dosent mach with the olds craftbukkit-1.2.5-R1.0.jar, so just change the run.bat
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit-1.2.5-R1.0
PAUSE

for


@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit-1.3.2-R1.0
PAUSE
or somefind like that ;)

#12

Munkeywaxx
  • Location: United Kingdom, Cornwall
  • Minecraft: Munkeywaxx
  • Xbox:iMunkeywaxx

Posted 13 October 2012 - 03:51 PM

or in future to avoid using a .bat to run your server.
use this


its ALOT easier than trying to figure out what goes where in the text file

Need help with permissions? Look no further - Twitch.tv/Munkeywaxx -

Posted Image


#13

TheRoyalTurk

Posted 24 October 2012 - 07:58 AM

I HAVE AN PROBLEM! PLEASE SOMEONE HELP!

If I go to Minecraft.net and I start Downloading and everything, It says Unable to acces jarfile C:\users\birkan\Downloads\Minecraft (8).exe

I tried everything, Even most of the time I don't get wtf you guys say '-' XD
But Please, I wanna play Minecraft, But my darn comp doesn't work, It also says the same on other games, But still idk how to do it.. Please, Some1 help? :)

#14

creepersdontcreep

Posted 04 March 2013 - 04:51 PM

HELP ME TO IT SAYS . unable to acces jarfile craftbukkit