emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel] ob-java error org-babel-execute-src-block: Wrong type ar


From: Torsten Wagner
Subject: Re: [O] [babel] ob-java error org-babel-execute-src-block: Wrong type argument: characterp, "-cp ."
Date: Wed, 8 Aug 2012 12:16:23 +0900

Hi Eric,

AAAAAARRRRGGGHHHH.... now I remember I participated in that discussion
to replace #+BABEL by #+PROPERTY.....
that is the pitfall if you reuse stuff only once a year and heavy
development goes on in the mean time ;)

Thanks for the reminder and yeah now all works out ok.

Just as a note to myself and maybe others who read this...

#+PROPERTY: :mkdirp t
#+PROPERTY: :cmpflag -cp .
#+PROPERTY: :cmdline -cp .

This is what is needed to set the flags for the java environment

#+BEGIN_SRC text :tangle ./item1.txt
A
B
C
#+END_SRC

This blocks allow you to TANGLE files which you might need to test
your code (simulate input etc.)
The problem here... you need to TANGLE them... NOT execute them.

So now it works again. The problem was a PEBKAC...

Thanks Eric

Torsten



reply via email to

[Prev in Thread] Current Thread [Next in Thread]