Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying OpenJDK Cookbook
  • Table Of Contents Toc
OpenJDK Cookbook

OpenJDK Cookbook

By : Kobylyanskiy, Mironchenko
4 (2)
close
close
OpenJDK Cookbook

OpenJDK Cookbook

4 (2)
By: Kobylyanskiy, Mironchenko

Overview of this book

If you are an experienced Java developer using Java 7 platform and want to get your grips on OpenJDK for Java development, this is the book for you. JDK users who wish to migrate to OpenJDK will find this book very useful.
Table of Contents (15 chapters)
close
close
14
Index

Automating builds

This recipe joins together all the previous recipes in this chapter. Prepared virtual machine images and SSH with key authentication will allow us to build OpenJDK in fully automated mode using simple bash scripts without additional tools.

Getting ready

For this recipe, we will require a Linux or Mac OS host machine running.

How to do it...

The following procedure will help us to prepare the Windows virtual machine:

  1. Prepare SSH keys as described in the Preparing SSH keys recipe in this chapter.
  2. Set up the VirtualBox installation and its network settings as described in the Installing VirtualBox recipe in this chapter.
  3. Prepare the virtual machine images as described in the previous recipes in this chapter.
  4. For each VM image, prepare a list of environment variables, which will be used by the build script (for example, Windows):
    export VM_ADDRESS=192.168.42.1
    export VM_NAME=jdk7-windows-amd64
    export VM_OSTYPE=Windows7_64
    export VM_MEMORY=1780
    export VM_IOAPIC=on
    export VM_NICTYPE...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
OpenJDK Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon