Re: [Ikvm-developers] java 1.6 and Path2D
Brought to you by:
jfrijters
From: Jeroen F. <je...@su...> - 2009-03-13 04:42:21
|
Hi Chad, You should remove most of the -r options. Typically the class library will be found automatically, but if not only add -r:../../ ikvmbin-0.39.3358/ikvm/bin/IKVM.OpenJDK.Core.dll BTW, the exception happens because you're referencing IKVM.Reflection.Emit, (which isn't used at runtime, only by ikvmc) which uses ISymWrapper.dll (on Windows) to generate debugging info. Regards, Jeroen > -----Original Message----- > From: Chad Saxon [mailto:usm...@gm...] > Sent: Thursday, March 12, 2009 22:35 > To: Jeroen Frijters > Cc: ikv...@li... > Subject: Re: [Ikvm-developers] java 1.6 and Path2D > > Jereon, > i think i got past my initial problem we will see. i compacted my > project together and ive tried adding some dlls to my makefile but i > seem to be missing an ISymWrapper assembly: > > mono ../../ikvmbin-0.39.3358/ikvm/bin/ikvmc.exe -target:library - > out:ClientLibrary.dll jar/ClientLibrary.jar -r:../../ikvmbin-0.39.3358/ > ikvm/bin/IKVM.OpenJDK.Core.dll -r:../../ikvmbin-0.39.3358/ikvm/bin/ > IKVM.OpenJDK.Util.dll -r:../../ikvmbin-0.39.3358/ikvm/bin/ > IKVM.Reflection.Emit.dll -r:../../ikvmbin-0.39.3358/ikvm/bin/ > IKVM.Runtime.dll -r:../../ikvmbin-0.39.3358/ikvm/bin/ > ICSharpCode.SharpZipLib.dll -r:../../ikvmbin-0.39.3358/ikvm/bin/ > IKVM.OpenJDK.Management.dll -r:../../ikvmbin-0.39.3358/ikvm/bin/ > IKVM.OpenJDK.Misc.dll -r:../../ikvmbin-0.39.3358/ikvm/bin/ > IKVM.Runtime.JNI.dll -r:../../ikvmbin-0.39.3358/ikvm/bin/ > IKVM.OpenJDK.Security.dll > System.IO.FileNotFoundException: Could not load file or assembly > 'ISymWrapper, Version=2.0.0.0, Culture=neutral, > PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system > cannot find the file specified. > File name: 'ISymWrapper, Version=2.0.0.0, Culture=neutral, > PublicKeyToken=b03f5f7f11d50a3a' > at (wrapper managed-to-native) System.AppDomain:LoadAssembly > (string,System.Security.Policy.Evidence,bool) > at System.AppDomain.Load (System.String assemblyString, > System.Security.Policy.Evidence assemblySecurity, Boolean refonly) > [0x00000] > at (wrapper remoting-invoke-with-check) System.AppDomain:Load > (string,System.Security.Policy.Evidence,bool) > at System.Reflection.Assembly.ReflectionOnlyLoad (System.String > assemblyString) [0x00000] > at IkvmcCompiler.CurrentDomain_AssemblyResolve (System.Object > sender, System.ResolveEventArgs args) [0x00000] > at System.AppDomain.DoAssemblyResolve (System.String name, Boolean > refonly) [0x00000] > at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes > (bool) > at System.Reflection.Assembly.GetTypes () [0x00000] > at IKVM.Internal.CompilerClassLoader.CreateCompiler > (IKVM.Internal.CompilerOptions options, > IKVM.Internal.CompilerClassLoader& loader, System.Boolean& > compilingCoreAssembly) [0x00000] > at IKVM.Internal.CompilerClassLoader.Compile > (System.Collections.Generic.List`1 optionsList) [0x00000] > at IkvmcCompiler.Main (System.String[] args) [0x00000] > > ** (../../ikvmbin-0.39.3358/ikvm/bin/ikvmc.exe:7458): WARNING **: > Shutting down finalizer thread timed out. > make: *** [ClientLibrary.dll] Error 1 > > any feedback or suggestions would be helpful. i am using the latest > mono version for Mac OS Leopard. thanks again > > --Chad > > > > On Mar 11, 2009, at 12:29 PM, Jeroen Frijters wrote: > > > Chad Saxon wrote: > >> I am trying to get IKVM to work with Path2D.Double to get more > >> accuracy in my application but it seems that IKVM knows nothing > about > >> Path2D in the form of an error. is there anything i can do about > >> this? > >> You will note that the Path2D.Double/Float was added in Java 1.6. > >> thanks for your help..! > > > > AWT is unsupported. However, I did recently merge java.awt.geom from > > OpenJDK, so in the next version the Path2D class will be available > > (however, still not supported.) > > > > I'll probably release a new development snapshot tomorrow (see > > http://weblog.ikvm.net/) that will include the updated java.awt.geom > package. > > > > Regards, > > Jeroen > > |