Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - jean-yves

Pages: [1]
1
FRANÇAIS / 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.

***************************

Pages: [1]