From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jason F. McBrayer" Subject: Re: How-to evaluate Java-snippets in org-mode/org-babel? Date: Tue, 05 Jul 2011 09:48:32 -0400 Message-ID: <60823cb60ff097c37ecd62f5c9865914@marie.carcosa.net> References: <4E12B6DB.4090001@gmail.com> <87tyb1jdtk.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe5zU-0000Wb-Q9 for emacs-orgmode@gnu.org; Tue, 05 Jul 2011 09:48:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qe5zP-0000Ui-Df for emacs-orgmode@gnu.org; Tue, 05 Jul 2011 09:48:40 -0400 Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.121]:40953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe5zP-0000UV-5M for emacs-orgmode@gnu.org; Tue, 05 Jul 2011 09:48:35 -0400 In-Reply-To: <87tyb1jdtk.fsf@pinto.chemeng.ucl.ac.uk> 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: Org Mode Mailing List On Tue, 05 Jul 2011 10:07:19 +0100, Eric S Fraga wrote: > Torsten Wagner 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. My guess is that if you want to execute it directly within org, the thing to do is to run it in beanshell[1], like JDEE does. I'm not really familiar enough with org-babel to tell you how to go about doing that, though. [1] http://www.beanshell.org/ -- +-----------------------------------------------------------+ | Jason F. McBrayer jmcbray@carcosa.net | | If someone conquers a thousand times a thousand others in | | battle, and someone else conquers himself, the latter one | | is the greatest of all conquerors. --- The Dhammapada |