run.bat cant find my .jar

Are you new to setting up a server and need a bit of pointing in the right direction? This is the place to be.

Post Permalink
by Ritgron » 2/26/2012

i run my bukkit server starter thing.. the text document contains the following..
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
PAUSE
iv tried all the other ones from the site as well and yes save it as RUN.bat and it does say that its a windows batch file... but for some reason it cant ever seem to find the craftbukkit-1.1-R4.jar and iv even renamed it re downloaded it re pasted it and all sorts of different stuff.. can you tell me how i can fix this?
Level 1
New Miner
Posts: 45
Joined: 12/26/11

Post Permalink
by lmb402 » 2/26/2012

i have the same problem and posted it here its getting on my nerves
Image
User avatar
Level 19
Journeyman Dragonborn
Posts: 291
Joined: 1/30/12

Post Permalink
by sed11 » 2/26/2012

re-name your craftbukkit(Version).jar to craftbukkit.jar *You don't put in the .jar since its already that way.*
Image

Image

Image

Image

Image

Creepers gonna Creep!
User avatar
Forum Moderator
Level 56
Grandmaster Creeper
Posts: 6595
Joined: 7/9/11
Minecraft: cjw12

Post Permalink
by Ritgron » 2/26/2012

take out .jar worked!!! wow. thank you.. lmfao
Level 1
New Miner
Posts: 45
Joined: 12/26/11

Post Permalink
by sed11 » 2/26/2012

Try using a different code from the minecraftwiki. *The command/code it gives you in the middle of that section I think.*

EDIT: How can bukkit work without a craftbukkit .jar >_>
Image

Image

Image

Image

Image

Creepers gonna Creep!
User avatar
Forum Moderator
Level 56
Grandmaster Creeper
Posts: 6595
Joined: 7/9/11
Minecraft: cjw12

Post Permalink
by Ritgron » 2/26/2012

no i renamed it.. and took out the .jar and it only works when i had the run.bat done start.bat this shit is wayy too delicate.. lol
Level 1
New Miner
Posts: 45
Joined: 12/26/11

Post Permalink
by lmb402 » 2/26/2012

it says i cant rename it because it is listed in another program?
Image
User avatar
Level 19
Journeyman Dragonborn
Posts: 291
Joined: 1/30/12

Post Permalink
by Ritgron » 2/26/2012

that happened to me a few times too.. it like is running the server.. u gotta restart ur comp.. or u could go play on it without.. even being able to save or anything
Level 1
New Miner
Posts: 45
Joined: 12/26/11

Post Permalink
by lmb402 » 2/26/2012

i restarted it still doesnt work
Image
User avatar
Level 19
Journeyman Dragonborn
Posts: 291
Joined: 1/30/12

Post Permalink
by unitys » 5/17/2012

Ritgron wrote:i run my bukkit server starter thing.. the text document contains the following..
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
PAUSE
iv tried all the other ones from the site as well and yes save it as RUN.bat and it does say that its a windows batch file... but for some reason it cant ever seem to find the craftbukkit-1.1-R4.jar and iv even renamed it re downloaded it re pasted it and all sorts of different stuff.. can you tell me how i can fix this?

@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar

see what i changed? the (x86) behind programfiles. NO SPACE INBETWEEN THEM
User avatar
Level 6
Apprentice Dragon
Posts: 25
Joined: 12/12/11

Post Permalink
by Rogue » 5/17/2012

If you have extensions hidden, then yes, you shouldn't see a .jar extension. If you are prompted about changing the filetype, do not remove the .jar. Otherwise, feel free to do so.
Currently developing: TotalPermissions, a new upcoming permissions plugin.
Please don't PM me with problems, post them instead so others can help! :)
User avatar
Level 1
New Crafter
Posts: 544
Joined: 11/4/11

Post Permalink
by sed11 » 5/17/2012

I see this was revived.
Image

Image

Image

Image

Image

Creepers gonna Creep!
User avatar
Forum Moderator
Level 56
Grandmaster Creeper
Posts: 6595
Joined: 7/9/11
Minecraft: cjw12

Next

Return to Server Help