NetXMS Support Forum

English Support => General Support => Topic started by: mark99 on February 10, 2021, 11:10:03 PM

Title: Error installing nxmc 3.8
Post by: mark99 on February 10, 2021, 11:10:03 PM

Hi,

When I upgraded everything to 3.8, nxmc wouldn't start based on a problem with a java component. The server seems to be ok. I'm attaching the log file mentioned in the error message. As of now, I can't use the console at all Please help!

Thanks in advance!
Title: Re: Error installing nxmc 3.8
Post by: Zebble on February 11, 2021, 03:37:54 AM
You'll need at least Java 11 for 3.7 or higher.  I use Java 15 and it works just fine:

https://www.oracle.com/java/technologies/javase/jdk15-archive-downloads.html

-zeb
Title: Re: Error installing nxmc 3.8
Post by: mark99 on February 11, 2021, 04:11:49 AM
What puzzles me is that, until today, I was running on 3.7 just fine without any Java issues!

-Mark
Title: Re: Error installing nxmc 3.8
Post by: Zebble on February 11, 2021, 04:27:31 PM
I agree with that.  I seem to remember Java 8 working for early versions of 3.7 and then stopped working for newer versions.  Not sure at which version this changed, nor did I see any notes on the download page that Java 11+ was required, so it was a bit confusing.
Title: Re: Error installing nxmc 3.8
Post by: mark99 on February 11, 2021, 08:56:37 PM
As recommended, I've installed the most recent Java 15 JDK, but the problem is still there.
Title: Re: Error installing nxmc 3.8
Post by: Zebble on February 12, 2021, 02:38:08 AM
I had to remove java 8 for java 15 to be the default.  This was on windows. 
Title: Re: Error installing nxmc 3.8
Post by: mark99 on February 12, 2021, 10:34:08 PM
I just realized that the error and logfile were both issued by eclipse. The file is in the \users\<username>\.nxmc\eclipse. Does anybody know why eclipse would have a problem after upgrading from 3.7 to 3.8?

Thanks again,

-Mark
Title: Re: Error installing nxmc 3.8
Post by: Zebble on February 13, 2021, 12:05:38 PM
NetXMS uses the eclipse framework for Java.  Newer versions of the framework require Java 11 or higher, which is why you're getting the error.

When you get the error again, check the "java.version" near the top of the log.  It should indicate java 11 or higher.  Your original log shows java 1.8.0 144 (ie. JAVA 8).

-zeb
Title: Re: Error installing nxmc 3.8
Post by: mark99 on February 13, 2021, 07:22:17 PM
I've installed current versions of java, but the eclipse log always shows that eclipse sees the current java version as 1.8.0 144. There seems to be some corruption inside either java  or eclipse that's causing this. I've decided to do a bare metal restore back to the day before my failed attempt to update to netxms 3.8. I don't have the time to keep researching this.  Thanks to -Zebbie for your advice.
Title: Re: Error installing nxmc 3.8
Post by: nafta on February 13, 2021, 10:26:56 PM
Hi all,

I am experiencing same issue with eclipse. attached log file.
Title: Re: Error installing nxmc 3.8
Post by: Zebble on February 14, 2021, 02:49:43 AM
You have the same issue.  You're running Java 8.  Install Java 15 from the link above (or java 11 if you prefer) and then UNINSTALL Java 8.  Then you should be good to go.
Title: Re: Error installing nxmc 3.8
Post by: nafta on February 14, 2021, 10:53:37 AM
Works perfectly, thanks

Uninstalled 8 than installed 11.. and good to go.
Thanks indeed.

nafta
Title: Re: Error installing nxmc 3.8
Post by: JayST on February 22, 2021, 10:36:10 PM
i also ran into this today. Tried to download java but i just did not have the energy to go through the oracle signup mess.
I uninstalled java 8 and tried to install openjdk 15.0.2 by using chocolatey on Windows. Worked!
Title: Re: Error installing nxmc 3.8
Post by: Filipp Sudanov on February 23, 2021, 11:22:09 AM
We plan to pack a JRE along with the console to simplify all this.