Eric S Fraga <e.fr...@ucl.ac.uk> writes: > Torsten Wagner <torsten.wag...@gmail.com> writes: > >> Hi all, >> >> I need to evaluate many small java snippets. I tried to do this in >> org-mode but so fare it didn't work out. org-babel seems to have no >> java support ? > > Not directly but, given the issues with class paths and naming schemes, > I would suggest that the best route is to use babel to tangle code > instead of trying to execute it directly within org. So, for instance, > you might have: > > #+begin_src java :tangle "mypackage/myclass.java" > package mypackage; > public class myclass > { > ... > } > #+end_src > > Then "C-c v t" in org will put the code into the appropriate file.
That should have been "C-c C-v t" (org-babel-tangle); apologies for typographical error! -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.574.g5a503)