Manual Java .bat Selection
Hi, if i have multiple java versions installed, how do i tell .bat file which one to select? i did this but apparently it is wrong.
12 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by cobrawalker#0
try just java.exe not javaw.exe
doesn't work
what error do u get?
"C:/Program Files/Eclipse Adoptium/jdk-17.0.7.7-hotspot/bin/java.exe" -Xms4G -Xmx4G -XX+UseG1GC -XX+ParallelRefProcEnabled -XXMaxGCPauseMillis=200 -XX+UnlockExperimentalVMOptions -XX+DisableExplicitGC -XX+AlwaysPreTouch -XXG1NewSizePercent=30 -XXG1MaxNewSizePercent=40 -XXG1HeapRegionSize=8M -XXG1ReservePercent=20 -XXG1HeapWastePercent=5 -XXG1MixedGCCountTarget=4 -XXInitiatingHeapOccupancyPercent=15 -XXG1MixedGCLiveThresholdPercent=90 -XXG1RSetUpdatingPauseTimePercent=5 -XXSurvivorRatio=32 -XX+PerfDisableSharedMem -XXMaxTenuringThreshold=1 -Dusing.aikars.flags=httpsmcflags.emc.gs -Daikars.new.flags=true -jar paper.jar -nogui
java -Xms2G -Xmx2G -jar paper.jar --noguijava -Xms4G -Xmx4G -jar paper.jar -nogui
works thonvm
it doesn't work either
Show the outpur
Of the last attempt
i guess i gotta uninstall one of those
ok so it works now
i guess that's all i had to do
!close
post closed!
The post/thread has been closed!
Requested by cobrawalker#0