售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
OpenJDK Cookbook
Table of Contents
OpenJDK Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with OpenJDK
Introduction
Distinguishing OpenJDK from Oracle JDK
Getting ready
How to do it...
How it works…
See also
Installing OpenJDK on Windows
Getting ready
How to do it...
How it works…
There's more...
See also
Configuring OpenJDK on Windows
Getting ready
How to do it...
How it works…
There's more...
Installing OpenJDK on Linux
Getting ready
How to do it...
There's more...
Configuring OpenJDK on Linux
Getting ready
How to do it...
How it works…
There's more...
Navigating through OpenJDK groups and projects
Getting ready
How to do it...
How it works…
See also
2. Building OpenJDK 6
Introduction
Preparing CA certificates
Getting ready
How to do it...
How it works...
There's more...
See also
Building OpenJDK 6 on Ubuntu Linux 12.04 LTS
Getting ready
How to do it...
How it works...
There's more...
See also
Setting up the minimum build environment for the most compatible Linux builds
Getting ready
How to do it...
How it works...
There's more...
See also
Installing Cygwin for Windows builds
Getting ready
How to do it...
How it works...
There's more...
See also
Building 32-bit FreeType libraries for OpenJDK 6 on Windows
Getting ready
How to do it...
How it works...
See also
Building 64-bit FreeType libraries for OpenJDK 6 on Windows
Getting ready
How to do it...
How it works...
See also
Building 32-bit OpenJDK 6 on Windows 7 SP1
Getting ready
How to do it...
How it works...
There's more...
See also
Building 64-bit OpenJDK 6 on Windows 7 x64 SP1
Getting ready
How to do it...
How it works...
There's more...
See also
3. Building OpenJDK 7
Introduction
Building OpenJDK 7 on Ubuntu Linux 12.04 LTS
Getting ready
How to do it...
How it works...
There's more...
See also
Building OpenJDK 7 on Mac OS X
Getting ready
How to do it...
How it works...
There's more...
See also
Building 32-bit FreeType libraries for OpenJDK 7 on Windows
Getting ready
How to do it...
How it works...
See also
Building 64-bit FreeType libraries for OpenJDK 7 on Windows
Getting ready
How to do it...
How it works...
See also
Building 32-bit OpenJDK 7 on Windows 7 SP1
Getting ready
How to do it...
How it works...
There's more...
See also
Building 64-bit OpenJDK 7 on Windows 7 x64 SP1
Getting ready
How to do it...
How it works...
There's more...
See also
Preparing a standalone toolchain for 32- and 64-bit Windows' builds
Getting ready
How to do it...
How it works...
There's more...
See also
4. Building OpenJDK 8
Introduction
Working with GNU Autoconf
Getting ready
How to do it...
How it works...
There's more...
See also
Building OpenJDK 8 Ubuntu Linux 12.04 LTS
Getting ready
How to do it...
How it works...
There's more...
See also
Using ccache to speed up the OpenJDK 8 build process
Getting ready
How to do it...
How it works...
There's more...
See also
Building OpenJDK 8 on Mac OS X
Getting ready
How to do it...
How it works...
There's more...
See also
Building OpenJDK 8 on Windows 7 SP1
Getting ready
How to do it...
How it works...
There's more...
See also
5. Building IcedTea
Introduction
Building IcedTea 6
Getting ready
How to do it...
How it works...
There's more...
See also
Building IcedTea 7
Getting ready
How to do it...
How it works...
There's more...
See also
Building OpenJDK 7 with IcedTea patches
Getting ready
How to do it...
How it works...
There's more...
See also
Building IcedTea 7 with the NSS security provider
Getting ready
How to do it...
How it works...
See also
Building IcedTea 6 with the SystemTap support
Getting ready
How to do it...
There's more...
See also
6. Building IcedTea with Other VM Implementations
Introduction
Configuring cross-compilation between ARM and x86
Getting ready
How to do it...
Configuring OpenEmbedded build manually
Using the Hob utility to configure the OpenEmbedded build
After the build
How it works…
There's more...
Configure problems – when a header file is not found
Fetch problems – where your package is not accessible through any mirror available
Compile problems – where a compile error occurs
Parsing problems – where your recipes cannot be parsed
Building IcedTea for ARM with integrated CACAO VM
Getting ready
How to do it...
How it works…
There's more...
Porting JamVM to use OpenJDK
Getting ready
How to do it...
There's more
Configuring Zero-assembler with the Shark compiler to use OpenJDK
Getting ready
How to do it...
How it works…
There's more
Building for MIPS and other architectures using OpenEmbedded recipes
Getting ready
How to do it...
How it works…
There's more...
7. Working with WebStart and the Browser Plugin
Introduction
Building the IcedTea browser plugin on Linux
Getting ready
How to do it...
How it works...
There's more...
See also
Using the IcedTea Java WebStart implementation on Linux
Getting ready
How to do it...
How it works...
See also
Preparing the IcedTea Java WebStart implementation for Mac OS X
Getting ready
How to do it...
How it works...
There's more...
See also
Preparing the IcedTea Java WebStart implementation for Windows
Getting ready
How to do it...
How it works...
There's more...
See also
8. Hacking OpenJDK
Introduction
Setting up the development environment with NetBeans
Getting ready
How to do it...
See also
Working with Mercurial forest
Getting ready
How to do it...
How it works…
Understanding OpenJDK 6 and 7 incremental builds
Getting ready
How to do it...
How it works…
There's more…
Debugging Java code using NetBeans
Getting ready
How to do it...
How it works…
There's more...
Debugging C++ code using NetBeans
Getting ready
How to do it...
How it works…
Using NetBeans to compile HotSpot
Getting ready
How to do it...
How it works…
Using HotSpot dev parameters
Getting ready
How to do it...
Adding new intrinsic to HotSpot
Getting ready
How to do it...
How it works…
There's more…
Building VisualVM from the source code
Getting ready
How to do it...
See also
Creating a plugin for VisualVM
Getting ready
How to do it...
See also
Getting benefits from the AdoptOpenJDK project
Getting ready
How to do it...
Visualizing JIT logs
Securing your javadocs
How it works…
There's more...
9. Testing OpenJDK
Introduction
Running tests using the downloaded or the built version of jtreg
Getting ready
How to do it...
How it works…
See also
Building jtreg from the source
Getting ready
How to do it...
Running the standard set of OpenJDK tests
Getting ready
How to do it...
There's more...
Writing your own test for jtreg
Getting ready
How to do it...
How it works…
See also
Using jtreg in GUI mode
Getting ready
How to do it...
How it works…
Writing TestNG tests for jtreg
Getting ready
How to do it...
How it works…
See also
Compiling JT Harness from the source code
Getting ready
How to do it...
See also
Building and running jcstress
Getting ready
How to do it…
There's more...
Writing tests for jcstress
Getting ready
How to do it…
See also
Creating a benchmark project using JMH
Getting ready
How to do it…
There's more…
See also
Downloading the source and compiling JHM
Getting ready
How to do it…
How it works…
10. Contributing to OpenJDK
Introduction
Becoming a contributor
Getting ready
How to do it...
See also
Generating a patch with webrev
Getting ready
How to do it...
How it works…
There's more...
See also
Backporting OpenJDK v9 patches to OpenJDK v8
Getting ready
How to do it…
See also
Understanding OpenJDK groups
Getting ready
How to do it…
See also
Understanding OpenJDK projects
How to do it…
See also
Suggesting new JSRs
Getting ready
How to do it...
See also
Suggesting new JEPs
Getting ready
How to do it...
How it works…
See also
11. Troubleshooting
Introduction
Navigating through the process workflow
Getting ready
How to do it...
How it works…
Submitting a defect to the OpenJDK bug systems
How to do it...
How it works…
Creating a patch using NetBeans
Getting ready
How to do it...
How it works
See also...
Creating a code review
Getting ready
How to do it...
12. Working with Future Technologies
Introduction
Building OpenJDK 9 on Mac OS X using Clang
Getting ready
How to do it...
How it works...
There's more...
See also
Building OpenJDK 9 on Windows using MSYS
Getting ready
How to do it...
How it works...
See also
Running and testing the early access preview of OpenJDK 9
Getting ready
How to do it...
How it works...
There's more...
Using Jigsaw
Getting ready
How to do it...
How it works...
There's more...
Building OpenJDK 9 with Graal
Getting ready
How to do it...
How it works...
There's more...
Building OpenJDK 9 with Sumatra
Getting ready
How to do it...
How it works...
There's more...
13. Build Automation
Introduction
Installing VirtualBox
Getting ready
How to do it...
How it works...
There's more...
See also
Preparing SSH keys
Getting ready
How to do it...
How it works...
There's more...
See also
Preparing VirtualBox machines with Linux
Getting ready
How to do it...
How it works...
There's more...
See also
Preparing VirtualBox machines with Mac OS X
Getting ready
How to do it...
How it works...
There's more...
See also
Preparing VirtualBox machines with Windows
Getting ready
How to do it...
How it works...
There's more...
See also
Automating builds
Getting ready
How to do it...
How it works...
There's more...
See also
Building cross-platform installers
Getting ready
How to do it...
How it works...
There's more...
See also
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜