>From "Dave Hooper" <no-brain at mindless.com>
>> Sorry guys, humble apologies and I'll update freenet.exe after the
>weekend.
>> Dave
>
>No time like the present.  It's in now.
>Sebastian or whoever maintains the installer -  it now reads the flaunch.ini
>file to look for a string Fconfig=
>If it cannot find it it defaults to "/cp freenet.jar Freenet.node.gui.Config
>freenet.ini"
>
>So if the install script could set up the line in Flaunch.ini that would be
>great.
>
>Dave
>

Does freenet.exe call fserve.exe, or does it create the "java 
Freenet.node.Node" command line itself?  If it's the latter, you need to put 
CLASSPATH into the environment before calling it...
'SetEnvironmentVariable("CLASSPATH","freenet.jar");' should be enough, as long 
as the spawned process is inheriting your environment. (the -cp argument is 
apparently unreliable across versions of the jre).  Once you do that, you can 
take the '/cp freenet.jar' part out of flaunch.ini.

--
Benjamin Coates


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to