TCMAN and JAVA_HOME/ JRE_HOME

Posted by Gertjan Hendriks on 21-Nov-2017 04:35

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

Posted by Gertjan Hendriks on 22-Nov-2017 06:40

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

Posted by Gertjan Hendriks on 22-Nov-2017 06:55

(removed double post)

All Replies

Posted by Bartel Dodeman on 21-Nov-2017 07:30

Hi Gertjan,

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

Greetings, Bartel

Posted by Gertjan Hendriks on 21-Nov-2017 07:55

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

Posted by Gertjan Hendriks on 22-Nov-2017 06:40

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

Posted by Gertjan Hendriks on 22-Nov-2017 06:55

(removed double post)

This thread is closed