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.
No description
12 Replies
Admincraft Meta
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
ProGamingDk
ProGamingDk2y ago
try just java.exe not javaw.exe
Zaid
ZaidOP2y ago
doesn't work
ProGamingDk
ProGamingDk2y ago
what error do u get?
Zaid
ZaidOP2y ago
No description
Zaid
ZaidOP2y ago
"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 tho
Zaid
ZaidOP2y ago
No description
Zaid
ZaidOP2y ago
nvm it doesn't work either
ProGamingDk
ProGamingDk2y ago
Show the outpur Of the last attempt
Zaid
ZaidOP2y ago
No description
Zaid
ZaidOP2y ago
i guess i gotta uninstall one of those ok so it works now i guess that's all i had to do !close
Admincraft Meta
post closed!
The post/thread has been closed!
Requested by cobrawalker#0

Did you find this page helpful?