Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
OpenJDK Cookbook

You're reading from   OpenJDK Cookbook Over 80 recipes to build and extend your very own version of Java platform using OpenJDK project

Arrow left icon
Product type Paperback
Published in Jan 2015
Last Updated in Feb 2025
Publisher
ISBN-13 9781849698405
Length 298 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
 Kobylyanskiy Kobylyanskiy
Author Profile Icon Kobylyanskiy
Kobylyanskiy
 Mironchenko Mironchenko
Author Profile Icon Mironchenko
Mironchenko
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Getting Started with OpenJDK FREE CHAPTER 2. Building OpenJDK 6 3. Building OpenJDK 7 4. Building OpenJDK 8 5. Building IcedTea 6. Building IcedTea with Other VM Implementations 7. Working with WebStart and the Browser Plugin 8. Hacking OpenJDK 9. Testing OpenJDK 10. Contributing to OpenJDK 11. Troubleshooting 12. Working with Future Technologies 13. Build Automation Index

Running tests using the downloaded or the built version of jtreg


The simplest way to get started with jtreg is to just download it, unpack it, and run some tests. In this recipe, we will do exactly that, without doing any additional things such as building it from the source code or trying to create our own tests.

Getting ready

For this recipe, nothing much is really required—just the Internet connection, a machine with an installed or built OpenJDK, and the OpenJDK source code. In a Windows environment, Cygwin has to be installed in your machine.

How to do it...

The following are a few simple steps to get a set of tests executed by jtreg:

  1. If jtreg is not yet available on the machine, go to the official page of jtreg (https://adopt-openjdk.ci.cloudbees.com/job/jtreg/lastSuccessfulBuild/artifact/) and download the latest available version of jtreg. The other option is to build it from the source code. To do this, follow the instructions in the Building Jtreg from the source recipe that is covered...

lock icon The rest of the chapter is locked
Visually different images
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
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime
Modal Close icon
Modal Close icon