TCMAN and JAVA_HOME/ JRE_HOME - Forum - Corticon - Progress Community

TCMAN and JAVA_HOME/ JRE_HOME

 Forum

TCMAN and JAVA_HOME/ JRE_HOME

This question is answered

Hi,

I want to register Corticon Server (PAS) as a Windows Service, but I get an "Missing JVM JAVA_HOME or JRE_HOME environment configuration" error.

Knowedge Base article 000067326 states that I should install a JDK and set environment variables for both JAVA_HOME and JRE_HOME. But this is not allowed on the machine I am installing Corticon Server on.

So my question is: What settings file do I need to edit to make TCMAN/ Corticon Server point to an already installed JDK-path?

I checked and modified:

  • tcman.bat
  • javacfg.bat
  • startServer.bat

But so far I keep getting this error message. Any ideas?

Thanks!

-Gertjan

Verified Answer
  • OK, I got this thing fixed.

    What I did:

    • Start the DOS-prompt (cmd.exe) as Administrator
    • In the DOS-window, go to the directory where TCMAN resides (i.e. ~\CorticonWork\pas\server\bin)
    • Enter: set JAVA_HOME=C:\Java\jdk
    • In the same DOS, enter: tcman service Corticon register
    • The message Corticon service is registered appears
  • (removed double post)

All Replies
  • Hi Gertjan,

    What's the problem exactly?  Not being allowed to create environment-variables, or not being allowed to install a JDK?

    Greetings, Bartel

  • Hi Bartel,

    I am not being allowed to create environment variables. There is a pre-installed JDK on a custom location. I need to tell TCMAN the path to this JDK.

    Thanks!

    -Gertjan

  • OK, I got this thing fixed.

    What I did:

    • Start the DOS-prompt (cmd.exe) as Administrator
    • In the DOS-window, go to the directory where TCMAN resides (i.e. ~\CorticonWork\pas\server\bin)
    • Enter: set JAVA_HOME=C:\Java\jdk
    • In the same DOS, enter: tcman service Corticon register
    • The message Corticon service is registered appears
  • (removed double post)