On Tue, Jan 24, 2012 at 09:24:01PM +0100, Christian Kellermann wrote:
> * Jon Kleiser <jon.klei...@usit.uio.no> [120124 21:14]:
> > With the ImageNoise script file in some other directory than the
> > "picoLisp", where the "ersatz" and "tmp" are, then I get
> > "ClassNotFoundException: ImageNoise"; otherwise it works as intended. Is
> ...
> Have you tried setting the classpath to also point to the picolisp
> Ersatzlisp? Either the -classpath or the environment variable should
> work. Other java apps have got the same problem and usually work
> around it by some trampoline script.

Hmm, strange.

The startup script "ersatz/pil" does some proper classpath fiddling. In
particular, it specifies the local "tmp/" directory. And it is also in
that directory where 'javac' creates its classfile. So far so good. The
"ClassNotFoundException" should not happen.

If that "tmp/" directory doesn't exist yet, it is created by 'javac'.

Now the strange thing is that the 'java' call in "ersatz/pil" seems to
ignore the "tmp/" classpath specification if that directory doesn't
exist yet. This results in the above error.

If you start it a second time (when "tmp/" already exists at startup of
"ersatz/pil") it works!

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to