Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
corpus-services-gui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Wartung heute um 17:20 wegen einer Sicherheitswarnung von GitLab
Show more breadcrumbs
Lange, Dr. Herbert
corpus-services-gui
Commits
d734f9e0
Commit
d734f9e0
authored
Sep 27, 2022
by
Lange, Dr. Herbert
Browse files
Options
Downloads
Patches
Plain Diff
change run scripts to use --add-opens to avoid problems with more recent java version
parent
c87a7e7d
No related branches found
No related tags found
No related merge requests found
Pipeline
#12700
passed
Sep 27, 2022
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
run-linux.sh
+2
-2
2 additions, 2 deletions
run-linux.sh
run-windows.bat
+2
-2
2 additions, 2 deletions
run-windows.bat
with
4 additions
and
4 deletions
run-linux.sh
+
2
−
2
View file @
d734f9e0
#!/bin/bash
if
[[
-z
$JAVA_HOME
]]
;
then
java
-cp
lib/corpus-services.jar:lib/corpus-service-gui-0.0.5-bundle.jar de.uni_hamburg.corpora.gui.GUIApp
java
--add-opens
java.base/java.lang
=
ALL-UNNAMED
-cp
lib/corpus-services.jar:lib/corpus-service-gui-0.0.5-bundle.jar de.uni_hamburg.corpora.gui.GUIApp
else
$JAVA_HOME
/bin/java
-cp
lib/corpus-services.jar:lib/corpus-service-gui-0.0.5-bundle.jar de.uni_hamburg.corpora.gui.GUIApp
$JAVA_HOME
/bin/java
--add-opens
java.base/java.lang
=
ALL-UNNAMED
-cp
lib/corpus-services.jar:lib/corpus-service-gui-0.0.5-bundle.jar de.uni_hamburg.corpora.gui.GUIApp
fi
\ No newline at end of file
This diff is collapsed.
Click to expand it.
run-windows.bat
+
2
−
2
View file @
d734f9e0
@echo
off
if
defined
JAVA_HOME
goto
:javahome
java
-cp
lib
\corpus
-services
.jar
;
lib
\corpus
-service-gui
-
0
.0.5
-bundle
.jar
de
.uni_hamburg.corpora.gui.GUIApp
java
--add-opens
java
.base/java.lang
=
ALL
-UNNAMED
-cp
lib
\corpus
-services
.jar
;
lib
\corpus
-service-gui
-
0
.0.5
-bundle
.jar
de
.uni_hamburg.corpora.gui.GUIApp
goto
:end
:javahome
REM remove potentially problematic quotation marks
set
JAVA_HOME
=
%JAVA
_HOME:
"=
%
"
%JAVA_HOME%
"\bin\java -cp lib\corpus-services.jar;lib\corpus-service-gui-0.0.5-bundle.jar de.uni_hamburg.corpora.gui.GUIApp
"
%JAVA_HOME%
"\bin\java
--add-opens java.base/java.lang=ALL-UNNAMED
-cp lib\corpus-services.jar;lib\corpus-service-gui-0.0.5-bundle.jar de.uni_hamburg.corpora.gui.GUIApp
:end
pause
\ No newline at end of file
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