Why can't I get a 1.6.4 Minecraft Bukkit Server to launch? [closed]
I followed a lot of tutorials, including Bukkit.org's steps like below:
- 1.Create a folder with your choice of names
- 2.Download the latest recommended build CraftBukkit.Jar
- 3.Place the Craftbukkit1.6.4 jar from step 2 in your folder
- 4.Rename CraftBukkit1.6.4-R2.0.Jar To CraftBukkit.jar
- 5.Open Notepad and copy and paste java -Xmx1024M -jar craftbukkit.jar -o true PAUSE
- 6.Save the Notepad text you just wrote and click save-as (Name).Bat (I did run.bat originally but it still never worked)
- 7.Double-Click Run.bat or (Name).bat and it should load your world
*This is where it failed to load anything. The problem in every set of steps I try comes up when trying to run the run.bat file. No matter what I do I always get this:
Does anyone have any idea why this happens, or how IO can fix it?
Solution 1:
The simplest thing to do is install Java again (java.com/getjava), then try again.
If this does not work, here is how to configure the server to use the same Java as the Minecraft client:
- Open the Minecraft Launcher
- Click on 'Edit Profile'
- Make sure 'Launcher Visibility' is set to 'Keep the lanucher open'
- Click 'Save Profile'
- Click 'Play' and wait for the title screen to appear
- In the Launcher window (which should be still open), switch to 'Development Console' tab
- Search in the last few lines the following:
[08:54:24 INFO]: Launching in C:\Users\Ruehl\AppData\Roaming\.minecraft [08:54:24 INFO]: Half command: C:\Program Files\Java\jre7\bin\javaw.exe -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G ...(snip)... \.minecraft\versions\1.7.4\1.7.4.jar net.minecraft.client.main.Main
- Copy the part on the
Half command:
line beforejavaw.exe
- in my case it isC:\Program Files\Java\jre7\bin\
- Put that path in the
run.bat
file beforejava
- (optional) Change 'Launcher Visibility' back to what it was