CAPSULE EXCEPTION while deployNodes task

匿名 (未验证) 提交于 2019-12-03 01:41:02

问题:

I am trying to deploy IRS demo application on windows server, I have installed java already:

C:\Users\Administrator>java -version java version "1.8.0_181" Java(TM) SE Runtime Environment (build 1.8.0_181-b13) Java HotSpot(TM) Client VM (build 25.181-b13, mixed mode)

I am getting following exception for node:

CAPSULE EXCEPTION: Could not find Java installation for requested version [Min. Java version: 1.8.0 JavaVersion: null Min. update version: {1.8=171}] (JDK required: false). You can override the used Java version with the -Dcapsule.java.home flag. (for stack trace, run with -Dcapsule.log=verbose)

can you help with whats going wrong? In the same machine environment, I have previously developed and deployed many corDapps.

回答1:

This was caused by forgetting to update the Windows environment variable after installing Java 1.8.181.

Forgetting to update the Windows environment variable has also been known to cause errors of the type:

CAPSULE EXCEPTION: Illegal char <"> at index 0: "C:\WINDOWS while processing system property java.library.path: C:\Program Files\Java\jdk1.8.0_191\bin;



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!