Author Topic: Ubuntu 19.10, openjdk-1.8, nothing happens on startup...  (Read 3587 times)

0 Members and 1 Guest are viewing this topic.

Offline jestew

  • VIP
  • Newbie
  • *
  • Posts: 1
    • View Profile
Ubuntu 19.10, openjdk-1.8, nothing happens on startup...
« on: February 17, 2020, 23:15:38 »
Hi All,

I've been told about Ancestris and wanted to give it a try. When I attempt to run the binary I get what looks like diagnostic output, then a pause, then my command prompt returns but no program is started. I've tried both version 10 and 11 with the same results.

Here's the output:
Code: [Select]
jasons@12characters:~$ ~/work/Ancestris\ 10/bin/ancestris
 
 
Identifying path and application name:
   progdir=/home/jasons/work/Ancestris 10/bin
   APPNAME=ancestris
 
Checking configuration file on progdir/../etc:
   Configuration file found. Executing it.
 
Identifying userdir from configuration file:
   userdir(from conf file)=/home/jasons/.ancestris/10
   userdir(after argument overwrite)=/home/jasons/.ancestris/10
 
Checking configuration file on userdir/etc:
   Configuration file from userdir not found.
 
Checking if jdkhome is defined: (for MacOS, you might need to add /Contents/Home at the end)
   jdkhome=
   jdkhome not defined.
 
Defining clusters:
   clusters=/home/jasons/work/Ancestris 10/ancestris:/home/jasons/work/Ancestris 10/harness:
 
Defining exec command:
   nbexec=/home/jasons/work/Ancestris 10/bin/../platform/lib/nbexec
 
Running exec command:
   => Linux system detected...

jasons@12characters:~$

Here's my java:
Code: [Select]
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-8u242-b08-0ubuntu3~19.10-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)

And my system:
Code: [Select]
jasons@12characters:~$ uname -a
Linux 12characters 5.3.0-29-generic #31-Ubuntu SMP Fri Jan 17 17:27:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

I've tried running it unders 'sudo' to see if it's a permissions problem, but got the same results. I've tried setting jdkhome and got the same result!

Any help appreciated! jas...

Offline Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 3 856
    • View Profile
Re: Ubuntu 19.10, openjdk-1.8, nothing happens on startup...
« Reply #1 on: February 18, 2020, 07:18:06 »
Could you manually define the jdkhome in the file "ancestris.conf" located in "Ancestris/etc" directory ?
Go to line 18 remove the # character at the begin of line and define the path to jdk.
Then try again.

Zurga

Offline Paul

  • VIP
  • Hero Member
  • *
  • Posts: 105
    • View Profile
Re: Ubuntu 19.10, openjdk-1.8, nothing happens on startup...
« Reply #2 on: February 18, 2020, 08:59:44 »
I get the same message about jdkhome...

   jdkhome=
   jdkhome not defined.

when running the program from a terminal (Linux Mint 19.3) but it starts and works properly. In your case the output says...

  Checking configuration file on userdir/etc:
  Configuration file from userdir not found.

A total guess (!) but maybe try copying the ancestris.conf file from /Ancestris/etc to .ancestris/10/etc

I haven't had to use any elevated permissions to install/start/use the program so probably not that.


Offline Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 3 856
    • View Profile
Re: Ubuntu 19.10, openjdk-1.8, nothing happens on startup...
« Reply #3 on: February 18, 2020, 09:05:32 »
At the first launch, it appears normal for me that there is no conf file in userdir.

I have seen that the installation directory is "Ancestris 10" (I believe you put "Ancestris 11" for the daily version).
Perhaps the space could lead to your trouble.
Could you try to rename your "Ancestris 10" directory to put "Ancestris_10"

Zurga

Offline Paul

  • VIP
  • Hero Member
  • *
  • Posts: 105
    • View Profile
Re: Ubuntu 19.10, openjdk-1.8, nothing happens on startup...
« Reply #4 on: February 18, 2020, 10:11:46 »
My ancestris.conf is in /home/paul/.ancestris/trunk/etc if that's any help?