emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Org-babel Java imports


From: Tim Jones
Subject: Re: [O] Org-babel Java imports
Date: Tue, 19 Sep 2017 09:51:18 +0000

Eric

Thanks for your reply

No - that's exactly what I did first, but it did not work.  

I then tried preceding it with a package statement, which did not work either.

It got me thinking that I had now idea how it could resolve dependencies, whether for java packages, which you would expect to be on the classpath by default and therefore could be found, or for external libraries, which would usually be downloaded and put on the classpath by a tool like gradle or maven.

Have you any insight into this or could you suggest whom I might ask?

Regards,

Tim

On Tue, Sep 19, 2017 at 10:10 AM Eric S Fraga <address@hidden> wrote:
On Friday, 15 Sep 2017 at 14:56, Tim Jones wrote:
> Hi
> Want to create org docs with embedded java blocks which will generate
> testing data
>
> I have seen
> http://ehneilsen.net/notebook/orgExamples/org-examples.html#sec-19
> but have not been able to find an example where there are any import
> statements e.g.
> import java.time.*;

Can you not simply put this line as the first line of the actual source
block, i.e. after the #+begin_src?  (untested)
--
: Eric S Fraga via Emacs 26.0.50, Org release_9.0.10-729-gb792e2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]