Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,736,660 Members 54,209 Now Online
XDA Developers Android and Mobile Development Forum

[Q] You are attempting to build with an unsupported version of java.

Tip us?
 
blttalas
Old
(Last edited by blttalas; 21st June 2014 at 10:15 AM.)
#1  
blttalas's Avatar
Senior Member - OP
Thanks Meter 1848
Posts: 775
Join Date: Mar 2012
Location: Ankara

 
DONATE TO ME
Default [Q] You are attempting to build with an unsupported version of java.

Sorry if i open thread to wrong section

im getting this error when typed

make -j4 otatools

Code:
blttalas@acer:~/android-sdk-linux/platform-tools$ make -j4 out/host/linux-x86/bin/unpackbootimg
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-29-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=/home/blttalas/android-sdk-linux/platform-tools/out
============================================
Checking build tools versions...
************************************************************
You are attempting to build with an unsupported version
of java.
 
Your version is: java version "1.7.0_55".
The correct version is: Java SE 1.6.
 
Please follow the machine setup instructions at
    https://source.android.com/source/download.html
************************************************************
************************************************************
You are attempting to build with the incorrect version
of javac.
 
Your version is: javac 1.7.0_55.
The correct version is: 1.6.
 
Please follow the machine setup instructions at
    https://source.android.com/source/download.html
************************************************************
How can i fix this issue?
My Projects:

Google Nexus 4: MakoPlus, StayStock
Motorola Atrix 4G: Laytveyit ROM
 
monkeytools
Old
#2  
Senior Member
Thanks Meter 67
Posts: 167
Join Date: May 2012
Location: chesapeake
Follow the first part of this http://forum.xda-developers.com/show....php?t=2639611. You have the wrong java installed.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes