Pankaj Sejwal
Pankaj Sejwal

Reputation: 1595

os not supported error while building hotspot

I am trying to build openjdk from source and I am using "HOTSPOT_RELEASE_VERSION=20.0-b12" on openjdk6 on ubuntu 12.04. It prompts:

This OS is not supported:" `uname -a`; exit 1;<br>
This OS is not supported: Linux joker-Inspiron-1545 3.2.0-35-generic-pae #55-Ubuntu SMP Wed Dec 5 18:04:39 UTC 2012 i686 i686 i386 GNU/Linux.

Can someone guide me on this please ?

Upvotes: 9

Views: 2707

Answers (2)

Matt Rose
Matt Rose

Reputation: 337

An easier way than editing a file is to set the environment variable

DISABLE_HOTSPOT_OS_VERSION_CHECK=ok

Upvotes: 8

Jason L.
Jason L.

Reputation: 741

change hotspot/make/linux/Makefile
SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 2.7% 3%

Upvotes: 16

Related Questions