1
I put in the bungee cord code (In command Prompt and batch file) and it errors!! HELP!
Its in a folder called BungeeCord, and all that is in is bungeecord.jar and bungeecordrun.bat!! please help! I am posting here cause i think you guys will know my problem! I think it has something to do with -Xss192k b/c I tried Xms192K it worked but, u know thats not the code to run it, but it didnt error but i didnt run bungee!!!
Its in a folder called BungeeCord, and all that is in is bungeecord.jar and bungeecordrun.bat!! please help! I am posting here cause i think you guys will know my problem! I think it has something to do with -Xss192k b/c I tried Xms192K it worked but, u know thats not the code to run it, but it didnt error but i didnt run bungee!!!
Create an account or sign in to comment.
16
You downloaded a browser extension of Java 7, not the actual package.
Go to the link below, and download the appropriate package for your system (which I believe for you will be Windows 64-bit)
http://java.com/en/download/manual.jsp
Go to the link below, and download the appropriate package for your system (which I believe for you will be Windows 64-bit)
http://java.com/en/download/manual.jsp
I Went to the Java Site, and I went to test your version of Java, and it said I had Java 7 Update 17 Installed....
Yeah, it says
Which is strange because I updated java to Java 7
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)
Which is strange because I updated java to Java 7
So if you do this again, what is the output?:
RogueLooks like a mismatched java version. If you open cmd.exe and type:java -version
What does it say back?
My Java is up-to-date, so im not sure what the problem is
Indeed, Koz4Christ is correct. BungeeCord is compiled against Java 7, so you need to have java 7 installed to use that path or even run BungeeCord.
By the path that you listed there it looks like you're running Java 7 but I'd be sure. Go here and install the latest Java (BungeeCord requires Java 7)
http://java.com/en/download/index.jsp
http://java.com/en/download/index.jsp
1.6.0 (I tryed puttin in "%C:\Program Files (86)%\Java\jre7\bin]java.exe" but it didnt do anything
Looks like a mismatched java version. If you open cmd.exe and type:
What does it say back?
java -version
What does it say back?
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/md_5/bungee/BungeeCord : Unsupported major.minor version 51.0at java.lang......... You Get it
What is the error you are getting?
java -Xmx1G -jar BungeeCord.jar
Thats my new script, but ti still errors!! Why! I will watch ur video Koz4Christ! So Yeah.
Thats my new script, but ti still errors!! Why! I will watch ur video Koz4Christ! So Yeah.
I stand corrected, however the script that is posted is what is on the official bungeecord setup guide and that I've used in my testing.
Koz4Christ
Xss is the startup memory and Xmx is the max memory.
This is incredibly incorrect, and I would not even come close to recommending that script.
The java JVM flag -Xss is setting the maximum stack size. 192k is incredibly small for each stack, but then again you may be transferring only small data packets. Regardless of the stack sizes, this is a JVM option you should not ever change unless for a very specific purpose. It has no place in minecraft.
You can read more about what a stack is here: http://en.wikipedia.org/wiki/Stack_%28data_structure%29
You may have been thinking of the flag -Xms, which sets the minimum allocated java heap size, which is a little closer to what you were suggesting. However, there really isn't a need to set a minimum heap size either, as that just forces memory that isn't going to be used. Instead, a maximum heap size is probably more than enough for this.
As a line, this is all that is needed:
java -Xmx####M -jar BungeeCord.jar
where #### = the amount of megabytes allocated to the application.
Ha, well I just put up a tutorial video on setting up bungeecord. I would suggest using this for your startup script
java -Xss192k -Xmx1G -jar BungeeCord.jar
Xss is the startup memory and Xmx is the max memory. I would suggest putting the cap on something larger than 192k....that is not enough to run a server. Even one that is just handling the interactions between all your servers.
Could try this
java -Xss192k -Xmx256m -jar BungeeCord.jar
java -Xss192k -Xmx1G -jar BungeeCord.jar
Xss is the startup memory and Xmx is the max memory. I would suggest putting the cap on something larger than 192k....that is not enough to run a server. Even one that is just handling the interactions between all your servers.
Could try this
java -Xss192k -Xmx256m -jar BungeeCord.jar
Copy of the error and the bat file you are using to run it?