Skip to content

Commit

Permalink
Add dependency on AdoptOpenJDK (jdk8u222-b10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Salas committed Aug 2, 2019
1 parent 90f884f commit 45259e5
Show file tree
Hide file tree
Showing 4 changed files with 1,224 additions and 24 deletions.
6 changes: 3 additions & 3 deletions distrib/common/app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ function getJava() {

switch (platform()) {
case 'darwin':
return 'jdk/Contents/Home/bin/java'
return 'jre/Contents/Home/bin/java'

case 'linux':
return 'jdk/bin/java'
return 'jre/bin/java'

case 'win32':
return 'jdk/bin/java.exe';
return 'jre/bin/java.exe';

default:
throw 'unknown platform ' + platform();
Expand Down
Loading

0 comments on commit 45259e5

Please sign in to comment.