FORUMS

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

840 posts
Thanks Meter: 2,212
 
Post Reply Subscribe to Thread Email Thread
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.
The Following User Says Thank You to blttalas For This Useful Post: [ View ]
 
 
22nd June 2014, 04:53 AM |#2  
Senior Member
Flag chesapeake
Thanks Meter: 67
 
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
Display Modes