From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephane Wirtel Subject: Bug: JNI Error with ditaa on Fedora 24 [8.3.6 (8.3.6-7-g4d7d52-elpaplus @ /home/stephane/.emacs.d/elpa/org-plus-contrib-20161024/)] Date: Tue, 25 Oct 2016 14:47:49 +0200 Message-ID: <20161025124749.cwfjj7wuosa5rhf5@sg1> Reply-To: stephane@wirtel.be Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bz195-0003SG-8K for emacs-orgmode@gnu.org; Tue, 25 Oct 2016 08:48:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bz190-0003hy-P0 for emacs-orgmode@gnu.org; Tue, 25 Oct 2016 08:47:59 -0400 Received: from mx1.wirtel.be ([176.31.126.55]:45574) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bz190-0003hf-ER for emacs-orgmode@gnu.org; Tue, 25 Oct 2016 08:47:54 -0400 Received: from sg1 (unknown [IPv6:2a02:2788:c4:787:664b:f0ff:fe00:edd1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: stephane@wirtel.be) by mx1.wirtel.be (Postfix) with ESMTPSA id B0CBB13E0119 for ; Tue, 25 Oct 2016 14:48:23 +0200 (CEST) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hello, I use Fedora 25, when I try to use ditaa with org-mode, I have got an issue when I try to export to html. Here is the command line with org-reveal-export-to-html and of course, the result ;-) java -Dfile.encoding=3DUTF-8 -jar /usr/share/java/ditaa.jar /tmp/babel-1= 5829PB1/ditaa-15829N9U /home/stephane/presentations/s2.png =20 Error: A JNI error has occurred, please check your installation and try a= gain =20 Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/com= mons/cli/ParseException =20 at java.lang.Class.getDeclaredMethods0(Native Method) = =20 at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) = =20 at java.lang.Class.privateGetMethodRecursive(Class.java:3048) = =20 at java.lang.Class.getMethod0(Class.java:3018) = =20 at java.lang.Class.getMethod(Class.java:1784) = =20 at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.j= ava:544) =20 at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.ja= va:526) =20 Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.Parse= Exception =20 at java.net.URLClassLoader.findClass(URLClassLoader.java:381) = =20 at java.lang.ClassLoader.loadClass(ClassLoader.java:424) = =20 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) = =20 at java.lang.ClassLoader.loadClass(ClassLoader.java:357) = =20 ... 7 more =20 I have used the official package of fedora for ditaa, and there is no custom packages. I think an issue with the classpath, but when I try to set it on the command line via an export, I get the same error. Maybe you have an idea ? Thank you, Stephane Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. ------------------------------------------------------------------------ Emacs : GNU Emacs 25.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.20.9) of 2016-10-13 Package: Org-mode version 8.3.6 (8.3.6-7-g4d7d52-elpaplus @ /home/stephan= e/.emacs.d/elpa/org-plus-contrib-20161024/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-t= oggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-= command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-html-format-drawer-function '(lambda (name contents) contents) org-latex-format-inlinetask-function 'org-latex-format-inlinetask-defaul= t-function org-confirm-shell-link-function 'yes-or-no-p org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-defaul= t org-latex-format-headline-function 'org-latex-format-headline-default-fu= nction org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-format-drawer-function '(lambda (name contents) contents) org-from-is-user-regexp "\\" org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-con= figure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-m= ajor-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook= org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes org-eldoc-load) org-archive-hook '(org-attach-archive-delete-maybe) org-ascii-format-drawer-function '(lambda (name contents width) contents= ) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safel= y-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers= org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-babel-tangle-lang-exts '(("python" . "py") ("emacs-lisp" . "el") ("e= lisp" . "el")) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-ditaa-jar-path "/usr/share/java/ditaa.jar" org-html-format-headline-function 'org-html-format-headline-default-func= tion org-startup-truncated nil org-structure-template-alist '(("n" "#+BEGIN_NOTES\n?\n#+END_NOTES") ("s= " "#+BEGIN_SRC ?\n\n#+END_SRC") ("e" "#+BEGIN_EXAMPLE\n?\n#+END_EXAMPLE") ("q" "#+BEGIN_QUOTE\n?\n#+E= ND_QUOTE") ("v" "#+BEGIN_VERSE\n?\n#+END_VERSE") ("V" "#+BEGIN_VERBATIM\n?\n#+EN= D_VERBATIM") ("c" "#+BEGIN_CENTER\n?\n#+END_CENTER") ("l" "#+BEGIN_LaTeX\n?\n#+END= _LaTeX") ("L" "#+LaTeX: ") ("h" "#+BEGIN_HTML\n?\n#+END_HTML") ("H" "#+HTML: ") ("a" "#+BEGIN_AS= CII\n?\n#+END_ASCII") ("A" "#+ASCII: ") ("i" "#+INDEX: ?") ("I" "#+INCLUDE: %file ?")) org-babel-load-languages '((emacs-lisp . t) (ditaa \.t) (python \.t) (ca= lc . t)) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-= function org-clock-out-hook '(org-clock-remove-empty-clock-drawer) ) --=20 St=C3=A9phane Wirtel - http://wirtel.be - @matrixise