From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Heller Subject: Re: ditaa set-up on windows box Date: Mon, 27 Sep 2010 09:55:30 -0700 Message-ID: <0vr5gfceil.fsf@gmail.com> References: <0vhbher9pp.fsf@gmail.com> <87r5gi6i8m.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=49137 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0GzY-00024d-El for emacs-orgmode@gnu.org; Mon, 27 Sep 2010 12:55:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0GzW-0006mH-Vy for emacs-orgmode@gnu.org; Mon, 27 Sep 2010 12:55:52 -0400 Received: from lo.gmane.org ([80.91.229.12]:45951) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0GzW-0006lz-Kq for emacs-orgmode@gnu.org; Mon, 27 Sep 2010 12:55:50 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P0GzQ-0005D5-U6 for emacs-orgmode@gnu.org; Mon, 27 Sep 2010 18:55:44 +0200 Received: from mail.cdrd.ca ([142.103.191.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Sep 2010 18:55:44 +0200 Received: from hellerm2 by mail.cdrd.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Sep 2010 18:55:44 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Sebastian Rose writes: > Markus Heller writes: >> Hello everyone, >> >> this might be a little OT, but I'm having a hard time to get ditaa to >> run properly. The org-mode part works, it's the Java part that's giving >> me trouble, I'm getting loads of "Exception in thread "main" >> java.lang.misc stuff goes here" errors, and I have no Java experience >> whatsoever. >> >> I'm on a windoze XP box, and I was wondering if a fellow user might be >> willing to share his/her set-up. >> >> Thanks and Cheers >> Markus > > > Hi Markus, > > > > does `org-ditaa-jar-path' have the correct value? > You can find out this way: > > M-: org-ditaa-jar-path RET Yes, it does. > Can you execute > > java -jar c:\path\to\ditaa.jar --help > > on the command line using the value of that variable? Doing this gives the following error: C:\Documents and Settings\mheller>java -jar C:\Documents and Settings\mheller\.e macs.d\org-mode\contrib\scripts\ditaa.jar --help Exception in thread "main" java.util.zip.ZipException: The system cannot find th e file specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(Unknown Source) at java.util.jar.JarFile.(Unknown Source) at java.util.jar.JarFile.(Unknown Source) > If not, I suspect you use an outdated version of Org mode and need to > set `org-ditaa-jar-path' to the correct value yourself. Nowadays this > variable is set to the correct value automatically and ditaa.jar comes > with the development version of Org mode. M-x org-version: 7.01trans (release_7.01h.580.g2157) Is this a java problem? Thanks Markus