Re: [Ikvm-developers] Error Compiling from cvs
Brought to you by:
jfrijters
|
From: Volker B. <VB...@in...> - 2012-10-26 10:40:34
|
Hi Fabio, Do you have download and extract the stripped JDK? Do you have read the wiki site for building? http://sourceforge.net/apps/mediawiki/ikvm/index.php?title=Building Volker -----Ursprüngliche Nachricht----- Von: Fabio Gravina [mailto:fab...@gm...] Gesendet: Freitag, 26. Oktober 2012 12:38 An: Volker Berlin Cc: ikv...@li... Betreff: Re: [Ikvm-developers] Error Compiling from cvs Now I get the following error. Seams it can't find openjdk source.. I need to download it? [nant] G:\Tesi\workspace\ikvm\openjdk\openjdk.build Buildfile: file:///G:/Tesi/workspace/ikvm/openjdk/openjdk.build Target framework: Microsoft .NET Framework 4.0 Target(s) specified: all version: allsources.gen.lst: [copy] Copying 1 file to 'G:\Tesi\workspace\ikvm\openjdk\allsou rces.gen.lst'. System.Core: classes: [exec] G:\Tesi\workspace\ikvm\openjdk\openjdk.build(72,10): Att ribute 'useruntimeengine' for <exec ... /> is deprecated. Use the managed attri bute and Managed property instead. [exec] G:\Tesi\workspace\ikvm\openjdk\openjdk.build(73,10): Att ribute 'useruntimeengine' for <exec ... /> is deprecated. Use the managed attri bute and Managed property instead. [exec] G:\Tesi\workspace\ikvm\openjdk\openjdk.build(74,10): Att ribute 'useruntimeengine' for <exec ... /> is deprecated. Use the managed attri bute and Managed property instead. [exec] G:\Tesi\workspace\ikvm\openjdk\openjdk.build(75,10): Att ribute 'useruntimeengine' for <exec ... /> is deprecated. Use the managed attri bute and Managed property instead. [exec] G:\Tesi\workspace\ikvm\openjdk\openjdk.build(76,10): Att ribute 'useruntimeengine' for <exec ... /> is deprecated. Use the managed attri bute and Managed property instead. [copy] Copying 1 file to 'G:\Tesi\workspace\ikvm\openjdk\Assemb lyInfo.java'. [copy] Copying 1 file to 'G:\Tesi\workspace\ikvm\openjdk\java\l ang\PropertyConstants.java'. [exec] G:\Tesi\workspace\ikvm\openjdk\openjdk.build(99,10): Att ribute 'useruntimeengine' for <exec ... /> is deprecated. Use the managed attri bute and Managed property instead. [exec] javac: file not found: G:\Tesi\workspace\ikvm\openjdk\.. \..\openjdk-7u6-b24\build\linux-amd64\gensrc\com\sun\accessibility\internal\reso urces\accessibility.java [exec] Usage: javac <options> <source files> [exec] use -help for a list of possible options BUILD FAILED - 0 non-fatal error(s), 9 warning(s) G:\Tesi\workspace\ikvm\openjdk\openjdk.build(99,10): External Program Failed: javac (return code was 2) Total time: 7.9 seconds. BUILD FAILED Nested build failed. Refer to build log for exact reason. Total time: 14.1 seconds. G:\Tesi\workspace\ikvm> Fabio Gravina On Fri, Oct 26, 2012 at 12:18 PM, Fabio Gravina <fab...@gm...> wrote: > I discover my jdk is 32bit edition now i'm downloading 64bit editiion. > Hope this solve!? > > Fabio Gravina > > > On Fri, Oct 26, 2012 at 12:15 PM, Fabio Gravina <fab...@gm...> wrote: >> I've reduced mem size to 1024 but now I get the following erroor 2 in >> javac thanks >> >> [nant] G:\Tesi\workspace\ikvm\openjdk\openjdk.build >> Buildfile: file:///G:/Tesi/workspace/ikvm/openjdk/openjdk.build >> Target framework: Microsoft .NET Framework 4.0 >> Target(s) specified: all >> >> >> version: >> >> >> allsources.gen.lst: >> >> [copy] Copying 1 file to >> 'G:\Tesi\workspace\ikvm\openjdk\allsou >> rces.gen.lst'. >> >> System.Core: >> >> >> classes: >> >> [exec] >> G:\Tesi\workspace\ikvm\openjdk\openjdk.build(72,10): Att ribute >> 'useruntimeengine' for <exec ... /> is deprecated. Use the managed attri bute and Managed property instead. >> [exec] >> G:\Tesi\workspace\ikvm\openjdk\openjdk.build(73,10): Att ribute >> 'useruntimeengine' for <exec ... /> is deprecated. Use the managed attri bute and Managed property instead. >> [exec] >> G:\Tesi\workspace\ikvm\openjdk\openjdk.build(74,10): Att ribute >> 'useruntimeengine' for <exec ... /> is deprecated. Use the managed attri bute and Managed property instead. >> [exec] >> G:\Tesi\workspace\ikvm\openjdk\openjdk.build(75,10): Att ribute >> 'useruntimeengine' for <exec ... /> is deprecated. Use the managed attri bute and Managed property instead. >> [exec] >> G:\Tesi\workspace\ikvm\openjdk\openjdk.build(76,10): Att ribute >> 'useruntimeengine' for <exec ... /> is deprecated. Use the managed attri bute and Managed property instead. >> [copy] Copying 1 file to >> 'G:\Tesi\workspace\ikvm\openjdk\Assemb >> lyInfo.java'. >> [copy] Copying 1 file to >> 'G:\Tesi\workspace\ikvm\openjdk\java\l >> ang\PropertyConstants.java'. >> [exec] >> G:\Tesi\workspace\ikvm\openjdk\openjdk.build(99,10): Att ribute >> 'useruntimeengine' for <exec ... /> is deprecated. Use the managed attri bute and Managed property instead. >> [exec] javac: file not found: G:\Tesi\workspace\ikvm\openjdk\.. >> \..\openjdk-7u6-b24\build\linux-amd64\gensrc\com\sun\accessibility\in >> ternal\reso >> urces\accessibility.java >> [exec] Usage: javac <options> <source files> >> [exec] use -help for a list of possible options >> >> BUILD FAILED - 0 non-fatal error(s), 9 warning(s) >> >> G:\Tesi\workspace\ikvm\openjdk\openjdk.build(99,10): >> External Program Failed: javac (return code was 2) >> >> Total time: 7.6 seconds. >> >> >> BUILD FAILED >> >> Nested build failed. Refer to build log for exact reason. >> >> Total time: 13.7 seconds. >> >> >> Fabio Gravina >> >> >> >> On Fri, Oct 26, 2012 at 11:33 AM, Volker Berlin <VB...@in...> wrote: >>> >>> Hi, >>> >>> >>> >>> > [exec] Could not reserve enough space for object >>> > heap >>> >>> >>> >>> Your computer has not enough RAM free to compile all the classes. You need approx. 3GB RAM. A possible workaround is to reduce the used memory for the Java compiler. >>> >>> >>> >>> In the file openjdk.build in line change -J-Xmx1536M to -J-Xmx1024M. Then it should be possible to compiler on a system with 2 GB RAM. >>> >>> >>> >>> Volker >>> >>> >>> >>> Von: Fabio Gravina [mailto:fab...@gm...] >>> Gesendet: Freitag, 26. Oktober 2012 11:24 >>> An: ikv...@li... >>> Betreff: [Ikvm-developers] Error Compiling from cvs >>> >>> >>> >>> G:\Tesi\workspace\ikvm>..\..\nant-0.92\bin\nant clean >>> >>> NAnt 0.92 (Build 0.92.4543.0; release; 09/06/2012) >>> >>> Copyright (C) 2001-2012 Gerry Shaw >>> >>> http://nant.sourceforge.net >>> >>> >>> >>> Buildfile: file:///G:/Tesi/workspace/ikvm/ikvm.build >>> >>> Target framework: Microsoft .NET Framework 4.0 >>> >>> Target(s) specified: clean >>> >>> >>> >>> >>> >>> clean-managed: >>> >>> >>> >>> [delete] Deleting 21 files. >>> >>> >>> >>> clean-native: >>> >>> >>> >>> >>> >>> clean: >>> >>> >>> >>> >>> >>> BUILD SUCCEEDED >>> >>> >>> >>> Total time: 0.2 seconds. >>> >>> >>> >>> >>> >>> G:\Tesi\workspace\ikvm>..\..\nant-0.92\bin\nant >>> >>> NAnt 0.92 (Build 0.92.4543.0; release; 09/06/2012) >>> >>> Copyright (C) 2001-2012 Gerry Shaw >>> >>> http://nant.sourceforge.net >>> >>> >>> >>> Buildfile: file:///G:/Tesi/workspace/ikvm/ikvm.build >>> >>> Target framework: Microsoft .NET Framework 4.0 >>> >>> Target(s) specified: managed >>> >>> >>> >>> >>> >>> clean-managed: >>> >>> >>> >>> >>> >>> CommonAssemblyInfo: >>> >>> >>> >>> [copy] Copying 1 file to 'G:\Tesi\workspace\ikvm\CommonAssemblyInfo.cs'. >>> >>> >>> >>> managed: >>> >>> >>> >>> [nant] G:\Tesi\workspace\ikvm\tools\tools.build >>> >>> Buildfile: >>> file:///G:/Tesi/workspace/ikvm/tools/tools.build >>> >>> Target framework: Microsoft .NET Framework 4.0 >>> >>> Target(s) specified: tools >>> >>> >>> >>> >>> >>> tools: >>> >>> >>> >>> [csc] Compiling 1 files to >>> 'G:\Tesi\workspace\ikvm\tools\asmre >>> >>> f.exe'. >>> >>> [csc] >>> g:\Tesi\workspace\ikvm\tools\asmref.cs(43,15): warning C >>> >>> S0618: 'System.Reflection.Assembly.LoadWithPartialName(string)' is >>> obsolete: 'Th >>> >>> is method has been deprecated. Please use Assembly.Load() instead. >>> http://go.mic >>> >>> rosoft.com/fwlink/?linkid=14202' >>> >>> [csc] Compiling 1 files to >>> 'G:\Tesi\workspace\ikvm\tools\updba >>> >>> seaddresses.exe'. >>> >>> [csc] Compiling 1 files to >>> 'G:\Tesi\workspace\ikvm\tools\depch >>> >>> eck.exe'. >>> >>> [csc] Compiling 2 files to >>> 'G:\Tesi\workspace\ikvm\tools\pubke >>> >>> y.exe'. >>> >>> [exec] >>> G:\Tesi\workspace\ikvm\tools\tools.build(32,10): Attribu >>> >>> te 'useruntimeengine' for <exec ... /> is deprecated. Use the >>> managed attribute >>> >>> and Managed property instead. >>> >>> [csc] Compiling 1 files to >>> 'G:\Tesi\workspace\ikvm\tools\write >>> >>> appconfig.exe'. >>> >>> [exec] >>> G:\Tesi\workspace\ikvm\tools\tools.build(39,10): Attribu >>> >>> te 'useruntimeengine' for <exec ... /> is deprecated. Use the >>> managed attribute >>> >>> and Managed property instead. >>> >>> >>> >>> BUILD SUCCEEDED - 0 non-fatal error(s), 2 warning(s) >>> >>> >>> >>> Total time: 1.2 seconds. >>> >>> >>> >>> [nant] G:\Tesi\workspace\ikvm\reflect\reflect.build >>> >>> Buildfile: >>> file:///G:/Tesi/workspace/ikvm/reflect/reflect.build >>> >>> Target framework: Microsoft .NET Framework 4.0 >>> >>> Target(s) specified: IKVM.Reflection >>> >>> >>> >>> >>> >>> IKVM.Reflection: >>> >>> >>> >>> [csc] Compiling 90 files to >>> 'G:\Tesi\workspace\ikvm\bin\IKVM.R >>> >>> eflection.dll'. >>> >>> >>> >>> BUILD SUCCEEDED >>> >>> >>> >>> Total time: 0.8 seconds. >>> >>> >>> >>> [nant] G:\Tesi\workspace\ikvm\ikvmstub\ikvmstub.build >>> >>> Buildfile: >>> file:///G:/Tesi/workspace/ikvm/ikvmstub/ikvmstub.build >>> >>> Target framework: Microsoft .NET Framework 4.0 >>> >>> Target(s) specified: ikvmstub >>> >>> >>> >>> >>> >>> ikvmstub: >>> >>> >>> >>> [csc] Compiling 19 files to >>> 'G:\Tesi\workspace\ikvm\bin\ikvmst >>> >>> ub.exe'. >>> >>> >>> >>> BUILD SUCCEEDED >>> >>> >>> >>> Total time: 0.4 seconds. >>> >>> >>> >>> [nant] G:\Tesi\workspace\ikvm\runtime\runtime.build first-pass >>> >>> Buildfile: >>> file:///G:/Tesi/workspace/ikvm/runtime/runtime.build >>> >>> Target framework: Microsoft .NET Framework 4.0 >>> >>> Target(s) specified: first-pass >>> >>> >>> >>> >>> >>> DummyLibrary: >>> >>> >>> >>> [csc] Compiling 2 files to >>> 'G:\Tesi\workspace\ikvm\runtime\IKV >>> >>> M.OpenJDK.Core.dll'. >>> >>> >>> >>> first-pass: >>> >>> >>> >>> >>> >>> AssemblyInfo.cs: >>> >>> >>> >>> [copy] Copying 1 file to >>> 'G:\Tesi\workspace\ikvm\runtime\Assemb >>> >>> lyInfo.cs'. >>> >>> >>> >>> defs: >>> >>> >>> >>> >>> >>> IKVM.Runtime: >>> >>> >>> >>> [csc] Compiling 51 files to >>> 'G:\Tesi\workspace\ikvm\runtime\IK >>> >>> VM.Runtime.dll'. >>> >>> [copy] Copying 1 file to 'G:\Tesi\workspace\ikvm\bin'. >>> >>> [exec] >>> G:\Tesi\workspace\ikvm\runtime\runtime.build(8,10): Attr >>> >>> ibute 'useruntimeengine' for <exec ... /> is deprecated. Use the >>> managed attrib >>> >>> ute and Managed property instead. >>> >>> >>> >>> BUILD SUCCEEDED - 0 non-fatal error(s), 1 warning(s) >>> >>> >>> >>> Total time: 2 seconds. >>> >>> >>> >>> [nant] G:\Tesi\workspace\ikvm\awt\awt.build first-pass >>> >>> Buildfile: file:///G:/Tesi/workspace/ikvm/awt/awt.build >>> >>> Target framework: Microsoft .NET Framework 4.0 >>> >>> Target(s) specified: first-pass >>> >>> >>> >>> >>> >>> AssemblyInfo.cs: >>> >>> >>> >>> [copy] Copying 1 file to >>> 'G:\Tesi\workspace\ikvm\awt\AssemblyIn >>> >>> fo.cs'. >>> >>> >>> >>> first-pass: >>> >>> >>> >>> [csc] Compiling 5 files to >>> 'G:\Tesi\workspace\ikvm\bin\IKVM.AW >>> >>> T.WinForms.dll'. >>> >>> >>> >>> BUILD SUCCEEDED >>> >>> >>> >>> Total time: 0.3 seconds. >>> >>> >>> >>> [nant] G:\Tesi\workspace\ikvm\ikvmc\ikvmc.build >>> >>> Buildfile: >>> file:///G:/Tesi/workspace/ikvm/ikvmc/ikvmc.build >>> >>> Target framework: Microsoft .NET Framework 4.0 >>> >>> Target(s) specified: ikvmc >>> >>> >>> >>> >>> >>> ikvmc: >>> >>> >>> >>> [csc] Compiling 36 files to 'G:\Tesi\workspace\ikvm\bin\ikvmc. >>> >>> exe'. >>> >>> >>> >>> BUILD SUCCEEDED >>> >>> >>> >>> Total time: 1 seconds. >>> >>> >>> >>> [nant] G:\Tesi\workspace\ikvm\openjdk\openjdk.build >>> >>> Buildfile: >>> file:///G:/Tesi/workspace/ikvm/openjdk/openjdk.build >>> >>> Target framework: Microsoft .NET Framework 4.0 >>> >>> Target(s) specified: all >>> >>> >>> >>> >>> >>> version: >>> >>> >>> >>> >>> >>> allsources.gen.lst: >>> >>> >>> >>> [copy] Copying 1 file to >>> 'G:\Tesi\workspace\ikvm\openjdk\allsou >>> >>> rces.gen.lst'. >>> >>> >>> >>> System.Core: >>> >>> >>> >>> >>> >>> classes: >>> >>> >>> >>> [exec] >>> G:\Tesi\workspace\ikvm\openjdk\openjdk.build(72,10): Att >>> >>> ribute 'useruntimeengine' for <exec ... /> is deprecated. Use the >>> managed attri >>> >>> bute and Managed property instead. >>> >>> [exec] >>> G:\Tesi\workspace\ikvm\openjdk\openjdk.build(73,10): Att >>> >>> ribute 'useruntimeengine' for <exec ... /> is deprecated. Use the >>> managed attri >>> >>> bute and Managed property instead. >>> >>> [exec] >>> G:\Tesi\workspace\ikvm\openjdk\openjdk.build(74,10): Att >>> >>> ribute 'useruntimeengine' for <exec ... /> is deprecated. Use the >>> managed attri >>> >>> bute and Managed property instead. >>> >>> [exec] >>> G:\Tesi\workspace\ikvm\openjdk\openjdk.build(75,10): Att >>> >>> ribute 'useruntimeengine' for <exec ... /> is deprecated. Use the >>> managed attri >>> >>> bute and Managed property instead. >>> >>> [exec] >>> G:\Tesi\workspace\ikvm\openjdk\openjdk.build(76,10): Att >>> >>> ribute 'useruntimeengine' for <exec ... /> is deprecated. Use the >>> managed attri >>> >>> bute and Managed property instead. >>> >>> [copy] Copying 1 file to >>> 'G:\Tesi\workspace\ikvm\openjdk\Assemb >>> >>> lyInfo.java'. >>> >>> [copy] Copying 1 file to >>> 'G:\Tesi\workspace\ikvm\openjdk\java\l >>> >>> ang\PropertyConstants.java'. >>> >>> [exec] >>> G:\Tesi\workspace\ikvm\openjdk\openjdk.build(99,10): Att >>> >>> ribute 'useruntimeengine' for <exec ... /> is deprecated. Use the >>> managed attri >>> >>> bute and Managed property instead. >>> >>> [exec] Error occurred during initialization of VM >>> >>> [exec] Could not reserve enough space for object >>> heap >>> >>> [exec] Error: Could not create the Java Virtual Machine. >>> >>> [exec] Error: A fatal exception has occurred. >>> Program will exit >>> >>> . >>> >>> >>> >>> BUILD FAILED - 0 non-fatal error(s), 8 warning(s) >>> >>> >>> >>> G:\Tesi\workspace\ikvm\openjdk\openjdk.build(99,10): >>> >>> External Program Failed: javac (return code was 1) >>> >>> >>> >>> Total time: 7.6 seconds. >>> >>> >>> >>> >>> >>> BUILD FAILED >>> >>> >>> >>> Nested build failed. Refer to build log for exact reason. >>> >>> >>> >>> Total time: 13.7 seconds. >>> >>> >>> >>> >>> >>> G:\Tesi\workspace\ikvm> >>> >>> >>> >>> Fabio Gravina >>> >>> >>> -------------------------------------------------------------------- >>> ---------- Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics Download AppDynamics Lite >>> for free today: >>> http://p.sf.net/sfu/appdyn_sfd2d_oct >>> _______________________________________________ >>> Ikvm-developers mailing list >>> Ikv...@li... >>> https://lists.sourceforge.net/lists/listinfo/ikvm-developers >>> |