Building nio libraries

David Holmes David.Holmes at oracle.com
Tue May 24 07:49:24 UTC 2011


Sean Chou said the following on 05/24/11 17:04:
>    Have you made a softlink from $(topdir)/jdk/build to $(topdir)/build 
> ?  There are btjars and other requirements. 

I didn't have a $(topdir) as I wasn't doing a full build.

I ended up just extracting the gcc commands from the log of a previous 
build (after editing the paths).

Thanks anyway.

David

> 2011/5/19 David Holmes <David.Holmes at oracle.com 
> <mailto:David.Holmes at oracle.com>>
> 
>     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> <mailto: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
> 
> 
> 
> 
> -- 
> Best Regards,
> Sean Chou
> 



More information about the core-libs-dev mailing list