Can't build demos on Windows 8.1
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Tue Mar 3 13:53:05 UTC 2015
On 2015-03-03 14:35, Alexander Scherbatiy wrote:
> On 3/3/2015 3:46 PM, Magnus Ihse Bursie wrote:
>> On 2015-03-03 13:04, Alexander Scherbatiy wrote:
>>> Hello,
>>>
>>> I installed Windows 8.1 and built JDK 9.
>>> When I call
>>> > make demos
>>> the whole JDK is rebuilt and demos are not created.
>>>
>>> The same is for
>>> > make java.desktop
>>>
>>> I do not see this problem on my Windows 7.
>>>
>>> Should I send any additional info or log files? I do not have idea
>>> what can be helpful in this case.
>
> Here is the log of the make demos command:
> http://cr.openjdk.java.net/~alexsch/logs/build/win8_1/make_java_demos.txt
> The demos are not built in my case.
As a work-around, does "make demos-only" work OK?
>>
>> What happens then when you type "make java.desktop"? Is java.desktop
>> not built?
> It is built but longer than I expect. I tried to edit a cpp file
> only. Build process takes about 34 seconds on Windows 7 and about 2
> minutes on Windows 8.1.
> make java.desktop log file on Windows 7:
> http://cr.openjdk.java.net/~alexsch/logs/build/win7/make_java_desktop.txt
> make java.desktop log file on Windows 8.1:
> http://cr.openjdk.java.net/~alexsch/logs/build/win8_1/make_java_desktop.txt
It seems that on your Windows 8.1 machine the Java code is rebuilt as
well, on top of the native code. I can't say for certain what causes this.
Once again, as a work-around, try "make java.desktop-libs" or "make
java.desktop-libs-only", to only recomplie the native parts of java.desktop.
If you edit nothing, and run "make java.desktop" again on the win8.1
machine, do you get a rebuild of the java code again? (i.e. Do you see
the line "Compiling 2525 files for java.desktop"?)
Could you possibly have time skew issues? If the source code is
timestamped in the future, then no rebuilds will ever make the resulting
file look newer.
/Magnus
More information about the build-dev
mailing list