Jump to content

VlkOfficial

Members
  • Posts

    10
  • Joined

  • Last visited

VlkOfficial's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. OK, after I downloaded this new Java offline (64) because Java online downloaded to Frogram Files x86 and how did I got know there are Java versions 32-bit. I checked server, cmd and where is Java downloaded. Now Java is in C:\Program Files\Java\jre1.8.0_161 cmd was: java version "1.8.0_161" Java(TM) SE Runtime Environment (build 1.8.0_161-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode) And server after starting with: java -Xms256m -Xmx2048m -jar forge-1.12.2-14.23.2.2632-universal.jar nogui pause WORKS!!! Thank you all so much, now i know that it was only because I am idiot and I had problem that I can fix too.
  2. Can u please send me link for Java that i need?
  3. I did what you said but it wrote again: Could not reserve enough space for 2097152KB I rlly don´t know what can i do with it...
  4. I don´t know if I understood but if yes that u told me that I have to buy more RAM?
  5. After reinstalling Java it wrote after starting server this: Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap But i know that i have enough free space. So after that i checked again cmd it wrote this: java version "1.8.0_161" Java(TM) SE Runtime Environment (build 1.8.0_161-b12) Java HotSpot(TM) Client VM (build 25.161-b12, mixed mode)
  6. When i did what you said it wrote this: java -version java version "10" 2018-03-20 Java(TM) SE Runtime Environment 18.3 (build 10+46) Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)
  7. So, how can i launch server with Java 8.
  8. My Java version is Java8u161 isn´t it good?
  9. Hello, i have got a problem with my servers. When i started the server with more than 1G it don´t worked but if i started it with lower it worked: java -Xms2G -Xmx2G -jar forge-1.12.2-14.23.2.2632-universal.jar nogui pause It crashed every time and wrote to me this: java -Xms2G -Xmx2G -jar forge-1.12.2-14.23.2.2632-universal.jar noguiError occurred during initialization of VMCould not reserve enough space for 2097152KB object heap But i have free enough RAM for this so i tried to fix it and at this page and i found some answers: https://bukkit.org/threads/complex-craftbukkit-server-and-java-problem-could-not-reserve-enough-space-for-object-heap.155192/ But it still don´t work and now it wrote to me this: After trying to fix it by changing "(automatically) poorly set environment variable" A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:62) at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:31) Caused by: java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) ... 6 more I will be so much happy if will someone help me with this, because I have every time started servers with only 1G and now 1G don´t works too.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.