From mboxrd@z Thu Jan 1 00:00:00 1970 From: Torsten Wagner 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 Message-ID: References: <878vdqu7gf.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sywkz-0004td-7W for emacs-orgmode@gnu.org; Tue, 07 Aug 2012 23:16:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sywky-0007u0-9z for emacs-orgmode@gnu.org; Tue, 07 Aug 2012 23:16:25 -0400 Received: from mail-vb0-f41.google.com ([209.85.212.41]:44548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sywky-0007sv-4i for emacs-orgmode@gnu.org; Tue, 07 Aug 2012 23:16:24 -0400 Received: by vbkv13 with SMTP id v13so340443vbk.0 for ; Tue, 07 Aug 2012 20:16:23 -0700 (PDT) In-Reply-To: <878vdqu7gf.fsf@gmx.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Org Mode Mailing List 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