Author Topic: Lancement Impossible [Résolu]  (Read 8805 times)

0 Members and 1 Guest are viewing this topic.

Offline jean-yves

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Lancement Impossible [Résolu]
« on: May 13, 2018, 19:46:36 »
Bonjour à tous,
Je souhaitais débuter une généalogie et après avoir vu le site j'ai essayé de lancer le logiciel; mais il plante à l'initialisation.
C'est à dire que la fenetre de lancement s'affiche puis se referme au bout de quelques secondes. :-\

Je suis sur XUbuntu 14.04 64bits.
J'ai suivi la procédure d'intallation par le ppa et ensuite par téléchargement direct sur le site du fichier.deb : l'install se fait toujours bien (dépendances satisfaites), mais ça plante au lancement.

Testé avec différentes versions  de java (java-7-openjdk-amd64 // jre1.8.0_51 // java-9-oracle):  ça plante au lancement.

En lançant à partir du terminal (meme en admin), on n'a pas beaucoup plus d'info :
Code: [Select]
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/usr/share/ancestris/platform/lib/boot.jar) to field java.net.URL.handler
WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Ci dessous le log
Code: [Select]
>Log Session: Sunday, May 13, 2018 at 8:01:43 PM Central European Summer Time
>System Info:
  Product Version         = Ancestris-0.9 (Build 201409082112)
  Operating System        = Linux version 4.4.0-112-generic running on amd64
  Java; VM; Vendor        = 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 9.0.4+11
  Java Home               = /usr/lib/jvm/java-9-oracle
  System Locale; Encoding = fr_FR (ancestris); UTF-8
  Home Directory          = /home/jean-yves
  Current Directory       = /usr/share/ancestris/bin
  User Directory          = /home/jean-yves/.ancestris/0.9
  Cache Directory         = /home/jean-yves/.ancestris/0.9/var/cache
  Installation            = /usr/share/ancestris/ancestris
                            /usr/share/ancestris/platform
  Boot & Ext. Classpath   =
  Application Classpath   = /usr/share/ancestris/platform/lib/boot.jar:/usr/share/ancestris/platform/lib/org-openide-modules.jar:/usr/share/ancestris/platform/lib/org-openide-util.jar:/usr/share/ancestris/platform/lib/org-openide-util-lookup.jar:/usr/share/ancestris/platform/lib/locale/boot_ar_SA.jar:/usr/share/ancestris/platform/lib/locale/boot_bg.jar:/usr/share/ancestris/platform/lib/locale/boot_ca.jar:/usr/share/ancestris/platform/lib/locale/boot_cs.jar:/usr/share/ancestris/platform/lib/locale/boot_de.jar:/usr/share/ancestris/platform/lib/locale/boot_es.jar:/usr/share/ancestris/platform/lib/locale/boot_fr.jar:/usr/share/ancestris/platform/lib/locale/boot_gl_ES.jar:/usr/share/ancestris/platform/lib/locale/boot_in_ID.jar:/usr/share/ancestris/platform/lib/locale/boot_it.jar:/usr/share/ancestris/platform/lib/locale/boot_ko.jar:/usr/share/ancestris/platform/lib/locale/boot_nl_NL.jar:/usr/share/ancestris/platform/lib/locale/boot_pl.jar:/usr/share/ancestris/platform/lib/locale/boot_pt_PT.jar:/usr/share/ancestris/platform/lib/locale/boot_ro.jar:/usr/share/ancestris/platform/lib/locale/boot_si.jar:/usr/share/ancestris/platform/lib/locale/boot_sq.jar:/usr/share/ancestris/platform/lib/locale/boot_sv.jar:/usr/share/ancestris/platform/lib/locale/boot_tr.jar:/usr/share/ancestris/platform/lib/locale/boot_zh_TW.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_ar_SA.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_bg.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_ca.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_cs.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_de.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_es.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_fr.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_gl_ES.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_in_ID.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_it.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_ko.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_nl_NL.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_pl.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_pt_PT.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_ro.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_si.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_sq.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_sv.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_tr.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_zh_TW.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_ar_SA.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_bg.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_ca.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_cs.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_de.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_es.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_fr.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_gl_ES.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_in_ID.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_it.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_ko.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_bg.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_ca.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_cs.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_de.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_es.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_fr.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_gl_ES.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_in_ID.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_it.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_ko.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_nl_NL.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_pl.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_ro.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_si.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_sv.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_tr.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_nl_NL.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_pl.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_pt_PT.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_ro.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_si.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_sq.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_sv.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_tr.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_zh_TW.jar
  Startup Classpath       = /usr/share/ancestris/platform/core/org-openide-filesystems.jar:/usr/share/ancestris/platform/core/core.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_bg.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_fr.jar:/usr/share/ancestris/platform/core/locale/core_ca.jar:/usr/share/ancestris/platform/core/locale/core_es.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_ko.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_in_ID.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_cs.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_it.jar:/usr/share/ancestris/platform/core/locale/core_ar_SA.jar:/usr/share/ancestris/platform/core/locale/core_ko.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_tr.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_pt_PT.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_gl_ES.jar:/usr/share/ancestris/platform/core/locale/core_tr.jar:/usr/share/ancestris/platform/core/locale/core_sv.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_ro.jar:/usr/share/ancestris/platform/core/locale/core_cs.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_de.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_zh_TW.jar:/usr/share/ancestris/platform/core/locale/core_pl.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_si.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_pl.jar:/usr/share/ancestris/platform/core/locale/core_sq.jar:/usr/share/ancestris/platform/core/locale/core_de.jar:/usr/share/ancestris/platform/core/locale/core_pt_PT.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_es.jar:/usr/share/ancestris/platform/core/locale/core_bg.jar:/usr/share/ancestris/platform/core/locale/core_nl_NL.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_ar_SA.jar:/usr/share/ancestris/platform/core/locale/core_zh_TW.jar:/usr/share/ancestris/platform/core/locale/core_ro.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_nl_NL.jar:/usr/share/ancestris/platform/core/locale/core_gl_ES.jar:/usr/share/ancestris/platform/core/locale/core_si.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_ca.jar:/usr/share/ancestris/platform/core/locale/core_it.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_sq.jar:/usr/share/ancestris/platform/core/locale/core_in_ID.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_sv.jar:/usr/share/ancestris/platform/core/locale/core_fr.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_pt.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_fr.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_no.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_es.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_el.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_cs.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_fi.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_it.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_sv.jar
-------------------------------------------------------------------------------
java.lang.SecurityException: setContextClassLoader
at java.base/jdk.internal.misc.InnocuousThread.setContextClassLoader(InnocuousThread.java:104)
at org.netbeans.ModuleManager.updateContextClassLoaders(ModuleManager.java:469)
at org.netbeans.ModuleManager.<init>(ModuleManager.java:164)
at org.netbeans.core.startup.ModuleSystem.<init>(ModuleSystem.java:109)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:169)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:150)
at org.netbeans.core.startup.Main.start(Main.java:307)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
at java.base/java.lang.Thread.run(Thread.java:844)

 Si quelqu'un a une idée, ce serait bien sympa.
Merci. :)
 

********** Solution *********

Le solution c'est de forcer Ancestris à utiliser java8 qu'il ne trouve pas même si la bonne version est choisie par défaut.
Pour celà modifier le fichier ancestris.conf localisé dans /usr/share/ancestris/etc (version quotidienne ou ppa).
On peut forcer l'emplacement de java, ce qui donne dans mon cas :
Code: [Select]
# default location of JDK/JRE, can be overridden by using --jdkhome <dir> switch
#jdkhome="/path/to/jdk"
jdkhome="/usr/lib/jvm/jre1.8.0_51"

Volià, ça fonctionne bien comme ça.

***************************
« Last Edit: May 16, 2018, 12:53:49 by jean-yves »

Offline FredericL

  • VIP
  • Hero Member
  • *
  • Posts: 888
    • View Profile
    • Généalogie personnelle et logiciel gratuit Ancestris
Re: Lancement Impossible
« Reply #1 on: May 13, 2018, 22:08:26 »
Bonjour,

je peux penser à deux chose:

- Ancestris ne fonctionne pas sous java 9. Vous avez essayé d'autres version de java (8 ok) mais manifestement vous avez encore l'erreur. Assurez-vous qu'en changeant de version de java, Ancestris trouve bien la bonne version. Pour cela allez voir dans "A propos". Ancestris vous affiche la version trouvée.

- Repartez de la version quotidienne sur le site Ancestris.org. Si c'est déjà le cas, c'est autre chose.

Bien à vous,
Frederic

Offline jean-yves

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: Lancement Impossible
« Reply #2 on: May 13, 2018, 23:09:06 »
Merci pour la réponse !
Je n'ai pas le "A propos" puisque je n'ai accès à rien, mais effectivement je pense que le problème vient bien du fait que le logiciel ne trouve pas la bonne version de java.

En effet, je l'ai désinstallé, puis je suis passsé sur java 8 et j'ai réintallé.
Ca plante toujours, mais le log fait toujours réréfence à java 9.

Code: [Select]
jean-yves@PC:~$ java -version
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)

le log :
Code: [Select]
-------------------------------------------------------------------------------
>Log Session: Sunday, May 13, 2018 at 11:53:38 PM Central European Summer Time
>System Info:
  Product Version         = Ancestris-0.9 (Build 201409082112)
  Operating System        = Linux version 4.4.0-112-generic running on amd64
  Java; VM; Vendor        = 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 9.0.4+11
  Java Home               = /usr/lib/jvm/java-9-oracle
  System Locale; Encoding = fr_FR (ancestris); UTF-8
  Home Directory          = /home/jean-yves
  Current Directory       = /usr/share/ancestris/bin
  User Directory          = /home/jean-yves/.ancestris/0.9
  Cache Directory         = /home/jean-yves/.ancestris/0.9/var/cache
  Installation            = /usr/share/ancestris/ancestris
                            /usr/share/ancestris/platform
  Boot & Ext. Classpath   =
  Application Classpath   = /usr/share/ancestris/platform/lib/boot.jar:/usr/share/ancestris/platform/lib/org-openide-modules.jar:/usr/share/ancestris/platform/lib/org-openide-util.jar:/usr/share/ancestris/platform/lib/org-openide-util-lookup.jar:/usr/share/ancestris/platform/lib/locale/boot_ar_SA.jar:/usr/share/ancestris/platform/lib/locale/boot_bg.jar:/usr/share/ancestris/platform/lib/locale/boot_ca.jar:/usr/share/ancestris/platform/lib/locale/boot_cs.jar:/usr/share/ancestris/platform/lib/locale/boot_de.jar:/usr/share/ancestris/platform/lib/locale/boot_es.jar:/usr/share/ancestris/platform/lib/locale/boot_fr.jar:/usr/share/ancestris/platform/lib/locale/boot_gl_ES.jar:/usr/share/ancestris/platform/lib/locale/boot_in_ID.jar:/usr/share/ancestris/platform/lib/locale/boot_it.jar:/usr/share/ancestris/platform/lib/locale/boot_ko.jar:/usr/share/ancestris/platform/lib/locale/boot_nl_NL.jar:/usr/share/ancestris/platform/lib/locale/boot_pl.jar:/usr/share/ancestris/platform/lib/locale/boot_pt_PT.jar:/usr/share/ancestris/platform/lib/locale/boot_ro.jar:/usr/share/ancestris/platform/lib/locale/boot_si.jar:/usr/share/ancestris/platform/lib/locale/boot_sq.jar:/usr/share/ancestris/platform/lib/locale/boot_sv.jar:/usr/share/ancestris/platform/lib/locale/boot_tr.jar:/usr/share/ancestris/platform/lib/locale/boot_zh_TW.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_ar_SA.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_bg.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_ca.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_cs.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_de.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_es.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_fr.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_gl_ES.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_in_ID.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_it.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_ko.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_nl_NL.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_pl.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_pt_PT.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_ro.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_si.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_sq.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_sv.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_tr.jar:/usr/share/ancestris/platform/lib/locale/org-openide-modules_zh_TW.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_ar_SA.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_bg.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_ca.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_cs.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_de.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_es.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_fr.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_gl_ES.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_in_ID.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_it.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_ko.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_bg.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_ca.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_cs.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_de.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_es.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_fr.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_gl_ES.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_in_ID.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_it.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_ko.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_nl_NL.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_pl.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_ro.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_si.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_sv.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util-lookup_tr.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_nl_NL.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_pl.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_pt_PT.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_ro.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_si.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_sq.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_sv.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_tr.jar:/usr/share/ancestris/platform/lib/locale/org-openide-util_zh_TW.jar
  Startup Classpath       = /usr/share/ancestris/platform/core/org-openide-filesystems.jar:/usr/share/ancestris/platform/core/core.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_bg.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_fr.jar:/usr/share/ancestris/platform/core/locale/core_ca.jar:/usr/share/ancestris/platform/core/locale/core_es.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_ko.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_in_ID.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_cs.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_it.jar:/usr/share/ancestris/platform/core/locale/core_ar_SA.jar:/usr/share/ancestris/platform/core/locale/core_ko.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_tr.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_pt_PT.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_gl_ES.jar:/usr/share/ancestris/platform/core/locale/core_tr.jar:/usr/share/ancestris/platform/core/locale/core_sv.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_ro.jar:/usr/share/ancestris/platform/core/locale/core_cs.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_de.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_zh_TW.jar:/usr/share/ancestris/platform/core/locale/core_pl.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_si.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_pl.jar:/usr/share/ancestris/platform/core/locale/core_sq.jar:/usr/share/ancestris/platform/core/locale/core_de.jar:/usr/share/ancestris/platform/core/locale/core_pt_PT.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_es.jar:/usr/share/ancestris/platform/core/locale/core_bg.jar:/usr/share/ancestris/platform/core/locale/core_nl_NL.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_ar_SA.jar:/usr/share/ancestris/platform/core/locale/core_zh_TW.jar:/usr/share/ancestris/platform/core/locale/core_ro.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_nl_NL.jar:/usr/share/ancestris/platform/core/locale/core_gl_ES.jar:/usr/share/ancestris/platform/core/locale/core_si.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_ca.jar:/usr/share/ancestris/platform/core/locale/core_it.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_sq.jar:/usr/share/ancestris/platform/core/locale/core_in_ID.jar:/usr/share/ancestris/platform/core/locale/org-openide-filesystems_sv.jar:/usr/share/ancestris/platform/core/locale/core_fr.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_pt.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_fr.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_no.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_es.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_el.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_cs.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_fi.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_it.jar:/usr/share/ancestris/ancestris/core/locale/core_ancestris_sv.jar
-------------------------------------------------------------------------------
java.lang.SecurityException: setContextClassLoader
at java.base/jdk.internal.misc.InnocuousThread.setContextClassLoader(InnocuousThread.java:104)
at org.netbeans.ModuleManager.updateContextClassLoaders(ModuleManager.java:469)
at org.netbeans.ModuleManager.<init>(ModuleManager.java:164)
at org.netbeans.core.startup.ModuleSystem.<init>(ModuleSystem.java:109)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:169)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:150)
at org.netbeans.core.startup.Main.start(Main.java:307)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
at java.base/java.lang.Thread.run(Thread.java:844)


Par contre je n'ai pas envie de virer java 9, et je ne sais pas comment lui dire d'utiliser java 8.
Peut-etre avec une ligne de commande...

Offline FredericL

  • VIP
  • Hero Member
  • *
  • Posts: 888
    • View Profile
    • Généalogie personnelle et logiciel gratuit Ancestris
Re: Lancement Impossible
« Reply #3 on: May 14, 2018, 06:33:15 »
Bonjour,

A oui en effet!

Pas besoin de supprimer la version 9. Pour commuter, on peut facilement sur linux avec la ligne de commande suivante:

sudo update-alternatives --config java

Est-ce que c'est bon pour vous ?

Frédéric


Offline jean-yves

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: Lancement Impossible
« Reply #4 on: May 14, 2018, 11:50:44 »
Bonjour,
Oui, c'est bien comme ça que l'on change la version de java, et c'est bien ce que j'avais fait.
Même en utilisant la version 8, Ancestris ne trouve que la 9 (voir log)
J'essaierai ce soir avec la version quotidienne du site.
PS : mon message d'hier est resté non publié.

Merci pour votre aide ! :D

Offline FredericL

  • VIP
  • Hero Member
  • *
  • Posts: 888
    • View Profile
    • Généalogie personnelle et logiciel gratuit Ancestris
Re: Lancement Impossible
« Reply #5 on: May 14, 2018, 17:40:45 »
Bonjour,

Après avoir fait "sudo update-alternatives --config java" pour basculer sur la version 8, faites : "java -version".

Cela devrait vous afficher la version 8 de java.

Quelle version cela vous affiche-t-il ?

Bien à vous,
Frederic

Offline jean-yves

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: Lancement Impossible
« Reply #6 on: May 14, 2018, 20:28:46 »
Bonsoir,
La version de java utilisée par l'ordi est bien la bonne (cf post précédent)
Code: [Select]
jean-yves@PC:~$ java -version
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)

Le problème c'est de pouvoir forcer Ancestris à l'utiliser; mais je crois que j'ai trouvé.  8)
Ca se passe dans le fichier ancestris.conf localisé dans /usr/share/ancestris/etc (version quotidienne ou ppa).
On peut forcer l'emplacement de java, ce qui donne dans mon cas :
Code: [Select]
# default location of JDK/JRE, can be overridden by using --jdkhome <dir> switch
#jdkhome="/path/to/jdk"
jdkhome="/usr/lib/jvm/jre1.8.0_51"

J'ai pas mal galéré car je mettais
Code: [Select]
jdkhome="/usr/lib/jvm/jre1.8.0_51/bin/java"
Enfin ça fonctionne; j'espère que ça en vaut le coup !  ;)
Merci pour l'aide.