Re: [Orgmode] ditaa set-up on windows box

2010-09-25 Thread Sebastian Rose
Markus Heller helle...@gmail.com 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

Can you execute 

   java -jar c:\path\to\ditaa.jar --help

on the command line using the value of that variable? 



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.



  Sebastian

___
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


AW: [Orgmode] ditaa set-up on windows box

2010-09-25 Thread Martin Stemplinger
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 experienced similar problems with the latest ditaa version (0.9) from
sourceforge but not with version 0.8 (no idea why). So you might give that
version a try.

HTH
Martin


___
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


[Orgmode] ditaa set-up on windows box

2010-09-24 Thread Markus Heller
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


___
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


Re: [Orgmode] ditaa set-up on windows box

2010-09-24 Thread John Hendy
Interesting. I use Linux but have a Win XP box at work and set up Org-mode
for a co-worker so that I would know how to set it up on Windows for him. I
didn't have any trouble, actually.

I just put:
(setq org-ditaa-jar-path C:/Program
Files/emacs23/org.git/contrib/scripts/ditaa.jar)

and

(org-babel-do-load-languages
 'org-babel-load-languages
 '((ditaa . t)))

in init.el and all worked fine. One thing you might try is running ditaa
right from the command line. I haven't done this on Windows, but the Linux
command would be:

Make the file ditaa.txt and copy this into it (from
http://ditaa.sourceforge.net/):

++   +---++---+
|| --+ ditaa +-- |   |
|  Text  |   +---+|diagram|
|Document|   |!magic!||   |
| {d}|   |   ||   |
+---++   +---++---+
: ^
|   Lots of work  |

+-+

Save the file and run java -jar /path/to/ditaa.jar ditaa.txt and see what
happens.

If it works, something's goofed with the org-mode setup. If it doesn't work,
something else is goofy.

Sorry I can't help more!
John


On Fri, Sep 24, 2010 at 6:41 PM, Markus Heller helle...@gmail.com wrote:

 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


 ___
 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