Merge lp:~matt-goodall/emusicj/fix-java-version-detection into lp:emusicj
Proposed by
Matt Goodall
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Robin Sheat | ||||
Approved revision: | 312 | ||||
Merged at revision: | 312 | ||||
Proposed branch: | lp:~matt-goodall/emusicj/fix-java-version-detection | ||||
Merge into: | lp:emusicj | ||||
Diff against target: |
15 lines (+2/-2) 1 file modified
emusicj (+2/-2) |
||||
To merge this branch: | bzr merge lp:~matt-goodall/emusicj/fix-java-version-detection | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robin Sheat | Approve | ||
Review via email: mp+294727@code.launchpad.net |
Commit message
Update startup script to also handle openjdk.
Description of the change
Tested IRL on xenial with the default-jre package installed:
$ java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
Also tested just enough of the script (script copied to a vm) to know the version check still works on trusty with default-jre:
$ java -version
java version "1.7.0_101"
OpenJDK Runtime Environment (IcedTea 2.6.6) (7u101-
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
$ /tmp/emusicj
Using emusicj at /tmp
Couldn't find the compiled Java program.
To post a comment you must log in.
Looks good, thanks. Will merge this in and release when I'm back home in a few days.