Ionic cordova run android --prod --device doesn't working?

You have been opted out of telemetry. To change this, run: cordova telemetry on.
(node:16264) UnhandledPromiseRejectionWarning: CordovaError: Failed to run “javac -version”, make sure that you have a JDK installed.
You can get it from:

at C:\Users\mahmut orhan\Desktop\diabetus-meal\platforms\android\cordova\lib\check_reqs.js:47:27
at ChildProcess.exithandler (child_process.js:282:5)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:567:12)

(node:16264) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:16264) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code