[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ob-java
From: |
Jarmo Hurri |
Subject: |
Re: [PATCH] ob-java |
Date: |
Sat, 14 Nov 2020 13:47:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi again!
Jarmo Hurri <jarmo.hurri@iki.fi> writes:
> It seems that you have changed some classloader settings in the new
> code. I have examples which used to work perfectly; now they still
> compile, but fail to run, throwing exception
>
> java.lang.NoClassDefFoundError
I had some extra time today, so I took a look at ob-java.el. Unless
header argument dir is set, java is run in a temporary directory. So I
can get around this problem by setting header argument
:dir "."
which is nice, at least as a workaround.
I am not sure what the default behaviour should be. At the moment,
though, I do not think temporary dir is a good default, because by
default the program will then the "miss" all opened (data) files as
well. Right?
Perhaps all babel languages have a common policy here that I am not
aware of.
But in any case it looks to me that the behaviour has changed now, so if
it is changed in the stable branch (I am running master), I think it
should be documented clearly (as an incompatible change). Perhaps it
already is documented like that.
All the best, and stay safe.
Jarmo
- Re: [PATCH] ob-java, Jarmo Hurri, 2020/11/05
- Re: [PATCH] ob-java, ian martins, 2020/11/05
- Re: [PATCH] ob-java, Jarmo Hurri, 2020/11/06
- Re: [PATCH] ob-java, Jarmo Hurri, 2020/11/10
- Re: [PATCH] ob-java,
Jarmo Hurri <=
- Re: [PATCH] ob-java, ian martins, 2020/11/14
- Re: [PATCH] ob-java, Jarmo Hurri, 2020/11/14
- Re: [PATCH] ob-java, ian martins, 2020/11/17
- Re: [PATCH] ob-java, Bastien, 2020/11/11