> As I interpret the source in CVS, the option
>
> Classpath Extra=C:\foo\bar.jar
>
> should add C:\foo\bar.jar to the class path.
It should, yes.
> However it does not (I
> replaced the reference to javaw.exe by a prog that shows the class path
> to me).
If I augment launchthread.c with
(414)+ WinExec("cmd.exe", SW_NORMAL);
then, when a new console window appears I can see what CLASSPATH is set to.
It works for me and would suggest it ought to work as expected for the jre.
CLASSPATH is set correctly for the console window, and as this is just an
environment variable I can understand no reason why it would not work for
the CreateProcess on the following line. It could be that there is some
kind of problem with the way classpath is presented to the jre (unlikely) or
possibly that there is a problem with your 'replacement' javaw.exe
Alternatively perhaps there is an interaction with an existing CLASSPATH
environment variable in your system? freenet.exe should of course append
the freenet.jar, freenet-ext.jar and the contents of Classpath Extra onto
your existing CLASSPATH in such a situation but maybe this is at fault
(freenet.c lines 609-666)
d
_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl