Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
39526cf0
Commit
39526cf0
authored
May 24, 2022
by
Apexo01
Committed by
Melledy
May 24, 2022
Browse files
fix java search in start.cmd
parent
c8a7aea7
Changes
2
Show whitespace changes
Inline
Side-by-side
start.cmd
View file @
39526cf0
...
...
@@ -28,6 +28,10 @@ if exist "%CUR_PATH%%CONFIG%.cmd" (
)
if
not
"
%JAVA_PATH%
"
==
"DO_NOT_CHECK_PATH"
(
if
"
%JAVA_PATH%
"
==
"\bin\"
(
call
:LOG
[
ERROR
]
JAVA_HOME
not
found
,
please
setup
your
windows
enviroment
for
installed
java
.
goto
:EXIT
)
if
not
exist
"
%JAVA_PATH%
java.exe"
(
call
:LOG
[
ERROR
]
Java
not
found
.
goto
:EXIT
...
...
start_config.cmd
View file @
39526cf0
...
...
@@ -12,7 +12,7 @@ set CUR_PATH=%~dp0
@rem Executable Path
@rem Note: Fill DO_NOT_CHECK_PATH if you need to run it from PATH
@rem without detecting whether the executable file exists
set
JAVA_PATH
=
C
:\Program
Files
\Java\jdk1.8.0_202
\bin\
set
JAVA_PATH
=
%JAVA_HOME%
\bin\
set
MITMDUMP_PATH
=
%CUR_PATH%
set
MONGODB_PATH
=
%CUR_PATH%
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment