emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Torsten Wagner <torsten.wagner@gmail.com>
To: Eric Schulte <eric.schulte@gmx.com>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: [babel] ob-java error org-babel-execute-src-block: Wrong type argument: characterp, "-cp ."
Date: Wed, 8 Aug 2012 12:16:23 +0900	[thread overview]
Message-ID: <CAPaq-gM=6YUzPTvCjd_ko==nTZFRQ4U2U0KqRdxeucWGYcH96g@mail.gmail.com> (raw)
In-Reply-To: <878vdqu7gf.fsf@gmx.com>

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	other threads:[~2012-08-08  3:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-07  8:17 [babel] ob-java error org-babel-execute-src-block: Wrong type argument: characterp, "-cp ." Torsten Wagner
2012-08-07  8:59 ` Torsten Wagner
2012-08-07 14:01 ` Eric Schulte
2012-08-08  3:16   ` Torsten Wagner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPaq-gM=6YUzPTvCjd_ko==nTZFRQ4U2U0KqRdxeucWGYcH96g@mail.gmail.com' \
    --to=torsten.wagner@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric.schulte@gmx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).