harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov" <alexey.v.varla...@gmail.com>
Subject Re: [M3] Failed to open agent library jdwp.dll when debugging a java application
Date Thu, 11 Oct 2007 09:40:59 GMT
2007/10/11, Tim Ellison <t.p.ellison@gmail.com>:
> Andrew Zhang wrote:
> > On 10/11/07, Alexei Fedotov <alexei.fedotov@gmail.com> wrote:
> >> Hi Andrew,
> >> Are you using federated build?
> >>
> >> When people build classlib and drlvm separately, they don't get
> >> jdwp.dll since it is built from jdktools module. One may use federated
> >> build (ant -Dauto.fetch=true) or build the module jdktools
> >> (worling_jdktools) and copy the dynamic libraries manually.
> >
> > Thanks Alexei!
> >
> > Yes, I downloaded M3 from our website, using harmony-hdk-580985\jdk\jre as
> > the jre path in "Installed JREs". jdwp.dll does exist under jdk\jre\bin. Any
> > other possible reason?
>
> Possible that the DLL's dependencies are missing so it won't load.
> Having said that I just looked at jdwp.dll on my system and the only
> dependencies appear to be kernel32.dll, msvcp71.dll, and msvcr71.dll.

Another reason could be cleared "read&execute" permission for the dll,
this happens e.g. if a dll is unzipped with cygwin's unzip utility.

>
> Regards,
> Tim
>

Mime
View raw message