Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xwiki-platform
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XWiki
xwiki-platform
Commits
8a0ce7a0
Commit
8a0ce7a0
authored
1 year ago
by
Vincent Massol
Browse files
Options
Downloads
Patches
Plain Diff
XWIKI-20836: Make XWiki execute fine on Java 17 with the standalone distribution on Windows
parent
261dda97
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki_debug.bat
+7
-0
7 additions, 0 deletions
...-jetty-resources/src/main/resources/start_xwiki_debug.bat
with
7 additions
and
0 deletions
xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki_debug.bat
+
7
−
0
View file @
8a0ce7a0
...
...
@@ -75,6 +75,13 @@ if "%JAVA_PATH%"=="" set JAVA_PATH=java
REM Handle the case when JAVA_HOME is set by the user
if
not
"
%JAVA_HOME%
"
==
""
set
JAVA_PATH
=
%JAVA_HOME%
\bin\java.exe
REM TODO: Remove once https://jira.xwiki.org/browse/XWIKI-19034 is fixed. In summary we need this to allow the XWiki
REM code or 3rd party code to use reflection to access private variables (setAccessible() calls).
REM See https://tinyurl.com/tdhkn6mp
set
XWIKI_OPENS_LANG
=
--add-opens
java
.base/java.lang
=
ALL
-UNNAMED
set
XWIKI_OPENS_UTIL
=
--add-opens
java
.base/java.util
=
ALL
-UNNAMED
set
XWIKI_OPTS
=
%XWIKI_OPENS_LANG%
%XWIKI_OPENS_UTIL%
%XWIKI_OPTS%
REM Location where XWiki stores generated data and where database files are.
set
XWIKI_DATA_DIR
=
$
{
xwikiDataDir
}
set
XWIKI_OPTS
=
%XWIKI_OPTS%
-Dxwiki
.data.dir
=
"
%XWIKI_DATA_DIR%
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment