Post Reply

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

OP blttalas

21st June 2014, 09:56 AM   |  #1  
blttalas's Avatar
OP Senior Member
Flag Ankara
Thanks Meter: 1,864
 
800 posts
Join Date:Joined: Mar 2012
Donate to Me
More
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?
Last edited by blttalas; 21st June 2014 at 10:15 AM.
22nd June 2014, 04:53 AM   |  #2  
Senior Member
Flag chesapeake
Thanks Meter: 67
 
167 posts
Join Date:Joined: May 2012
More
Follow the first part of this http://forum.xda-developers.com/show....php?t=2639611. You have the wrong java installed.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android by ThreadRank