Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ?

like image 268
Sejwal Avatar asked Jan 11 '13 20:01

Sejwal


2 Answers

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

DISABLE_HOTSPOT_OS_VERSION_CHECK=ok

like image 105
Matt Rose Avatar answered Nov 12 '22 14:11

Matt Rose


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

like image 42
Jason L. Avatar answered Nov 12 '22 13:11

Jason L.