NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: nxmc console on Ubuntu 16.04 wont run  (Read 1640 times)

alex_rhys-hurn

  • Newbie
  • *
  • Posts: 2
    • View Profile
nxmc console on Ubuntu 16.04 wont run
« 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:
Code: [Select]
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:

Code: [Select]
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

Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6509
    • View Profile
Re: nxmc console on Ubuntu 16.04 wont run
« Reply #1 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
Logged

alex_rhys-hurn

  • Newbie
  • *
  • Posts: 2
    • View Profile
[SOLVED] Re: nxmc console on Ubuntu 16.04 wont run
« Reply #2 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
Logged