Building nio libraries

David Holmes David.Holmes at oracle.com
Thu May 19 08:56:33 UTC 2011


Sean Chou said the following on 05/19/11 17:45:
>    This is my practice.  First, you need a complete build for jdk7.
>    Then, use junction to create a link from jdk7/jdk/build/windowsXXX to 
> jdk7/build/windowsXXX (this is the topmost build).
>    go to make/java/nio  and 
> make ALT_BOOTDIR=jdk7/jdk/build/windowsXXX/j2sdk-image/ 
>  ALT_JDK_IMPORT_PATH=dk7/jdk/build/windowsXXX/j2sdk-image/   

Thanks for the suggestion but simply defining ALT_JDK_IMPORT_PATH (I 
already have ALT_BOOTDIR) doesn't get me any further. The build is still 
looking for btjars in the output directory.

David

> 
> 2011/5/19 David Holmes <David.Holmes at oracle.com 
> <mailto:David.Holmes at oracle.com>>
> 
>     Can someone tell me what I need to define to be able to build just
>     the nio libraries?
> 
>     I want to do:
> 
>     make -C make/java/nio  <make-args>
> 
>     to get libnio.so built.
> 
>     My initial attempt is failing trying to find btjars/spp.jar which is
>     expected to be in the output directory. Is there some special import
>     setting, or must I build something else first?
> 
>     Thanks,
>     David
> 
> 
> 
> 
> -- 
> Best Regards,
> Sean Chou
> 



More information about the core-libs-dev mailing list