Java Mailing List Archive

http://www.gg3721.com/

Home » user.groovy »

[groovy-user] Windows versions to be supported?

Antti Karanta

2008-08-06

Replies: Find Java Web Hosting

Author LoginPost Reply

 

 

                                             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, Vista or later. It is not available e.g. on Windows 2000 and Windows NT 4.0, Windows 98, Windows ME etc.

 

  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::

 

 

©2008 gg3721.com - Jax Systems, LLC, U.S.A.