Changing Java versions after installing Mobicontrol

Changing Java versions after installing Mobicontrol

Hi,

 

   We have Mobicontrol 14.4.2.1307 running in two test labs as well as well as in the customer's production environment. I'm wondering if anyone has had experience with changing java verson on after installing Mobicontrol. In particular, I need to switch to java openjdk in on of the labs to have it consistent with the other environments and the other instances need to be updated to the latest version of openjdk in order to alleviate some security. I've read this article(https://discussions.soti.net/kb/using-mobicontrol-with-openjdk-instead-of-java/) and it seems to imply that I might have to reinstall mobicontrol after I update/change java? Is this correct or is their a simpler way of migrating?

 

        Michael Sun

5 Answers

Order By:   Standard | Newest | Votes
JCMOD@SOTI | posted this 05 October 2020

Hi Michael,

 

Thank you for posting in SOTI Central,

 

If you wish to change your Java version, it should be a case of ensuring the PATH Variable is correct. So that when you try "java -version" within cmd, it would reflect the correct version and build that you want to use. You should also restart the Search Service once you do any Java changes.

 

Hope this helps.

 

Regards,

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |

  • 0
  • 0
John Doe | posted this 06 October 2020

When you installed MobiControl right away with OpenJDK you can just pause the search service switch out the contents of the openjdk folder and you are good to go.

We currently run on OpenJDK 11.08 without issues.

Kind Regards John

  • 0
  • 0
Michael Sun | posted this 20 October 2020

Thanks for the response. I tried changing the path variable and verified that java -version returned the openjdk version. However, when I restarted the search service, it errored out on startup. The system event log showed the following:

 

The MobiControl Search service terminated with the following service-specific error:
The system cannot open the file.

 

Any idea what else I can look at?

  • 0
  • 0
John Doe | posted this 21 October 2020

You need to change JavaHome & RuntimeLib.

Also what "OpenJDK" did you download?

Kind Regards John

  • 0
  • 0
Michael Sun | posted this 23 October 2020

I changed runtime lib  and java home in the registry to point to openjdk and still getting the same issue. I am trying to put in openjdk 11.0.8_10

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback