That is true. I will make it less rigid.

On Mon, Nov 9, 2020 at 9:07 AM Jarmo Hurri <jarmo.hurri@iki.fi> wrote:

Hello Ian!

ian martins <ianxm@jhu.edu> writes:

> Let me know how it goes.

The new version seems to be sensitive to whitespace:

# -------------------------------------------------
* this one works
  #+begin_src java :classname Foo :results output
    public class Foo
    {
      public static void main(String[] args)
      {
        System.out.print("hello, world");
      }
    }
  #+end_src

  #+RESULTS:
  : hello, world

* this one does not (space after word =main=)
  #+begin_src java :classname Foo2 :results output
    public class Foo2
    {
      public static void main (String[] args)
      {
        System.out.print("hello, world");
      }
    }
  #+end_src
# -------------------------------------------------

All the best,

Jarmo