Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
emzed-ext-mzmine2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
sispub
emzed
emzed-ext-mzmine2
Commits
dcfae20a
Commit
dcfae20a
authored
5 years ago
by
schmittu
Browse files
Options
Downloads
Patches
Plain Diff
attempt to fix ci tests on win
parent
18bbf385
No related branches found
No related tags found
No related merge requests found
Pipeline
#867
failed
5 years ago
Stage: style
Stage: test_code
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
emzed/ext/mzmine2/install_jre.py
+4
-1
4 additions, 1 deletion
emzed/ext/mzmine2/install_jre.py
with
4 additions
and
1 deletion
emzed/ext/mzmine2/install_jre.py
+
4
−
1
View file @
dcfae20a
...
...
@@ -66,8 +66,11 @@ def get_jre_home(folder=_default_jre_folder()):
def
set_java_home
(
folder
=
_default_jre_folder
()):
print
(
"
FOLDER=
"
,
folder
)
import
os
print
(
"
set java home FOLDER=
"
,
folder
)
path
=
get_jre_home
(
folder
)
print
(
"
jvm at
"
,
path
)
print
(
os
.
listdir
(
os
.
path
.
dirname
(
path
)))
if
path
is
None
:
raise
RuntimeError
(
f
"
did not find jre, did you run download_jre()?
"
)
os
.
environ
[
"
JAVA_HOME
"
]
=
path
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