• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps having issues building ROM with CM source

I have been trying to get my first ROM build going but when i run this code

make -j`grep 'processor' /proc/cpuinfo | wc -l` CYANOGEN_WITH_GOOGLE=true otapackage

it does its thing and this is what I get

p { margin-bottom: 0.08in; } ============================================
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of javac.

Your version is: /bin/bash: javac: command not found.
The correct version is: 1.6.

Please follow the machine setup instructions at
Get Android Source Code | Android Open Source
************************************************************
build/core/main.mk:130: *** stop. Stop.





Is there a way to update javac?
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones