Re: building ikvm-8.1.5717.0
Jeroen Frijters <[email protected]> Mon, 12 Oct 2015 07:27:48 +0000
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello Ales, I think you should use JDK 8u45. Regards, Jeroen > -----Original Message----- > From: Kruch [mailto:[email protected]] > Sent: Friday, October 9, 2015 18:54 > To: [email protected] > Subject: [Ikvm-developers] building ikvm-8.1.5717.0 > > Hello, > > I compiled my java library to dll with noautoserialization option for > use in Windows 10 universal app (UWP). I hit the same problem as Jarda > Tulach about a half year ago (Could not load type > 'System.Runtime.Serialization.ISerializable' ...). > The suggestion he got was to rebuild OpenJDK assemblies with the > noautoserialization option. I'm trying to do it, but I am not able to > (please see the error bellow). I'm using Nant-0.85, Sun's x64 JDK8 (u25) > as recommended in HOWTO. Nant's and JDK bin folder are first in PATH. > The directory structure is c:\ikvm > c:\ikvm\ikvm-8.1.5717.0 > c:\ikvm\openjdk-8u45-b14 > > Thank you. > > Ales > > ----------- > > rmi: > > [echo] CLASSPATH = > mscorlib.jar;System.Xml.jar;C:\ikvm\ikvm-8.1.5717.0\open > jdk/../../openjdk-8u45-b14/jdk/src/share/classes/;C:\ikvm\ikvm- > 8.1.5717.0\openjd > k/../../openjdk-8u45-b14/corba/src/share/classes;C:\ikvm\ikvm- > 8.1.5717.0\openjdk > /../../openjdk-8u45-b14/build/linux-x86_64-normal-server- > release/jdk/gensrc > [exec] > rmistubs\sun\rmi\server\Activation$ActivationSystemImpl_ > Stub.java:6: Class java.lang.Class not found. > [exec] public final class > Activation$ActivationSystemImpl_Stub > [exec] ^ > [exec] > rmistubs\sun\rmi\server\Activation$ActivationSystemImpl_ > Stub.java:6: Class java.lang.Class not found in java.lang.Class > class$(java.lang .String). > [exec] public final class > Activation$ActivationSystemImpl_Stub > [exec] ^ > [exec] > rmistubs\sun\rmi\server\Activation$ActivationSystemImpl_ > Stub.java:6: Exception java.lang.ClassNotFoundException is never thrown > in the b ody of the corresponding try statement. > [exec] public final class > Activation$ActivationSystemImpl_Stub > [exec] ^ > [exec] > rmistubs\sun\rmi\server\Activation$ActivationSystemImpl_ > Stub.java:12: Class java.lang.reflect.Method not found.... ------------------------------------------------------------------------------