javac CRASH
Jonathan Gibbons
Jonathan.Gibbons at Sun.COM
Tue Aug 11 00:50:17 UTC 2009
Rémi , Ulf,
If you're driving Ant directly, you want to set the Ant property
boot.java.home,
not the Makefile variable ALT_BOOTDIR.
ant -Dboot.java.home=path-to-jdk6or7 more-args....
The path should be to the root of the installed JDK, not any of its
subdirectories.
For example, if you've installed JDK 1.7 in C:\opt\jdk\1.7.0 then use
ant -Dboot.java/home=C:/opt/jdk/1.7.0 more-args...
-- Jon
Rémi Forax wrote:
> Le 11/08/2009 01:58, Ulf Zibis a écrit :
>> Rémi, thanks.
>>
>> I just tried it, but got errors:
>>
>> C:\Projects\OpenJDK7\langtools\make>"C:\Programme\Java\NetBeans
>> 6.7.1\java2\ant\bin\ant"
>> Buildfile: build.xml
>>
>> -def-check:
>>
>> -check-boot.java.home:
>>
>> BUILD FAILED
>> C:\Projects\OpenJDK7\langtools\make\build.xml:370: The following
>> error occurred
>> while executing this line:
>> C:\Projects\OpenJDK7\langtools\make\build.xml:737: Cannot locate
>> bootstrap java:
>> please set boot.java.home to its location
>>
>> Total time: 1 second
>>
>>
>> -Ulf
>
> as said, set the bootstrap location,
> with bash:
> export ALT_BOOTDIR=path_to_a_binary_jdk6or7
>
> Rémi
>
>>
>>
>> Am 04.08.2009 15:17, Rémi Forax schrieb:
>>> Le 04/08/2009 13:07, Ulf Zibis a écrit :
>>>> Maurizio,
>>>>
>>>> much thanks for the additional info.
>>>>
>>>> I like to avoid going back to b63.
>>>> If the fix will not go into b68, could you please provide a binary
>>>> patch for b67 (or b68) (Windows version)?
>>>> I can wait for release of b68, but not for b69, as I'm on vacation
>>>> until Aug. 10.
>>>>
>>>> Thanks in advance,
>>>>
>>>> -Ulf
>>>
>>> you can do it by yourself,
>>> clone the langtools repository, it can be built with ant, so just
>>> type ant
>>> in the directory "make", it will create a tools.jar.
>>> Now remplace the tools.jar of your binary build by this new one.
>>>
>>> cheers,
>>> Rémi
>>>
>>>>
>>>>
>>>> Am 04.08.2009 12:20, Maurizio Cimadamore schrieb:
>>>>> Ulf Zibis wrote:
>>>>>> Maurizio,
>>>>>>
>>>>>> much thanks for the fast info.
>>>>>>
>>>>>> Will this fix be included in next build b68 ???
>>>>>> Hopefully !
>>>>> Not sure if it will make into b68 - but certainly it will go into
>>>>> b69 (depends on the integration process). The fix is already
>>>>> available in the langtools repository used for development
>>>>> (http://hg.openjdk.java.net/jdk7/tl/langtools).
>>>>>
>>>>> Maurizio
>>>>>>
>>>>>> -Ulf
>>>>>>
>>>>>>
>>>>>> Am 04.08.2009 11:08, Maurizio Cimadamore schrieb:
>>>>>>> Ulf Zibis wrote:
>>>>>>>> See:
>>>>>>>> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6868135 -->
>>>>>>>> java.lang.NullPointerException from compiler (1.7.0-ea)
>>>>>>>>
>>>>>>>> -Ulf
>>>>>>>>
>>>>>>>>
>>>>>>> Hi Ulf,
>>>>>>> this is a type annotation (JSR 308) bug that has been recently
>>>>>>> fixed - it is a duplicate of 6861837.
>>>>>>>
>>>>>>> Regards
>>>>>>> Maurizio
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
More information about the core-libs-dev
mailing list