Error: Collaborative Workspace (CWS) is unable to compile Java sources as it cannot find a Java comp

I am getting this error while publishing the project.

Comments

  • Modify the java.home variable in wcp.properties

    Example:-
    1) Open "C:\Program Files\OpenText\ProcessPlatform\defaultInst\config\wcp.properties"
    2) java.home should be like "java.home=C:\Program Files\Java\jdk1.8.0_60\jre"
    3) Restart the Platform services