NetXMS Support Forum

English Support => General Support => Topic started by: alex_rhys-hurn on June 13, 2016, 12:23:55 AM

Title: nxmc console on Ubuntu 16.04 wont run
Post by: alex_rhys-hurn on June 13, 2016, 12:23:55 AM
Hi.

I have installed NetXMS on a server successfully and I have installed nxmc console on a windows machine and my android tablet. All works fine.

My problem is trying to run the 64bit console on my Ubuntu 16.04 machine which is my primary machine.

Java on my laptop is:
openjdk version "9-internal"
OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src)
OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode)


The problem I get when I run nxmc is:

Splash screen shows, then the error below shows:

An error has occurred. See the log file
/home/alex/nxmc/configuration/1465766534651.log.


The contents of the log file dont mean much to me but I see plenty errors: See attachment.

Any help you can give me to get this running is much appreciated.

Regards,

Alex

Title: Re: nxmc console on Ubuntu 16.04 wont run
Post by: Victor Kirhenshtein on June 13, 2016, 11:06:03 AM
Hi,

from log it seems that loader considers your Java environment incompatible. Try to run it with openjdk-8 or openjdk-7. If you don't want to change system default JRE, you can set nxms to use specific JRE by creating link named "jre" on bisides nxmc executable. For example, to use openjdk 1.8 on my machine it will be

ln -s /usr/lib/jvm/java-8-openjdk-amd64/jre jre

Best regards,
Victor
Title: [SOLVED] Re: nxmc console on Ubuntu 16.04 wont run
Post by: alex_rhys-hurn on June 18, 2016, 12:45:02 PM
Hey Victor,

Thanks for the tip.

Creating a symlink to Openjdk 8 in the same folder I extracted the client to, worked fine.

All is well.

Thanks,

Alex