Hi!
I made some modifications to the groovy native
launcher to solve an issue that has come up a couple of times w/ jvm.dll
dependencies, i.e. in some jre versions it depends on other dlls that are in
%JAVA_HOME%\bin and thus loading jvm.dll may croak if %JAVA_HOME%\bin is not on
PATH.
There is a slight problem, though. The function
needed to achieve this (SetDllDirectory) is only available on Win XP sp 1, Windows Server 2003,
So, the question is, what versions
of windows does the launcher need to support?
I wrote the source so that an
executable that is missing the dll path modification functionality but runs on
older windows can be compiled rather easily. In case older windows versions
need to be supported, I guess the windows installer can contain both versions
of the exe binary and install the appropriate one for the platform.
::Antti::