Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServerStart.bat unable to find java #29

Open
Loreith opened this issue Jul 29, 2018 · 0 comments
Open

ServerStart.bat unable to find java #29

Loreith opened this issue Jul 29, 2018 · 0 comments

Comments

@Loreith
Copy link

Loreith commented Jul 29, 2018

On running the script the only response is that it is unable to find java 1.8+ on the system, despite there being 2 versions of 1.8, jdk 10, and jre 8 installed and in the system path.

Log:
`


INFO: Starting batch at ul18:173112

DEBUG: Current Dir is C:\Users\User\Desktop\serverfiles -- trying to change to C:\Users\User\Desktop\serverfiles\
INFO: Checking that settings.cfg exists
DEBUG: settings.cfg Found. Logging full contents below:
;SETTINGS FOR SERVERSTART SCRIPTS
;See "serverstart.log" in the LOGS subfolder
;For more details/help see: https://github.com/AllTheMods/Server-Scripts

MAX_RAM=5G;
JAVA_ARGS=-d64 -server -XX:+AggressiveOpts -XX:ParallelGCThreads=3 -XX:+UseConcMarkSweepGC -XX:+UnlockExperimentalVMOptions -XX:+UseParNewGC -XX:+ExplicitGCInvokesConcurrent -XX:MaxGCPauseMillis=10 -XX:GCPauseIntervalMillis=50 -XX:+UseFastAccessorMethods -XX:+OptimizeStringConcat -XX:NewSize=84m -XX:+UseAdaptiveGCBoundary -XX:NewRatio=3 -Dfml.readTimeout=90;
CRASH_COUNT=5;
CRASH_TIMER=600;
RUN_FROM_BAD_FOLDER=0;
IGNORE_OFFLINE=0;
IGNORE_JAVA_CHECK=0;
USE_SPONGE=0;
HIGH_CPU_PRIORITY=0;

MODPACK_NAME=All The Mods 3;
MCVER=1.12.2;
FORGEVER=14.23.4.2715;
FORGEURL=DISABLE;

INFO: Loading variables from settings.cfg
DEBUG: Starting variable definitions:
DEBUG: MC_SERVER_MAX_RAM=5G
DEBUG: MC_SERVER_FORGE_JAR=
DEBUG: MC_SERVER_SPONGE_BOOT=
DEBUG: MC_SERVER_JVM_ARGS=-Xmx5G -Xms2G -d64 -server -XX:+AggressiveOpts -XX:ParallelGCThreads=3 -XX:+UseConcMarkSweepGC -XX:+UnlockExperimentalVMOptions -XX:+UseParNewGC -XX:+ExplicitGCInvokesConcurrent -XX:MaxGCPauseMillis=10 -XX:GCPauseIntervalMillis=50 -XX:+UseFastAccessorMethods -XX:+OptimizeStringConcat -XX:NewSize=84m -XX:+UseAdaptiveGCBoundary -XX:NewRatio=3 -Dfml.readTimeout=90
DEBUG: MC_SERVER_MAX_CRASH=5
DEBUG: MC_SERVER_CRASH_TIMER=600
DEBUG: MC_SERVER_IGNORE_OFFLINE=0
DEBUG: MC_SERVER_RUN_FROM_BAD_FOLDER=0
DEBUG: MC_SERVER_MCVER=1.12.2
DEBUG: MC_SERVER_FORGEVER=14.23.4.2715
DEBUG: MC_SERVER_FORGESHORT=2715
DEBUG: MC_SERVER_FORGEURL=DISABLE
DEBUG: MC_SERVER_SPONGE=0
DEBUG: MC_SERVER_HIGH_PRIORITY=0
DEBUG: MC_SERVER_PACKNAME=All The Mods 3
DEBUG: MC_SERVER_SPONGEURL=
DEBUG: MC_SERVER_SPONGEBOOTSTRAPURL=
DEBUG: MC_SERVER_ERROR_REASON=Unspecified
DEBUG: MC_SERVER_TMP_FLAG=
DEBUG: MC_SERVER_CRASH_COUNTER=1
DEBUG: MC_SERVER_CRASH_YYYYMMDD=ul18
DEBUG: MC_SERVER_CRASH_HHMMSS=173112
DEBUG: Current directory file listing:
Volume in drive C has no label.
Volume Serial Number is 10B8-2510

Directory of C:\Users\User\Desktop\serverfiles

29-Jul-18 02:55 PM

.
29-Jul-18 02:55 PM ..
29-Jul-18 02:41 PM config
29-Jul-18 02:41 PM 5,180,802 forge-1.12.2-14.23.4.2715-installer.jar
29-Jul-18 02:42 PM libraries
29-Jul-18 02:43 PM 3,237 LICENSE.md
29-Jul-18 05:31 PM logs
29-Jul-18 02:49 PM mods
29-Jul-18 02:49 PM 12,200 README.md
29-Jul-18 02:49 PM scripts
29-Jul-18 02:49 PM 44,461 ServerStart.bat
29-Jul-18 02:49 PM 10,198 ServerStart.sh
29-Jul-18 02:49 PM 750 settings.cfg
6 File(s) 5,251,648 bytes
7 Dir(s) 19,193,110,528 bytes free
DEBUG: JAVA version output (java -d64 -version):
ERROR: Could not find 64-bit Java 1.8 installed or in PATH
ERROR: Error flagged, reason is: ""JavaVersionOrPathError""
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant