Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-100] appcd-plugin-jdk: JDK 9 is not detected

GitHub Issuen/a
TypeImprovement
PriorityCritical
StatusResolved
ResolutionFixed
Resolution Date2017-10-17T22:54:17.000+0000
Affected Version/sn/a
Fix Version/sAppc Daemon 1.0.0
Componentsjdklib
Labelsn/a
ReporterEwan Harris
AssigneeChris Barber
Created2017-10-12T16:23:11.000+0000
Updated2017-10-17T22:54:17.000+0000

Description

Description

JDK 9 has changed the registry key of Windows to HLKM\Software\JavaSoft\JDK. This needs to be added to [here](https://github.com/appcelerator/appc-daemon/blob/7d3c1dcb3766b7c8157fd68bcd07c1e51f658909/plugins/appcd-plugin-jdk/src/jdk-info-service.js#L158-L159) Couple notes - CurrentVersion returns 9, for JDK 8 it was 1.8 - jdklib currently fails to recognise JDK 9, it errors due to a missing JVM library, the jre folder no longer exists it seems. Will file a separate ticket for that - There is no 32-bit JDK distributed https://stackoverflow.com/questions/46356345/can-java-9-run-on-a-32-bit-os but it can be built, we might not need to support detecting 32-bit if it is not distributed officially

Comments

  1. Ewan Harris 2017-10-17

    Reg key added to plugin since https://github.com/appcelerator/appc-daemon/pull/75, jdklib just needs finishing to detect on ubuntu https://github.com/ewanharris/jdklib/tree/jdk9
  2. Ewan Harris 2017-10-17

    https://github.com/appcelerator/jdklib/pull/6

JSON Source