javac CRASH
Jonathan Gibbons
Jonathan.Gibbons at Sun.COM
Tue Aug 11 18:28:38 UTC 2009
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
>>
>>
>
More information about the core-libs-dev
mailing list