From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Re: ditaa set-up on windows box Date: Mon, 27 Sep 2010 17:04:26 -0500 Message-ID: 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: multipart/mixed; boundary="===============1380327312==" Return-path: Received: from [140.186.70.92] (port=52243 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0LoE-0000E8-KL for emacs-orgmode@gnu.org; Mon, 27 Sep 2010 18:04:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0LoC-0007gg-Tx for emacs-orgmode@gnu.org; Mon, 27 Sep 2010 18:04:30 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:54338) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0LoC-0007gN-Hh for emacs-orgmode@gnu.org; Mon, 27 Sep 2010 18:04:28 -0400 Received: by bwz10 with SMTP id 10so5041238bwz.0 for ; Mon, 27 Sep 2010 15:04:26 -0700 (PDT) In-Reply-To: <0vmxr3cd0b.fsf@gmail.com> 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 --===============1380327312== Content-Type: multipart/alternative; boundary=001636c5ba596a56fc049144e9cb --001636c5ba596a56fc049144e9cb Content-Type: text/plain; charset=ISO-8859-1 Markus, Can you check your CLASSPATH environment variable? Mine is (not sure if it's correct, but it works...): .;C:\Program Files\Java\jre6\lib\ext\QTJava.zip Do you have one set? Is this any help? http://download.oracle.com/javase/tutorial/essential/environment/paths.html This is quite odd and makes me wonder if it's Java related. Like a corrupt installation somehow. John On Mon, Sep 27, 2010 at 12:28 PM, Markus Heller wrote: > 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) > > And neither java.util.zip nor java.util.jar exist on my system, although > I've just re-installed the Java Runtime Environment jre1.6.0_07. > > I wish I was using a Mac or Linux ... > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --001636c5ba596a56fc049144e9cb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Markus,


Can you check your CLASSPATH envi= ronment variable? Mine is (not sure if it's correct, but it works...):<= /div>

.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip

Do you have one set?


This is quite odd and makes me wonder if it's Java = related. Like a corrupt installation somehow.


=
John

On Mon, Sep 27, 2010 at 12:28 PM, Markus Hel= ler <hellerm2@gm= ail.com> wrote:
Sebastian Rose <sebastian_rose@gmx.de> writes:

> Markus Heller <hellerm2@gmail.com> writes:
>> C:\Documents and Settings\mheller>java -jar C:\Documents and Se= ttings\mheller\.e
>> macs.d\org-mode\contrib\scripts\ditaa.jar --help
>> Exception in thread "main" java.util.zip.ZipException: T= he system cannot find th
>> e file specified
>> =A0 =A0 =A0 =A0 at java.util.zip.ZipFile.open(Native Method)
>> =A0 =A0 =A0 =A0 at java.util.zip.ZipFile.<init>(Unknown Sour= ce)
>> =A0 =A0 =A0 =A0 at java.util.jar.JarFile.<init>(Unknown Sour= ce)
>> =A0 =A0 =A0 =A0 at java.util.jar.JarFile.<init>(Unknown Sour= ce)
>
>
> Oh - or could the spaces in the path trigger that problem?
>
> You could try to put ditaa.jar to
>
> =A0 =A0C:\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 versio= n 49.
0)
=A0 =A0 =A0 =A0at java.lang.ClassLoader.defineClass0(Native Method)
=A0 =A0 =A0 =A0at java.lang.ClassLoader.defineClass(Unknown Source)
=A0 =A0 =A0 =A0at java.security.SecureClassLoader.defineClass(Unknown Sour= ce)
=A0 =A0 =A0 =A0at java.net.URLClassLoader.defineClass(Unknown Source)
=A0 =A0 =A0 =A0at java.net.URLClassLoader.access$100(Unknown Source)
=A0 =A0 =A0 =A0at java.net.URLClassLoader$1.run(Unknown Source)
=A0 =A0 =A0 =A0at java.security.AccessController.doPrivileged(Native Metho= d)
=A0 =A0 =A0 =A0at java.net.URLClassLoader.findClass(Unknown Source)
=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(Unknown Source)
=A0 =A0 =A0 =A0at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Sourc= e)
=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(Unknown Source)
=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClassInternal(Unknown Source)<= br>
And neither java.util.zip nor java.util.jar exist on my system, although I've just re-installed the Java Runtime Environment jre1.6.0_07.

I wish I was using a Mac or Linux ...



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--001636c5ba596a56fc049144e9cb-- --===============1380327312== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1380327312==--