I currently run this in a .bat file:
java -jar BungeeCord.jar
Upon running the .bat file this opens and closes and does not stay open. If I manually go into CMD, cd into the folder and launch the bat file it stays open fine. What’s the difference between clicking and opening the .bat file and going into cmd and opening it?
I can tell it doesn’t launch as I cannot connect to it at all. I need a way to rectify this so it launches through the .bat by just clicking on it, just now it opens and closes quickly.
This will keep the window open after the jar is finished. I’m unsure what you mean, so I’m not sure if this is what you were looking for.