Building nio libraries
Alan.Bateman at oracle.com
Thu May 19 08:04:05 UTC 2011
David Holmes wrote:
> 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?
When you build the jdk repository then it builds the tools (via
make/tools/**) before it descends into the make/java/** tree. Once
you've done an initial build then you can do incremental builds via make
-C make/java/nio. I don't think the build is setup to build specific
areas starting with an empty output directory.
More information about the core-libs-dev