Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bonita
bonita-studio
Commits
f00b6d79
Commit
f00b6d79
authored
Feb 21, 2017
by
Adrien
Committed by
Romain Bioteau
Feb 21, 2017
Browse files
fix(h2Console) fix windows issue (#295)
close BS-16214
parent
9c7c784e
Changes
1
Hide whitespace changes
Inline
Side-by-side
bundles/plugins/org.bonitasoft.studio.businessobject/src/org/bonitasoft/studio/businessobject/ui/handler/OpenH2ConsoleHandler.java
View file @
f00b6d79
...
...
@@ -73,7 +73,8 @@ public class OpenH2ConsoleHandler {
}
protected
String
javaBinaryLocation
()
{
return
Paths
.
get
(
JavaRuntime
.
getDefaultVMInstall
().
getInstallLocation
().
getAbsolutePath
(),
"bin"
,
"java"
)
String
binaryName
=
Platform
.
getOS
().
toLowerCase
().
contains
(
"win"
)
?
"java.exe"
:
"java"
;
return
Paths
.
get
(
JavaRuntime
.
getDefaultVMInstall
().
getInstallLocation
().
getAbsolutePath
(),
"bin"
,
binaryName
)
.
toString
();
}
...
...
Write
Preview
Supports
Markdown
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