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.


<http://download.oracle.com/javase/tutorial/essential/environment/paths.html>
John

On Mon, Sep 27, 2010 at 12:28 PM, Markus Heller <helle...@gmail.com> wrote:

> Sebastian Rose <sebastian_r...@gmx.de> writes:
>
> > Markus Heller <helle...@gmail.com> 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.<init>(Unknown Source)
> >>         at java.util.jar.JarFile.<init>(Unknown Source)
> >>         at java.util.jar.JarFile.<init>(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
>
_______________________________________________
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

Reply via email to