1

BungeeCord Help! (Im Posting Here)

in2lego's Avatar in2lego4/12/13 1:19 pm
4/15/2013 2:36 pm
Rogue's Avatar Rogue
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!!!
Posted by in2lego's Avatar
in2lego
Level 15 : Journeyman Archer
3

Create an account or sign in to comment.

16

Rogue
04/15/2013 2:36 pm
Level 12 : Journeyman Crafter
Rogue's Avatar
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
1
in2lego
04/15/2013 1:59 pm
Level 15 : Journeyman Archer
in2lego's Avatar
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....
1
in2lego
04/15/2013 1:54 pm
Level 15 : Journeyman Archer
in2lego's Avatar
Yeah, it says
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
1
Rogue
04/14/2013 7:00 pm
Level 12 : Journeyman Crafter
Rogue's Avatar
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?
1
in2lego
04/14/2013 6:26 pm
Level 15 : Journeyman Archer
in2lego's Avatar
My Java is up-to-date, so im not sure what the problem is
1
Rogue
04/13/2013 8:15 pm
Level 12 : Journeyman Crafter
Rogue's Avatar
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.
1
Koz4Christ
04/13/2013 4:48 pm
Level 30 : Artisan Engineer
Koz4Christ's Avatar
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
1
in2lego
04/13/2013 3:57 pm
Level 15 : Journeyman Archer
in2lego's Avatar
1.6.0 (I tryed puttin in "%C:\Program Files (86)%\Java\jre7\bin]java.exe" but it didnt do anything
1
Rogue
04/13/2013 3:43 pm
Level 12 : Journeyman Crafter
Rogue's Avatar
Looks like a mismatched java version. If you open cmd.exe and type:
java -version

What does it say back?
1
in2lego
04/13/2013 3:14 pm
Level 15 : Journeyman Archer
in2lego's Avatar
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/md_5/bungee/BungeeCord : Unsupported major.minor version 51.0at java.lang......... You Get it
1
Rogue
04/13/2013 12:21 am
Level 12 : Journeyman Crafter
Rogue's Avatar
What is the error you are getting?
1
in2lego
04/12/2013 11:51 pm
Level 15 : Journeyman Archer
in2lego's Avatar
java -Xmx1G -jar BungeeCord.jar

Thats my new script, but ti still errors!! Why! I will watch ur video Koz4Christ! So Yeah.
1
Koz4Christ
04/12/2013 11:02 pm
Level 30 : Artisan Engineer
Koz4Christ's Avatar
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.
1
Rogue
04/12/2013 10:50 pm
Level 12 : Journeyman Crafter
Rogue's Avatar
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.
1
Koz4Christ
04/12/2013 5:24 pm
Level 30 : Artisan Engineer
Koz4Christ's Avatar
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
1
Rogue
04/12/2013 5:11 pm
Level 12 : Journeyman Crafter
Rogue's Avatar
Copy of the error and the bat file you are using to run it?
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome