From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Re: ditaa set-up on windows box Date: Mon, 27 Sep 2010 23:04:37 +0200 Message-ID: <87aan2ew4a.fsf@gmx.de> References: <0vhbher9pp.fsf@gmail.com> <87r5gi6i8m.fsf@gmx.de> <0vr5gfceil.fsf@gmail.com> <87eicfdscx.fsf@gmx.de> <0vmxr3cd0b.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=51673 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0KsS-00021g-Tt for emacs-orgmode@gnu.org; Mon, 27 Sep 2010 17:04:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0KsR-0000yJ-5m for emacs-orgmode@gnu.org; Mon, 27 Sep 2010 17:04:48 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:35350 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1P0KsQ-0000y7-Nc for emacs-orgmode@gnu.org; Mon, 27 Sep 2010 17:04:47 -0400 In-Reply-To: <0vmxr3cd0b.fsf@gmail.com> (Markus Heller's message of "Mon, 27 Sep 2010 10:28:04 -0700") 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: Markus Heller Cc: emacs-orgmode@gnu.org Markus Heller writes: > Sebastian Rose writes: > >> Markus Heller writes: >>> 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) >> >> >> Oh - or could the spaces in the path trigger that problem? >> >> You could try to put ditaa.jar to >> >> C:\ditaa.jar >> >> and retry. >> >> That would move the error to Org-mode. > > I did this, and now I get: > > C:\>java -jar ditaa.jar --help > Exception in thread "main" java.lang.UnsupportedClassVersionError: org/stathissi > deris/ascii2image/core/CommandLineConverter (Unsupported major.minor version 49. > 0) > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(Unknown Source) > at java.security.SecureClassLoader.defineClass(Unknown Source) > at java.net.URLClassLoader.defineClass(Unknown Source) > at java.net.URLClassLoader.access$100(Unknown Source) > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClassInternal(Unknown Source) I guess you're still using Java 1.4 and some of the current ditaa components require at least java 5 (v. 1.5....). > And neither java.util.zip nor java.util.jar exist on my system, although java.util and java.zip live in rt.jar as most important packages do. > I've just re-installed the Java Runtime Environment jre1.6.0_07. Which is what I use here (java version "1.6.0_21") But I guess java -version will show an elder version. Sebastian