Can someone help me figure out what is wrong with my java?
-
Okay, so I am trying to start a minecraft server. I have freshly downloaded the minecraft_server.jar file and tried to run it, and this is what it says in the command prompt: java.lang.NullPointerException at java.io.Reader.<init>(Unknown Source) at java.io.InputStreamReader.<init>(Unknown Source) at b.<init>(SourceFile:15) at b.<clinit>(SourceFile:9) at xo.d(SourceFile:38) at aap.d(SourceFile:15) at ky.<clinit>(SourceFile:28) at net.minecraft.server.MinecraftServer.mai… Exception in thread "main" java.lang.ExceptionInInitializerError at el.<clinit>(SourceFile:5) at id.l(SourceFile:449) at ky.a(SourceFile:139) at ky.c(SourceFile:86) at id.<clinit>(SourceFile:254) at vz.<clinit>(SourceFile:254) at ky.a(SourceFile:122) at ky.<clinit>(SourceFile:56) at net.minecraft.server.MinecraftServer.mai… Caused by: java.lang.NullPointerException at java.io.Reader.<init>(Unknown Source) at java.io.InputStreamReader.<init>(Unknown Source) at op.b(SourceFile:35) at op.<init>(SourceFile:21) at op.<clinit>(SourceFile:10) ... 9 more Can somebody please help me figure out what to do? I have no idea what any of this means and help would be greatly appreciated. Thanks!
-
Answer:
Im not completley sure what is wrong but I have run multiple Minecraft servers. I would download the latest JRE to see if that fixes anything. But if that does not work try Redownloading the server software and server.exe from Minecraft.net Latest JRE: http://www.oracle.com/technetwork/java/javase/downloads/index.html Also be sure that the server.jar and server.exe are within a folder by themselves so files aren't created everywhere. Tip: Minecraft server software is not compatible with bukkit plugins, so if you are making a server and hope to add plugins, download the latest version of craftbukkit.jar and then make a notepad document with this text inside: @ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "%ProgramFiles%\Java\jre7\bin\java.exe… -Xincgc -Xmx1G -jar craftbukkit.jar PAUSE save that as server.bat and once you get the craftbukkit.jar into your server folder just rename it to craftbukkit.jar so the batch file can recognize it. Then run your server.bat Craft bukkit download: http://dl.bukkit.org/downloads/craftbukkit/ Hope this all helps! If you have any more questions about minecraft servers feel free to contact me at [email protected]
Serious Gamer at Yahoo! Answers Visit the source
Other answers
So the error is caused by it trying to read a file and encountering an issue. Try to make sure you have all the sever files. Make sure the sever is in a drive with enough space and that the folder is not read/write protected. Other then that try googling, I'm sure plenty of other people have had the same issue. Try asking on minecraftfourm.net, they would know better then most people here.
zspace101
Related Q & A:
- Can someone help me find a study abroad program?Best solution by Yahoo! Answers
- Can someone help me with my psp warranty?Best solution by Yahoo! Answers
- Can someone help me locate an orphanage in Israel?Best solution by Yahoo! Answers
- Can someone help me find the phone number of the Consulate of Honduras in Houston, Texas?Best solution by Yahoo! Answers
- Can someone help with the MSN messenger?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.