|
View:
New views
13 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
|
|
|
Re: javac CRASHLe 11/08/2009 11:06, Ulf Zibis a écrit :
> Jonathan, > > thanks for additional help. > > Now I tried: > C:\Projects\OpenJDK7\langtools\make>"C:\Programme\Java\NetBeans > 6.7.1\java2\ant\ > bin\ant" -Dboot.java/home=C:/Programme/Java/jdk1.7.0 I've noticed that. You have to run ant with jdk7. JAVA_HOME=C:/Programme/Java/jdk1.7.0 ant -Dboot.java/home=C:/Programme/Java/jdk1.7.0 Jon, it seems the ant build script need be updated because we are not able to compile with jdk6 anymore. The bootstrap javac/javap/etc should be built with -source 1.6 -target 1.6. Rémi |
|
|
Re: javac CRASHRémi,
Thanks for the heads up. I'll check this out. It is still the case that you should only need 1.6 to build langtools. -- Jon On Aug 11, 2009, at 2:46 AM, Rémi Forax wrote: > Le 11/08/2009 11:06, Ulf Zibis a écrit : >> Jonathan, >> >> thanks for additional help. >> >> Now I tried: >> C:\Projects\OpenJDK7\langtools\make>"C:\Programme\Java\NetBeans >> 6.7.1\java2\ant\ >> bin\ant" -Dboot.java/home=C:/Programme/Java/jdk1.7.0 > > I've noticed that. > You have to run ant with jdk7. > > JAVA_HOME=C:/Programme/Java/jdk1.7.0 > ant -Dboot.java/home=C:/Programme/Java/jdk1.7.0 > > Jon, it seems the ant build script need be updated because > we are not able to compile with jdk6 anymore. > The bootstrap javac/javap/etc should be built with -source 1.6 - > target 1.6. > > Rémi |
|
|
Re: javac CRASHJon,
that would be great. I've found out a solution, but I'm not sure, if this is as designed. In path_to_jdk7_sources\langtools\make\build.properties I set: boot.java.home = C:/Programme/Java/jdk1.6.0_14 target.java.home = C:/Programme/Java/jdk1.7.0 javac.source = 6 javac.target = 6 I'm wondering, that there is no ...\make\build.properties file in tl/jdk tree. Maybe you like to have a look on ...\make\netbeans\charset\* in my patch for https://bugs.openjdk.java.net/show_bug.cgi?id=100098 ? -Ulf Am 11.08.2009 16:49, Jonathan Gibbons schrieb: > Rémi, > > Thanks for the heads up. I'll check this out. It is still the case > that you should only need 1.6 to build langtools. > > -- Jon > > > > On Aug 11, 2009, at 2:46 AM, Rémi Forax wrote: > >> Le 11/08/2009 11:06, Ulf Zibis a écrit : >>> Jonathan, >>> >>> thanks for additional help. >>> >>> Now I tried: >>> C:\Projects\OpenJDK7\langtools\make>"C:\Programme\Java\NetBeans >>> 6.7.1\java2\ant\ >>> bin\ant" -Dboot.java/home=C:/Programme/Java/jdk1.7.0 >> >> I've noticed that. >> You have to run ant with jdk7. >> >> JAVA_HOME=C:/Programme/Java/jdk1.7.0 >> ant -Dboot.java/home=C:/Programme/Java/jdk1.7.0 >> >> Jon, it seems the ant build script need be updated because >> we are not able to compile with jdk6 anymore. >> The bootstrap javac/javap/etc should be built with -source 1.6 >> -target 1.6. >> >> Rémi > > |
|
|
Re: javac CRASHUlf,
Your settings for boot.java.home and target.java.home look OK. The intent of the build is that while building the bootstrap compiler, the settings for boot.javac.source and boot.javac.target should be active and these are correctly set to 6 in langtools/make/ build.properties. I will investigate why these might not be in use later today, when I have easy access to a Windows machine. Separately, I also note that the intent is that you should not *need* to edit langtools/make/build.properties, although it is not incorrect to do so. But, it can lead to accidents if you might be committing and pushing changes. To minimize that risk, you can provide/override values in a number of ways: -- on the Ant command line (if you invoke Ant directly) -- in NetBeans, in the Properties box under Tools> Options> Miscellaneous> Ant -- in a new unmanaged file langtools/build.properties (note no make/ component) -- in ${user.home}/.openjdk/langtools-build.properties -- in ${user.home}/.openjdk/build.properties The last two choices allow you to set values to be shared by multiple repositories. There is no make/build.properties in the jdk/ repository because that repository uses "make" instead of "ant" for building. To build the jdk repository, you will need either MKS or Cygwin installed on your system. For more info, see the notes on the OpenJDK web pages. There are NetBeans projects for selected parts of the jdk/ to make it easy to work on small subsystems. However, I don't believe those (NetBeans) projects are being actively maintained at this point. [This does not apply to the langtools/ files. ] -- Jon On Aug 11, 2009, at 8:31 AM, Ulf Zibis wrote: > Jon, > > that would be great. > > I've found out a solution, but I'm not sure, if this is as designed. > In path_to_jdk7_sources\langtools\make\build.properties I set: > boot.java.home = C:/Programme/Java/jdk1.6.0_14 > target.java.home = C:/Programme/Java/jdk1.7.0 > javac.source = 6 > javac.target = 6 > > I'm wondering, that there is no ...\make\build.properties file in tl/ > jdk tree. > > Maybe you like to have a look on ...\make\netbeans\charset\* in my > patch for https://bugs.openjdk.java.net/show_bug.cgi?id=100098 ? > > -Ulf > > > > Am 11.08.2009 16:49, Jonathan Gibbons schrieb: >> Rémi, >> >> Thanks for the heads up. I'll check this out. It is still the case >> that you should only need 1.6 to build langtools. >> >> -- Jon >> >> >> >> On Aug 11, 2009, at 2:46 AM, Rémi Forax wrote: >> >>> Le 11/08/2009 11:06, Ulf Zibis a écrit : >>>> Jonathan, >>>> >>>> thanks for additional help. >>>> >>>> Now I tried: >>>> C:\Projects\OpenJDK7\langtools\make>"C:\Programme\Java\NetBeans >>>> 6.7.1\java2\ant\ >>>> bin\ant" -Dboot.java/home=C:/Programme/Java/jdk1.7.0 >>> >>> I've noticed that. >>> You have to run ant with jdk7. >>> >>> JAVA_HOME=C:/Programme/Java/jdk1.7.0 >>> ant -Dboot.java/home=C:/Programme/Java/jdk1.7.0 >>> >>> Jon, it seems the ant build script need be updated because >>> we are not able to compile with jdk6 anymore. >>> The bootstrap javac/javap/etc should be built with -source 1.6 - >>> target 1.6. >>> >>> Rémi >> >> > |
|
|
Re: javac CRASHUlf, Rémi,
I have found an issue in the langtools/make/build.xml file that is likely the cause of the problems you are having. There are references to @{javac.java.home}/bin/javac which look suspect. I suspect they should be javac.exe on Windows. I will post a fix once I have one and have verified it for plain invocation from the Windows command shell and from Cygwin. -- Jon Ulf Zibis wrote: > Jon, > > that would be great. > > I've found out a solution, but I'm not sure, if this is as designed. > In path_to_jdk7_sources\langtools\make\build.properties I set: > boot.java.home = C:/Programme/Java/jdk1.6.0_14 > target.java.home = C:/Programme/Java/jdk1.7.0 > javac.source = 6 > javac.target = 6 > > I'm wondering, that there is no ...\make\build.properties file in > tl/jdk tree. > > Maybe you like to have a look on ...\make\netbeans\charset\* in my > patch for https://bugs.openjdk.java.net/show_bug.cgi?id=100098 ? > > -Ulf > > > > Am 11.08.2009 16:49, Jonathan Gibbons schrieb: >> Rémi, >> >> Thanks for the heads up. I'll check this out. It is still the case >> that you should only need 1.6 to build langtools. >> >> -- Jon >> >> >> >> On Aug 11, 2009, at 2:46 AM, Rémi Forax wrote: >> >>> Le 11/08/2009 11:06, Ulf Zibis a écrit : >>>> Jonathan, >>>> >>>> thanks for additional help. >>>> >>>> Now I tried: >>>> C:\Projects\OpenJDK7\langtools\make>"C:\Programme\Java\NetBeans >>>> 6.7.1\java2\ant\ >>>> bin\ant" -Dboot.java/home=C:/Programme/Java/jdk1.7.0 >>> >>> I've noticed that. >>> You have to run ant with jdk7. >>> >>> JAVA_HOME=C:/Programme/Java/jdk1.7.0 >>> ant -Dboot.java/home=C:/Programme/Java/jdk1.7.0 >>> >>> Jon, it seems the ant build script need be updated because >>> we are not able to compile with jdk6 anymore. >>> The bootstrap javac/javap/etc should be built with -source 1.6 >>> -target 1.6. >>> >>> Rémi >> >> > |
|
|
Re: javac CRASHRemoved core-libs-dev.
The issue is that in a couple of places a default value for javac.bootclasspath is set that includes -J-Xbootclasspath. When the value is finally used, -J-Xbootclasspath is again included. The fix is to remove the use of -J-Xbootclasspath/p: from the default settings for javac.bootclasspath. -- Jon Jonathan Gibbons wrote: > Ulf, Rémi, > > I have found an issue in the langtools/make/build.xml file that is > likely the cause of the problems you are having. > There are references to @{javac.java.home}/bin/javac which look > suspect. I suspect they should be javac.exe > on Windows. > > I will post a fix once I have one and have verified it for plain > invocation from the Windows command shell and > from Cygwin. > > -- Jon > > > Ulf Zibis wrote: >> Jon, >> >> that would be great. >> >> I've found out a solution, but I'm not sure, if this is as designed. >> In path_to_jdk7_sources\langtools\make\build.properties I set: >> boot.java.home = C:/Programme/Java/jdk1.6.0_14 >> target.java.home = C:/Programme/Java/jdk1.7.0 >> javac.source = 6 >> javac.target = 6 >> >> I'm wondering, that there is no ...\make\build.properties file in >> tl/jdk tree. >> >> Maybe you like to have a look on ...\make\netbeans\charset\* in my >> patch for https://bugs.openjdk.java.net/show_bug.cgi?id=100098 ? >> >> -Ulf >> >> >> >> Am 11.08.2009 16:49, Jonathan Gibbons schrieb: >>> Rémi, >>> >>> Thanks for the heads up. I'll check this out. It is still the case >>> that you should only need 1.6 to build langtools. >>> >>> -- Jon >>> >>> >>> >>> On Aug 11, 2009, at 2:46 AM, Rémi Forax wrote: >>> >>>> Le 11/08/2009 11:06, Ulf Zibis a écrit : >>>>> Jonathan, >>>>> >>>>> thanks for additional help. >>>>> >>>>> Now I tried: >>>>> C:\Projects\OpenJDK7\langtools\make>"C:\Programme\Java\NetBeans >>>>> 6.7.1\java2\ant\ >>>>> bin\ant" -Dboot.java/home=C:/Programme/Java/jdk1.7.0 >>>> >>>> I've noticed that. >>>> You have to run ant with jdk7. >>>> >>>> JAVA_HOME=C:/Programme/Java/jdk1.7.0 >>>> ant -Dboot.java/home=C:/Programme/Java/jdk1.7.0 >>>> >>>> Jon, it seems the ant build script need be updated because >>>> we are not able to compile with jdk6 anymore. >>>> The bootstrap javac/javap/etc should be built with -source 1.6 >>>> -target 1.6. >>>> >>>> Rémi >>> >>> >> > |
|
|
Re: javac CRASHJon,
thanks for 1st clarification. I have bootstrap.jdk=C:/Programme/Java/jdk1.7.0 in ${user.home}/.openjdk/build.properties instead of boot.javac.target. Why 2 different names for the same thing? So I guess, settings for boot.javac.source and boot.javac.target should be better located in ${user.home}/.openjdk/langtools-build.properties, than in ${user.home}/.openjdk/build.properties ? For NetBeans "Clean and Build" settings for boot.javac.source and boot.javac.target in ${user.home}/.openjdk/*build.properties don't seem to be necessary, and regrettably settings for: javac.source = 6 javac.target = 6 don't work, either in make/netbeans/langtools/nbproject/private/langtools.properties. I had to set them in build.properties. I'm not happy to use NetBeans Properties box under Tools> Options> Miscellaneous> Ant, because those settings are for ALL NetBeans projects. IMO best location would be: make/netbeans/langtools/nbproject/private/langtools.properties. In make/netbeans/langtools/build.xml they should be loaded before: <import file="../../build.xml"/> Please add NetBeans project specific hints in make/build.properties. ... Am 11.08.2009 17:59, Jonathan Gibbons schrieb: > Ulf, > > Your settings for boot.java.home and target.java.home look OK. > > The intent of the build is that while building the bootstrap compiler, > the settings for boot.javac.source and boot.javac.target should be > active and these are correctly set to 6 in > langtools/make/build.properties. I will investigate why these might > not be in use later today, when I have easy access to a Windows machine. > > Separately, I also note that the intent is that you should not *need* > to edit langtools/make/build.properties, although it is not incorrect > to do so. But, it can lead to accidents if you might be committing and > pushing changes. To minimize that risk, you can provide/override > values in a number of ways: > -- on the Ant command line (if you invoke Ant directly) > -- in NetBeans, in the Properties box under Tools> Options> > Miscellaneous> Ant > -- in a new unmanaged file langtools/build.properties (note no make/ > component) > -- in ${user.home}/.openjdk/langtools-build.properties > -- in ${user.home}/.openjdk/build.properties > The last two choices allow you to set values to be shared by multiple > repositories. Thanks for those valuable hints. I would like to see those explicitly in make/build.properties. -Ulf > > There is no make/build.properties in the jdk/ repository because that > repository uses "make" instead of "ant" for building. To build the > jdk repository, you will need either MKS or Cygwin installed on your > system. For more info, see the notes on the OpenJDK web pages. There > are NetBeans projects for selected parts of the jdk/ to make it easy > to work on small subsystems. However, I don't believe those (NetBeans) > projects are being actively maintained at this point. [This does not > apply to the langtools/ files. ] > > -- Jon > > > > > > On Aug 11, 2009, at 8:31 AM, Ulf Zibis wrote: > >> Jon, >> >> that would be great. >> >> I've found out a solution, but I'm not sure, if this is as designed. >> In path_to_jdk7_sources\langtools\make\build.properties I set: >> boot.java.home = C:/Programme/Java/jdk1.6.0_14 >> target.java.home = C:/Programme/Java/jdk1.7.0 >> javac.source = 6 >> javac.target = 6 >> >> I'm wondering, that there is no ...\make\build.properties file in >> tl/jdk tree. >> >> Maybe you like to have a look on ...\make\netbeans\charset\* in my >> patch for https://bugs.openjdk.java.net/show_bug.cgi?id=100098 ? >> >> -Ulf >> >> >> >> Am 11.08.2009 16:49, Jonathan Gibbons schrieb: >>> Rémi, >>> >>> Thanks for the heads up. I'll check this out. It is still the case >>> that you should only need 1.6 to build langtools. >>> >>> -- Jon >>> >>> >>> >>> On Aug 11, 2009, at 2:46 AM, Rémi Forax wrote: >>> >>>> Le 11/08/2009 11:06, Ulf Zibis a écrit : >>>>> Jonathan, >>>>> >>>>> thanks for additional help. >>>>> >>>>> Now I tried: >>>>> C:\Projects\OpenJDK7\langtools\make>"C:\Programme\Java\NetBeans >>>>> 6.7.1\java2\ant\ >>>>> bin\ant" -Dboot.java/home=C:/Programme/Java/jdk1.7.0 >>>> >>>> I've noticed that. >>>> You have to run ant with jdk7. >>>> >>>> JAVA_HOME=C:/Programme/Java/jdk1.7.0 >>>> ant -Dboot.java/home=C:/Programme/Java/jdk1.7.0 >>>> >>>> Jon, it seems the ant build script need be updated because >>>> we are not able to compile with jdk6 anymore. >>>> The bootstrap javac/javap/etc should be built with -source 1.6 >>>> -target 1.6. >>>> >>>> Rémi >>> >>> >> > > |
|
|
Re: javac CRASHSorry for cross-posting.
Am 11.08.2009 20:51, Jonathan Gibbons schrieb: > Removed core-libs-dev. > > The issue is that in a couple of places a default value for > javac.bootclasspath is set that includes -J-Xbootclasspath. > When the value is finally used, -J-Xbootclasspath is again included. > The fix is to remove the use of -J-Xbootclasspath/p: > from the default settings for javac.bootclasspath. Will you do that, and commit to langtools forest soon? Otherwise, what should I exactly change in which file ? -Ulf > > -- Jon > > Jonathan Gibbons wrote: >> Ulf, Rémi, >> >> I have found an issue in the langtools/make/build.xml file that is >> likely the cause of the problems you are having. >> There are references to @{javac.java.home}/bin/javac which look >> suspect. I suspect they should be javac.exe >> on Windows. >> >> I will post a fix once I have one and have verified it for plain >> invocation from the Windows command shell and >> from Cygwin. >> >> -- Jon >> >> >> Ulf Zibis wrote: >>> Jon, >>> >>> that would be great. >>> >>> I've found out a solution, but I'm not sure, if this is as designed. >>> In path_to_jdk7_sources\langtools\make\build.properties I set: >>> boot.java.home = C:/Programme/Java/jdk1.6.0_14 >>> target.java.home = C:/Programme/Java/jdk1.7.0 >>> javac.source = 6 >>> javac.target = 6 >>> >>> I'm wondering, that there is no ...\make\build.properties file in >>> tl/jdk tree. >>> >>> Maybe you like to have a look on ...\make\netbeans\charset\* in my >>> patch for https://bugs.openjdk.java.net/show_bug.cgi?id=100098 ? >>> >>> -Ulf >>> >>> >>> >>> Am 11.08.2009 16:49, Jonathan Gibbons schrieb: >>>> Rémi, >>>> >>>> Thanks for the heads up. I'll check this out. It is still the case >>>> that you should only need 1.6 to build langtools. >>>> >>>> -- Jon >>>> >>>> >>>> >>>> On Aug 11, 2009, at 2:46 AM, Rémi Forax wrote: >>>> >>>>> Le 11/08/2009 11:06, Ulf Zibis a écrit : >>>>>> Jonathan, >>>>>> >>>>>> thanks for additional help. >>>>>> >>>>>> Now I tried: >>>>>> C:\Projects\OpenJDK7\langtools\make>"C:\Programme\Java\NetBeans >>>>>> 6.7.1\java2\ant\ >>>>>> bin\ant" -Dboot.java/home=C:/Programme/Java/jdk1.7.0 >>>>> >>>>> I've noticed that. >>>>> You have to run ant with jdk7. >>>>> >>>>> JAVA_HOME=C:/Programme/Java/jdk1.7.0 >>>>> ant -Dboot.java/home=C:/Programme/Java/jdk1.7.0 >>>>> >>>>> Jon, it seems the ant build script need be updated because >>>>> we are not able to compile with jdk6 anymore. >>>>> The bootstrap javac/javap/etc should be built with -source 1.6 >>>>> -target 1.6. >>>>> >>>>> Rémi >>>> >>>> >>> >> > > |
|
|
Re: javac CRASHUlf Zibis wrote:
> Jon, > > thanks for 1st clarification. > > I have > bootstrap.jdk=C:/Programme/Java/jdk1.7.0 > in ${user.home}/.openjdk/build.properties instead of > boot.javac.target. Why 2 different names for the same thing? The NetBeans projects in the jdk/ repository were written by a different person who has since left Sun. As far as I know, no-one is looking after those projects at this point. I cannot speak to their contents. > So I guess, settings for boot.javac.source and boot.javac.target > should be better located in > ${user.home}/.openjdk/langtools-build.properties, than in > ${user.home}/.openjdk/build.properties ? Yes, that would seem best. > > For NetBeans "Clean and Build" settings for boot.javac.source and > boot.javac.target in ${user.home}/.openjdk/*build.properties don't > seem to be necessary, and regrettably settings for: > javac.source = 6 > javac.target = 6 > don't work, either in > make/netbeans/langtools/nbproject/private/langtools.properties. I had > to set them in build.properties. This morning, we identified and fixed an issue with the setting of javac.bootclasspath in the langtools/make/build.xml file. A fix has been pushed to the TL/ family of repositories. This should fix being able to build langtools with JDK 6, so no additional changes to javac.source and javac.target should be necessary. > > > I'm not happy to use NetBeans Properties box under Tools> Options> > Miscellaneous> Ant, because those settings are for ALL NetBeans projects. Noted. I mostly work on copies of the langtools repository so setting values there works OK for me. I accept this may not work for everyone. > IMO best location would be: > make/netbeans/langtools/nbproject/private/langtools.properties. In > make/netbeans/langtools/build.xml they should be loaded before: > <import file="../../build.xml"/> This would only work if you are using NetBeans all the time. > Please add NetBeans project specific hints in make/build.properties. > ... There should not need to be any NetBeans project specific hints, because you can configure and use make/build.xml and make/build.properties with Ant directly, without using NetBeans. Please bear in mind that some of this issues you have been fighting have been caused by a mistake in make/build.xml, for which I apologise. For the most part, you should just have to set boot.java.home to build langtools, and target.java.home and jtreg.home if you want to run the tests. -- Jon |
|
|
Re: javac CRASHUlf,
I have pushed changes into http://hg.openjdk.java.net/jdk7/tl/langtools (for JDK7) and into http://hg.openjdk.java.net/jdk6/jdk6/langtools (for JDK6.) With these fixes, I can build langtools on Windows using either the attached build.bat (for Windows shell) for build.sh (for Cygwin.) In both cases I can build with just JDK 6. -- Jon Ulf Zibis wrote: > Sorry for cross-posting. > > Am 11.08.2009 20:51, Jonathan Gibbons schrieb: >> Removed core-libs-dev. >> >> The issue is that in a couple of places a default value for >> javac.bootclasspath is set that includes -J-Xbootclasspath. >> When the value is finally used, -J-Xbootclasspath is again >> included. The fix is to remove the use of -J-Xbootclasspath/p: >> from the default settings for javac.bootclasspath. > > Will you do that, and commit to langtools forest soon? > Otherwise, what should I exactly change in which file ? > > -Ulf > > >> >> -- Jon >> >> Jonathan Gibbons wrote: >>> Ulf, Rémi, >>> >>> I have found an issue in the langtools/make/build.xml file that is >>> likely the cause of the problems you are having. >>> There are references to @{javac.java.home}/bin/javac which look >>> suspect. I suspect they should be javac.exe >>> on Windows. >>> >>> I will post a fix once I have one and have verified it for plain >>> invocation from the Windows command shell and >>> from Cygwin. >>> >>> -- Jon >>> >>> >>> Ulf Zibis wrote: >>>> Jon, >>>> >>>> that would be great. >>>> >>>> I've found out a solution, but I'm not sure, if this is as >>>> designed. In path_to_jdk7_sources\langtools\make\build.properties I >>>> set: >>>> boot.java.home = C:/Programme/Java/jdk1.6.0_14 >>>> target.java.home = C:/Programme/Java/jdk1.7.0 >>>> javac.source = 6 >>>> javac.target = 6 >>>> >>>> I'm wondering, that there is no ...\make\build.properties file in >>>> tl/jdk tree. >>>> >>>> Maybe you like to have a look on ...\make\netbeans\charset\* in my >>>> patch for https://bugs.openjdk.java.net/show_bug.cgi?id=100098 ? >>>> >>>> -Ulf >>>> >>>> >>>> >>>> Am 11.08.2009 16:49, Jonathan Gibbons schrieb: >>>>> Rémi, >>>>> >>>>> Thanks for the heads up. I'll check this out. It is still the >>>>> case that you should only need 1.6 to build langtools. >>>>> >>>>> -- Jon >>>>> >>>>> >>>>> >>>>> On Aug 11, 2009, at 2:46 AM, Rémi Forax wrote: >>>>> >>>>>> Le 11/08/2009 11:06, Ulf Zibis a écrit : >>>>>>> Jonathan, >>>>>>> >>>>>>> thanks for additional help. >>>>>>> >>>>>>> Now I tried: >>>>>>> C:\Projects\OpenJDK7\langtools\make>"C:\Programme\Java\NetBeans >>>>>>> 6.7.1\java2\ant\ >>>>>>> bin\ant" -Dboot.java/home=C:/Programme/Java/jdk1.7.0 >>>>>> >>>>>> I've noticed that. >>>>>> You have to run ant with jdk7. >>>>>> >>>>>> JAVA_HOME=C:/Programme/Java/jdk1.7.0 >>>>>> ant -Dboot.java/home=C:/Programme/Java/jdk1.7.0 >>>>>> >>>>>> Jon, it seems the ant build script need be updated because >>>>>> we are not able to compile with jdk6 anymore. >>>>>> The bootstrap javac/javap/etc should be built with -source 1.6 >>>>>> -target 1.6. >>>>>> >>>>>> Rémi >>>>> >>>>> >>>> >>> >> >> > The original attachment - build.bat - has been removed from this message, as it is a type of file which has recently been used to carry viruses and other malicious software. The following extensions are no longer supported as valid email attachments and will be removed since they are primarily used to carry viruses and other malicious software: asp bas bat chm cmd com exe hlp hta inf isp js jse lnk msi mst pcd pif reg scr url vbe vbs ws wsh sun.com.zip |
|
|
Re: javac CRASHThis thread continued on a subset of the to: list, but to summarize
the net result here, we identified and fixed a problem with the langtools make/build.xml file that was causing bootclasspath problems on WIndows. This problem has been fixed, and changesets have been pushed to jdk6/jdk6 and jdk7/tl. Thanks , Rémi and Ulf, for helping to point out the problem. -- Jon On Aug 11, 2009, at 2:46 AM, Rémi Forax wrote: > Le 11/08/2009 11:06, Ulf Zibis a écrit : >> Jonathan, >> >> thanks for additional help. >> >> Now I tried: >> C:\Projects\OpenJDK7\langtools\make>"C:\Programme\Java\NetBeans >> 6.7.1\java2\ant\ >> bin\ant" -Dboot.java/home=C:/Programme/Java/jdk1.7.0 > > I've noticed that. > You have to run ant with jdk7. > > JAVA_HOME=C:/Programme/Java/jdk1.7.0 > ant -Dboot.java/home=C:/Programme/Java/jdk1.7.0 > > Jon, it seems the ant build script need be updated because > we are not able to compile with jdk6 anymore. > The bootstrap javac/javap/etc should be built with -source 1.6 - > target 1.6. > > Rémi |
| Free embeddable forum powered by Nabble | Forum Help |