Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Java
  3. Question
Java

What is the process of running a modded minecraft server Java arguments on PC without any complications?

Asked by Aaditya Srivastva Sep 19, 2023 1.2K views 1 answer
Share

About this question

While trying to run modded minecraft server, we are getting a few modes to use. But I do not understand what I should to to make the server run smoothly. 


For now, the running process is not smooth. All the solutions we are getting seem outdated to us. Also, if someone can help me understand generally optimizing performance by using the current version of Java, that would be great. 


While according to LagGoggles the mobs can be the problem, the warm roast shows that something is making the game spend a large amount of time in pathfinding for sheep, and Update Time Light And Entities. 


So, I want to know if there is any mod which can optimize entity calculation as it will help me to focus on removing with configs. 


Even though the server is running on a computer having a Ryzen 2200G, 16 GB of DDR4-2666 RAM, and GTX 1060-6GB, we know the graphics card is not essential here. Also, We are using OpenJDK 8, with OpenJ9 JVM, and I am using the command: 


C:Program FilesAdoptOpenJDKjdk-8.0.242.08-openj9binjava.exe" -server -XX:+UseG1GC -Xmx8G -Xms8G -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -jar forge-1.12.2-14.23.5.2847-universal.jar. ‘

But there is still a problem. Can I get any help regarding this? 

Your answer

1 Answer

More Java discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.