Jump to content

Help
Latest News Article

Bukkit Server


25 replies to this topic

#1

    itsdvw

    Tree Puncher

  • Members
  • 15 posts

Posted 22 February 2012 - 07:31 PM

i have craftbukkit.jar, i have winRAR, i have Java7 i have minecraft server.exe, i have a file under Server.bat these are the contents of the batch file >>>>> @echo off
"%ProgramFiles%\Java\jre6\bin\java.exe" -Xms512M -Xmx512M -jar craftbukkit.jar
pause help please!!!

Register or log in to remove.

#2

    webrosc

    Void Walker

  • Members
  • 1934 posts
  • Location: SW UK
  • Minecraft: webrosc

Posted 22 February 2012 - 07:34 PM

what is the problem exactly?

if you have bukkit you don't need the minecraft_server.exe
Failed to bind to port error? Then remove your ip from the server.properties file.

#3

    ecaep42

    Zombie Killer

  • Members
  • 154 posts
  • Location: My Location? Thats simple! My location is at that one place during that one time for that one reason, do you remember? That one place for the one reason for some time? It was great!
  • Minecraft: ecaep42
  • Xbox:Z 1 9 X

Posted 22 February 2012 - 07:38 PM

Try running the server.bat. :)
Hear the sound of the falling rain, coming down like an Armageddon flame, the shame, the ones who died without a name. Hear the dogs howling out of key, to a hymn called "Faith and Misery", and bleed, the company lost the war today.

#4

    itsdvw

    Tree Puncher

  • Members
  • 15 posts

Posted 22 February 2012 - 07:39 PM

View Postwebrosc, on 22 February 2012 - 07:34 PM, said:

what is the problem exactly?

if you have bukkit you don't need the minecraft_server.exe
ohhhhh so if i get rid of this im fine ?

#5

Posted 22 February 2012 - 07:40 PM

Try "java -version". If that command works, you should see java version information. If you see the java info, edit your batch file and get rid of the file folder info, should look like this." java -Xms512M -Xmx512M -jar craftbukkit.jar"

%ProgramFiles%\Java\jre6\bin\java.exe" -Xms512M -Xmx512M -jar craftbukkit.jar ,probably should be \jre7
Posted Image

#6

    itsdvw

    Tree Puncher

  • Members
  • 15 posts

Posted 22 February 2012 - 07:41 PM

View Postecaep42, on 22 February 2012 - 07:38 PM, said:

Try running the server.bat. :)
did this came up unable to access jarfile craftbukkit.jar

#7

Posted 22 February 2012 - 07:43 PM

View Postitsdvw, on 22 February 2012 - 07:41 PM, said:

did this came up unable to access jarfile craftbukkit.jar

Crafbukkit.jar is more likely this way crafbukkit-1.1-R4.jar
Posted Image

#8

    itsdvw

    Tree Puncher

  • Members
  • 15 posts

Posted 22 February 2012 - 07:46 PM

View PostAcidSikeO, on 22 February 2012 - 07:40 PM, said:

Try "java -version". If that command works, you should see java version information. If you see the java info, edit your batch file and get rid of the file folder info, should look like this." java -Xms512M -Xmx512M -jar craftbukkit.jar"

%ProgramFiles%\Java\jre6\bin\java.exe" -Xms512M -Xmx512M -jar craftbukkit.jar ,probably should be \jre7
im sorry this made no sense to me can you make it easier to understand as im bit new ive followed many guides to make this server

View PostAcidSikeO, on 22 February 2012 - 07:43 PM, said:

Crafbukkit.jar is more likely this way crafbukkit-1.1-R4.jar
i have craftbukkit-1.1-R5-SNAPSHOT

#9

Posted 22 February 2012 - 07:48 PM

View Postitsdvw, on 22 February 2012 - 07:44 PM, said:

im sorry this made no sense to me can you make it easier to understand as im bit new ive followed many guides to make this server

You say you are running java 7. The directory names are changed to reflect the version. So, the jre6 in the start line of your batch file likely needs to be jre7. You should look for the file folder where it indicates and make sure the directory link up is correct.

View Postitsdvw, on 22 February 2012 - 07:46 PM, said:

im sorry this made no sense to me can you make it easier to understand as im bit new ive followed many guides to make this server


i have craftbukkit-1.1-R5-SNAPSHOT

Ok, so make sure the filename is correct in your start up batch file.
Posted Image

#10

    ecaep42

    Zombie Killer

  • Members
  • 154 posts
  • Location: My Location? Thats simple! My location is at that one place during that one time for that one reason, do you remember? That one place for the one reason for some time? It was great!
  • Minecraft: ecaep42
  • Xbox:Z 1 9 X

Posted 22 February 2012 - 07:51 PM

View Postitsdvw, on 22 February 2012 - 07:41 PM, said:

did this came up unable to access jarfile craftbukkit.jar
hmm. Try going to this topic so it can be more easier to use.

Also, if you use a 64 bit system, change "C:/Program Files/Java/jre6/bin/java.exe" to "C:/Program Files (x86)/Java/jre6/bin/java.exe".

You could also try using a complexer code to auto-detect your system bit.

Replace the entire .bat file to

@ECHO OFF
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xincgc -Xmx1024M -jar "craftbukkit-1.1-R5-SNAPSHOT"
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86"  java -Xincgc -Xmx1024M -jar "craftbukkit-1.1-R5-SNAPSHOT"
PAUSE

then run it. It -should- work, but no promises.

edit:
You know what, just replace the .bat file with
java -Xms512M -Xmx512M -jar craftbukkit-1.1-R5-SNAPSHOT.jar
it must work.
Hear the sound of the falling rain, coming down like an Armageddon flame, the shame, the ones who died without a name. Hear the dogs howling out of key, to a hymn called "Faith and Misery", and bleed, the company lost the war today.

#11

    itsdvw

    Tree Puncher

  • Members
  • 15 posts

Posted 22 February 2012 - 07:51 PM

View PostAcidSikeO, on 22 February 2012 - 07:48 PM, said:

You say you are running java 7. The directory names are changed to reflect the version. So, the jre6 in the start line of your batch file likely needs to be jre7. You should look for the file folder where it indicates and make sure the directory link up is correct.



Ok, so make sure the filename is correct in your start up batch file.
@echo off
"%ProgramFiles%\Java\jre6\bin\java.exe" -Xms512M -Xmx512M -jar craftbukkit-1.1-R5-SNAPSHOT
pause is this better ?

#12

Posted 22 February 2012 - 07:53 PM

View Postitsdvw, on 22 February 2012 - 07:31 PM, said:

i have craftbukkit.jar, i have winRAR, i have Java7 i have minecraft server.exe, i have a file under Server.bat these are the contents of the batch file >>>>> @echo off
"%ProgramFiles%\Java\jre6\bin\java.exe" -Xms512M -Xmx512M -jar craftbukkit.jar
pause help please!!!
%ProgramFiles%\Java\jre6\bin\

That is the directory path that windows uses to find you java loader. Open windows explorer and navigate to Program files and look for you java install. Look for the java.exe and note the path you took to find it.
Posted Image

#13

    AmberK

    Servers Moderator

  • Sectional Moderator
  • 4855 posts

Posted 22 February 2012 - 07:54 PM

@echo off
"%ProgramFiles%\Java\jre7\bin\java.exe" -Xms512M -Xmx512M -jar craftbukkit-1.1-R5-SNAPSHOT
pause

Easiest way to get me back in the thread is to quote my post.
Future sig in the making...

#14

Posted 22 February 2012 - 07:54 PM

View Postitsdvw, on 22 February 2012 - 07:51 PM, said:

@echo off
"%ProgramFiles%\Java\jre7\bin\java.exe" -Xms512M -Xmx512M -jar craftbukkit-1.1-R5-SNAPSHOT.jar
pause is this better ?
Yeah, just make sure your path to java is correct, this should work.
Posted Image

#15

    itsdvw

    Tree Puncher

  • Members
  • 15 posts

Posted 22 February 2012 - 07:55 PM

View PostAcidSikeO, on 22 February 2012 - 07:53 PM, said:

%ProgramFiles%\Java\jre6\bin\

That is the directory path that windows uses to find you java loader. Open windows explorer and navigate to Program files and look for you java install. Look for the java.exe and note the path you took to find it.
i sound stupid now how do i do this ?

#16

    ecaep42

    Zombie Killer

  • Members
  • 154 posts
  • Location: My Location? Thats simple! My location is at that one place during that one time for that one reason, do you remember? That one place for the one reason for some time? It was great!
  • Minecraft: ecaep42
  • Xbox:Z 1 9 X

Posted 22 February 2012 - 07:57 PM

by editing the .bat file in the folder.
Hear the sound of the falling rain, coming down like an Armageddon flame, the shame, the ones who died without a name. Hear the dogs howling out of key, to a hymn called "Faith and Misery", and bleed, the company lost the war today.

#17

Posted 22 February 2012 - 08:00 PM

View PostAmberK, on 22 February 2012 - 07:54 PM, said:

@echo off
"%ProgramFiles%\Java\jre7\bin\java.exe" -Xms512M -Xmx512M -jar craftbukkit-1.1-R5-SNAPSHOT.jar
pause

Change you .bat to the above, go ahead and try that. If that doesn't work, I'll try to walk you through locating your java directory. :)
Posted Image

#18

    itsdvw

    Tree Puncher

  • Members
  • 15 posts

Posted 22 February 2012 - 08:08 PM

View PostAcidSikeO, on 22 February 2012 - 08:00 PM, said:

Change you .bat to the above, go ahead and try that. If that doesn't work, I'll try to walk you through locating your java directory. :)
THANK YOU SO MUCH YOU MY FRIEND ARE AMAZING :D THANK YOU SO MUCH NOW one more question how do i find out the ip address for my server :L sorry :)

#19

    ecaep42

    Zombie Killer

  • Members
  • 154 posts
  • Location: My Location? Thats simple! My location is at that one place during that one time for that one reason, do you remember? That one place for the one reason for some time? It was great!
  • Minecraft: ecaep42
  • Xbox:Z 1 9 X

Posted 22 February 2012 - 08:13 PM

whatismyip.com
Hear the sound of the falling rain, coming down like an Armageddon flame, the shame, the ones who died without a name. Hear the dogs howling out of key, to a hymn called "Faith and Misery", and bleed, the company lost the war today.

#20

Posted 22 February 2012 - 08:18 PM

View Postecaep42, on 22 February 2012 - 08:13 PM, said:

whatismyip.com

What he said :)
Posted Image