I've just had a play with the way freenet.exe starts/stops the java process
and, while I didn't find anything specific, or reproduce the problem, I've
built a copy of freenet.exe that favours executing java.exe instead of
javaw.exe and sending certain thread-messages to the java.exe main thread
instead of killing javaw.exe with TerminateProcess.

Let me know if this works better for you.

*I would appreciate people with access to Win9x machines giving the enclosed
freenet.exe a go also, as the reason TerminateProcess and javaw.exe were
originally used was to work around Win9x problems with java.exe.  These may
have been related to trying to use Microsoft's JVM, however, ...it's been a
while... Can anyone confirm this new version works correctly for them?*

http://www.beermex.com/@spc/freenet/custom/freenet.exe

d

----- Original Message -----
From: "Josh Steiner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 9:15 PM
Subject: Re: [freenet-dev] freenet won't stop/exit on win2k


> is any one else on windows 2000 seeing this?  if this isn't just
> something wonkey on my windows box then this should be a 0.5.1 blocker,
> as it prevents people from updating their freenet.
>
> Josh Steiner wrote:
>
> > gladly:
> >
> > [Freenet Launcher]
> > # following the runtime binaries to be used for the Java classes
> > # Javaexec/javaw should point to your Java Runtime binaries
> > (jview.exe/java.exe and javaw.exe)
> > javaexec=C:\Program Files\Java\j2re1.4.1\bin\java.exe
> > javaw=C:\Program Files\Java\j2re1.4.1\bin\javaw.exe
> >
> > # Commands to be executed by Java
> > frequest=freenet.client.cli.Main get
> > finsert=freenet.client.cli.Main put
> > fclient=freenet.client.cli.Main
> > fserve=freenet.node.Main
> > # the wrapper can take only 8 char long names for now. Switch to
> > # fservecli in the long run
> > fservecli=freenet.node.Main
> > fservew=freenet.node.Main
> > cfgnode=freenet.config.Setup
> >
> > # settings for seeding references
> > # it will call: %FSeed% %seedcmdpre% %RefFile% %seedcmdpost%
> > FSeed = fserve.exe
> > seedcmdpre = --seed
> > seedcmdpost =
> >
> > # how to call the configurator from the system tray utility
> > Fconfig = NodeConfig.exe
> > fconfigUseJava = 0
> >
> >
> > # with which executable should the commands be run (javaexec is
default)?
> > # e.g. uncomment to run the command without a DOS box
> > # but also using perl or plain .exe files (leave the executable empty
> > then) are possible in theory
> > fservew_exec=javaw
> > cfgnode_exec=javaw
> > Priority=0
> > PriorityClass=64
> >
> >
> > Dave Hooper wrote:
> >
> >> A copy of your flaunch.ini file would be useful right here.
> >>
> >> ----- Original Message ----- From: "Josh Steiner" <[EMAIL PROTECTED]>
> >> To: <[EMAIL PROTECTED]>
> >> Sent: Tuesday, February 18, 2003 9:23 PM
> >> Subject: [freenet-dev] freenet won't stop/exit on win2k
> >>
> >>
> >>
> >>
> >>> i've been having a problem with freenet recently where when i tell
> >>> it to exit it just hangs.  when i shutdown my computer
> >>>
> >>
> >>
> >>
> >> _______________________________________________
> >> devl mailing list
> >> [EMAIL PROTECTED]
> >> http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl
> >>
> >>
> >
> >
>
>
> --
> ____________________________________________________
> independent u.s. drum'n'bass -- http://vitriolix.com
>
>
>
>
>
> _______________________________________________
> devl mailing list
> [EMAIL PROTECTED]
> http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl
>


_______________________________________________
devl mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl

Reply via email to