— If you would rather use a ready-to-go Virtual Machine based on these instructions, check out this post!—
Copied with permission from nathanpfry.com
With a new version of Ubuntu comes an update to my world-famous guide for setting up a build environment to compile Android ROMs. The aim of this is to simplify the configuration process for you.
Follow the directions step-by-step. All you have to do is copy and paste the code in order and it will be up and running in no time!
This guide applies to all variations of Ubuntu 15.04 Vivid Vervet 64 bit. Do not use the 32 Bit version.
Also, PAY CLOSE ATTENTION when to use “sudo” and when to not. It can make things funky if you do something as root that you shouldn’t.
Much thanks goes out to Google, ProTekk, Canonical, and everyone else that I read a random paragraph here and snippet there.
Ready to begin? Ok.
1) Unless it’s a completely fresh Ubuntu installation, many of you have the wrong version of Java installed. Let’s fix that first.
The command below makes sure you’re starting with a clean slate. Copy and paste it into a terminal (command prompt) window:
Code:
sudo apt-get remove openjdk-* icedtea-* icedtea6-*
If necessary, follow the on-screen instructions to remove any stray Java versions. Otherwise, move on to the next step.
2) Install the main build tools with this command:
Code:
sudo apt-get install openjdk-7-jdk git ccache automake lzop bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 g++-multilib python-networkx libxml2-utils bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev squashfs-tools pngcrush schedtool dpkg-dev liblz4-tool make optipng
That’s it on the package side of things.
3) A program called “repo” lets you communicate with git servers and download all that precious source code. The next command will install it:
Code:
mkdir ~/bin && curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo && chmod a+x ~/bin/repo
4) Use your favorite text editor to open ~/.bashrc – I like nano:
Code:
sudo nano ~/.bashrc
5) At the very bottom (use the Page Down key) paste this code to a new line:
Code:
export PATH=~/bin:$PATH
export USE_CCACHE=1
6) Save it. In nano that would be Ctrl-O and then Enter. Then Ctrl-X to exit back to a prompt. Restart bash:
Code:
source ~/.bashrc
7) In the terminal, navigate to where you would like to download the Android source code. The commands below will make it in your home folder, but if you have limited space you may want to create it somewhere else. Faster is better, i.e. SSD would be best, USB external (even 3.0) will be comparatively slow. Here we go:
Code:
mkdir ~/android
cd ~/android
8) Now you’re going to initialize the repo. This is where you decide the flavor of Android you want to build, i.e. AOKP, CyanogenMod, AOSP etc.
For the purposes of the tutorial, here’s the command for SimpleAOSP Lollipop:
Code:
repo init -u https://github.com/SimpleAOSP-Lollipop/platform_manifest.git -b L
9) Last step. Time to get the source. Prepare yourself, many gigabytes of downloading await.
Don’t worry, it’s automated.
Hey everyone, it’s the final terminal command!
Code:
repo sync
Check back periodically every hour or so. It all depends on how fast your connection is.
That should be everything. Now you’re ready to build Android. Good luck!
If this guide helped you out, feel free to click the thanks button!
For those of you that want to build Gingerbread thru KitKat, here's the easiest way to update your system:
First add the PPA for older Java 1.6 builds.
Code:
sudo add-apt-repository ppa:webupd8team/java
Then install:
Code:
sudo apt-get update && sudo apt-get install oracle-java6-installer
Once that completes, you simply need to tell Linux to use the older version of Java and Java Compiler to render content.
Run the following two commands separately, making the correct selection for Oracle JDK 1.6 both times when prompted. Again in the terminal:
Code:
sudo update-alternatives --config java
sudo update-alternatives --config javac
That should do the trick!
Going to replace 14.04 with this, keep having javac crashes and whatever it is is not isolated to this version.
Update:
mingw32, lib32bz2-1.0, lib32bz2-dev not found.
Code:
============================================
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar java version "1.7.0_79" OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu1) OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode).
The required version is: "1.7.x/1.8.x"
Please follow the machine setup instructions at
https://source.android.com/source/initializing.html
************************************************************
build/core/main.mk:174: *** stop. Stop.
#### make failed to build some targets (2 seconds) ####
Still getting this error
aapav01 said:
Code:
============================================
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar java version "1.7.0_79" OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu1) OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode).
The required version is: "1.7.x/1.8.x"
Please follow the machine setup instructions at
https://source.android.com/source/initializing.html
************************************************************
build/core/main.mk:174: *** stop. Stop.
#### make failed to build some targets (2 seconds) ####
Still getting this error
Click to expand...
Click to collapse
same error here. still trying to figure it out. you can remove the lines of code that check for java on main.mk to build, nonetheless.
---------- Post added at 08:32 ---------- Previous post was at 08:30 ----------
and BTW, you only need these packages to build on 14.04 and upwards:
Code:
sudo apt-get install bison g++-multilib git gperf libxml2-utils make zlib1g-dev:i386 zip
in:
https://source.android.com/source/initializing.html
infected_ said:
same error here. still trying to figure it out. you can remove the lines of code that check for java on main.mk to build, nonetheless.
---------- Post added at 08:32 ---------- Previous post was at 08:30 ----------
and BTW, you only need these packages to build on 14.04 and upwards:
Code:
sudo apt-get install bison g++-multilib git gperf libxml2-utils make zlib1g-dev:i386 zip
in:
https://source.android.com/source/initializing.html
Click to expand...
Click to collapse
did u find the way to solve it..
fix no.. kind of a hack.
edit "main.mk" and remove the lines that check for java version.
infected_ said:
fix no.. kind of a hack.
edit "main.mk" and remove the lines that check for java version.
Click to expand...
Click to collapse
bro but it will not stop that repo sync thingie
infected_ said:
fix no.. kind of a hack.
edit "main.mk" and remove the lines that check for java version.
Click to expand...
Click to collapse
BRO i found the fix just need to do this
Copy and paste the following into the terminal:
Code:
sudo apt-get install openjdk-7-jre openjdk-7-jdk
IF i help plz don't forget to press the thanks
---------- Post added at 11:26 PM ---------- Previous post was at 11:23 PM ----------
sylentprofet said:
If necessary, follow the on-screen instructions to remove any stray Java versions. Otherwise, move on to the next step.
2) Copy and paste the following into the terminal:
Code:
sudo apt-get install openjdk-7-jdk
[/B]
Click to expand...
Click to collapse
i think u change the 2nd to this
Code:
sudo apt-get install openjdk-7-jre openjdk-7-jdk
infected_ said:
same error here. still trying to figure it out. you can remove the lines of code that check for java on main.mk to build, nonetheless.
Click to expand...
Click to collapse
For those of you that want to build Gingerbread thru KitKat (which requires Oracle JDK 1.6) but already have your system configured for Lollipop (JDK 1.7), here's the easiest way to update your system:
First add the PPA for updated Java builds.
Code:
sudo add-apt-repository ppa:webupd8team/java
Then install:
Code:
sudo apt-get update && sudo apt-get install oracle-java6-installer
Once that completes, you simply need to tell Linux to use the older version of Java and Java Compiler to render content.
Run the following two commands separately, making the correct selection for Oracle JDK 1.6 both times when prompted. Again in the terminal:
Code:
sudo update-alternatives --config java
sudo update-alternatives --config javac
That should do the trick! I'll add this to the main thread.
infected_ said:
and BTW, you only need these packages to build on 14.04 and upwards:
Click to expand...
Click to collapse
That may be true for vanilla Google Android, but if you attempt to build for another flavor (ie Cyanogenmod), additional packages are required (image optimizers etc)
This guide is designed to help new users prepare their systems as comprehensively as possible. If you don't know what you're talking about, please don't confuse people with misinformation or poorly crafted "hacks". I've been publishing this guide for 3 years now, ask a question and be patient, try reading Google results for a couple of hours - I'll do everything I can to help out.
garwynn said:
Going to replace 14.04 with this, keep having javac crashes and whatever it is is not isolated to this version.
Update:
mingw32, lib32bz2-1.0, lib32bz2-dev not found.
Click to expand...
Click to collapse
Thanks for the heads up. Don't know how those snuck in there, I think I accidentally copied the string from one of my older guides.
OP updated.
sylentprofet said:
That may be true for vanilla Google Android, but if you attempt to build for another flavor (ie Cyanogenmod), additional packages are required (image optimizers etc)
This guide is designed to help new users prepare their systems as comprehensively as possible. If you don't know what you're talking about, please don't confuse people with misinformation or poorly crafted "hacks". I've been publishing this guide for 3 years now, ask a question and be patient, try reading Google results for a couple of hours - I'll do everything I can to help out.
Click to expand...
Click to collapse
you are a bit full of yourself, no? i was trying to help. and i really dont care you've been doing this for 3y... anyone can google for tutorials and make one. you made even worse, just adapted one from 14.10 or 14.04, which gave you those 3 not found packages. you made the tutorial and forget to test it?
got it to build CM in 15.04 with the packages i mentioned, only lzop was missing.
and if you see another way to build, without the jayatana error, when checking for java version, without hacking main.mk to remove java version check, please be my guest and do so.
meanwhile heres a commit i pushed to temporarily build, until a proper fix gets merged on CM repos.
https://github.com/infected-lp/android_build/commit/eb88ff447df814f8c7a57e807e4b0bb4ede7c7dd
regards!
infected_ said:
you are a bit full of yourself, no? i was trying to help. and i really dont care you've been doing this for 3y... anyone can google for tutorials and make one. you made even worse, just adapted one from 14.10 or 14.04, which gave you those 3 not found packages. you made the tutorial and forget to test it?
Click to expand...
Click to collapse
Not really full of myself, no, I just know what I'm talking about.
Yeah I was a bit lazy and published without testing first, oh well. It's updated now. And I thanked the person that pointed it out.
The point is you weren't helping. Your "hack" will run into an error anytime you attempt to repo sync.
Either way I'm not here to argue about it. Have fun working on your projects!
sylentprofet said:
The point is you weren't helping. Your "hack" will run into an error anytime you attempt to repo sync.
Click to expand...
Click to collapse
lol.. explain that to me like i am a 6y old and been doing this since yesterday...
in which way will a cherry-pick commit on the build repo interfere with syncing? you dont build much, do you?
ill leave it here before you embarass yourself even more
regards.
infected_ said:
lol.. explain that to me like i am a 6y old and been doing this since yesterday...
in which way will a cherry-pick commit on the build repo interfere with syncing? you dont build much, do you?
ill leave it here before you embarass yourself even more
regards.
Click to expand...
Click to collapse
Most people starting to learn Android have no idea how to use git at that level. They would likely edit the file locally on their computer and then start running into problems. But hey what do I know?
*shrug* I'm over it already.
hi i am sorry
java err
cm12.1 buid...
install openjdk7 ..
============================================
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar java version "1.7.0_79" OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu1) OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode).
The required version is: "1.7.x"
Please follow the machine setup instructions at
https://source.android.com/source/initializing.html
************************************************************
java -version ok
[email protected]:~$ java -version
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
[email protected]:~$
java -err
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
??
windows8k said:
java err
Click to expand...
Click to collapse
Hi, can you please try the following two commands separately and reply with copy-paste output?
Code:
sudo update-alternatives --config java
Code:
sudo update-alternatives --config javac
If it prompts you to make a selection, make sure to choose OpenJDK 1.7 both times.
Thanks!
windows8k said:
hi i am sorry
java err
cm12.1 buid...
install openjdk7 ..
============================================
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar java version "1.7.0_79" OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu1) OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode).
The required version is: "1.7.x"
Please follow the machine setup instructions at
https://source.android.com/source/initializing.html
************************************************************
java -version ok
[email protected]:~$ java -version
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
[email protected]:~$
java -err
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
??
Click to expand...
Click to collapse
Hi,
the problem is due to JAVA_TOOL_OPTIONS line, appearing also launching
java -version
in order to avoid it you can uninstall jayatana and reboot the system:
sudo apt-get remove jayatana
[Restart the PC]
sylentprofet said:
Hi, can you please try the following two commands separately and reply with copy-paste output?
Code:
sudo update-alternatives --config java
Code:
sudo update-alternatives --config javac
If it prompts you to make a selection, make sure to choose OpenJDK 1.7 both times.
Thanks!
Click to expand...
Click to collapse
Thanks openjdk7 change sudo apt-get remove jayatana.
---------- Post added at 12:42 PM ---------- Previous post was at 12:42 PM ----------
aapav01 said:
Hi,
the problem is due to JAVA_TOOL_OPTIONS line, appearing also launching
java -version
in order to avoid it you can uninstall jayatana and reboot the system:
sudo apt-get remove jayatana
[Restart the PC]
Click to expand...
Click to collapse
Thanks openjdk7 change sudo apt-get remove jayatana. Reboot
windows8k said:
hi i am sorry
java err
cm12.1 buid...
install openjdk7 ..
============================================
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar java version "1.7.0_79" OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu1) OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode).
The required version is: "1.7.x"
Please follow the machine setup instructions at
https://source.android.com/source/initializing.html
************************************************************
java -version ok
[email protected]:~$ java -version
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
[email protected]:~$
java -err
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
??
Click to expand...
Click to collapse
simply enter the dir /build inside your android build environment and copy & paste this and press enter:
git fetch https://github.com/infected-lp/android_build infected && git cherry-pick eb88ff447df814f8c7a57e807e4b0bb4ede7c7dd
then get back to the root of the build environment, like "cd .." or "croot" in case you've done ". build/envsetup.sh" already.
sylentprofet said:
Hi, can you please try the following two commands separately and reply with copy-paste output?
Code:
sudo update-alternatives --config java
Code:
sudo update-alternatives --config javac
If it prompts you to make a selection, make sure to choose OpenJDK 1.7 both times.
Thanks!
Click to expand...
Click to collapse
wont work, ive tried that.
aapav01 said:
Hi,
the problem is due to JAVA_TOOL_OPTIONS line, appearing also launching
java -version
in order to avoid it you can uninstall jayatana and reboot the system:
sudo apt-get remove jayatana
[Restart the PC]
Click to expand...
Click to collapse
removing jayatana also wont work ... it will still give error on the useragent, and update-alternatives wont help....
solution for now is what i say:
simply enter the dir /build inside your android build environment and copy & paste this and press enter:
git fetch https://github.com/infected-lp/android_build infected && git cherry-pick eb88ff447df814f8c7a57e807e4b0bb4ede7c7dd
then get back to the root of the build environment, like "cd .." or "croot" in case you've done ". build/envsetup.sh" already.
Click to expand...
Click to collapse
regards....
infected_ said:
simply enter the dir /build inside your android build environment and copy & paste this
git fetch https://github.com/infected-lp/android_build infected && git cherry-pick eb88ff447df814f8c7a57e807e4b0bb4ede7c7dd
Click to expand...
Click to collapse
Thank you for the solution! Build started, I hope it will be successful
I was trying to compile CM13 for my device today, it gave me the following error:
Code:
unpackbootimg not found. Is your android build environment set up and have the host tools been built?
I tried doing
Code:
make -j4 otatools
but it didn't solve the problem.
Also, it shows:
Code:
"ebtables is disabled on this build"
find: ‘dummy’: No such file or directory
How can I fix all these errors?
PS: I'm a noob at compiling.
What jdk version did you install?You didn't prepare build environment properly.
Røbin said:
What jdk version did you install?You didn't prepare build environment properly.
Click to expand...
Click to collapse
OpenJDK 7. How to make build environment properly then?
NutVolt said:
OpenJDK 7. How to make build environment properly then?
Click to expand...
Click to collapse
http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763Go to this link and follow the guide. There you'll get help also
This post is mainly to communicate the packages required to get Fedora 25 ready to build android/AOSP. I don't intend to cover the Installation of Fedora, or the actual steps to generate the build (manifests, proprietary code, etc).
From a clean installation of Fedora 25:
Update the installation
Code:
dnf update
Install additional packages that we need to compile AOSP
(adapted from the Omni guide for F-19_64)
Code:
dnf -y install zip curl gcc gcc-c++ flex bison gperf glibc-devel.{x86_64,i686} zlib-devel.{x86_64,i686} ncurses-devel.i686 libX11-devel.i686 libstdc++.i686 readline-devel.i686 libXrender.i686 libXrandr.i686 perl-Digest-MD5-File python-markdown mesa-libGL-devel.i686 git schedtool pngcrush ncurses-compat-libs java-1.8.0-openjdk-devel xz-lzma-compat
Now let's grab some stuff from Google
Code:
mkdir -p ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
Add to end of ~/.bashrc
Code:
export PATH=~/bin:$PATH
Configure git to identify you
Code:
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
At this point, the environment is ready to compile AOSP.
The remaining steps (getting & building the code, generating local manifest(s), looking up errors) are not distribution dependent, and are already posted in many places.
Create vendor directory, initialize repo , and download/sync the code (see vendor manifest page).
example:
Code:
mkdir -p ~/android/slim7
cd ~/android/slim7
repo init -u git://github.com/SlimRoms/platform_manifest.git -b ng7.1
repo sync -j#
Happy building,
-Cyril279
Super helpful guide. Thank you. I also ran the following to make sure I had all the stuff I needed.
Code:
sudo dnf groupinstall 'C Development Tools and Libraries'
Does LineageOS require extra packages? I am pretty sure it requires ImageMagick too.
cyril279 said:
This post is mainly to communicate the packages required to get Fedora 25 ready to build android/AOSP. I don't intend to cover the Installation of Fedora, or the actual steps to generate the build (manifests, proprietary code, etc).
-Cyril279
Click to expand...
Click to collapse
You created Android with Fedora?
FEDORA 30 Lineage 15.0
Code:
bash-5.0# java -version
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
Code:
ninja: no work to do.
[2/3] glob vendor/*/*/Android.bp
[1/1] /home/U-16/WORKING_DIRECTORY/out...ORKING_DIRECTORY/out/soong/build.ninja
18:43:57 *******************************************************
18:43:57 You are attempting to build with an unsupported JDK.
18:43:57
18:43:57 Only an OpenJDK based JDK is supported.
18:43:57
18:43:57 Please follow the machine setup instructions at:
18:43:57 https://source.android.com/source/initializing.html
18:43:57 *******************************************************
18:43:57 stop
make: *** [build/core/main.mk:21: run_soong_ui] error 1
bash-5.0#
taras-fedora-syn said:
You created Android with Fedora?
Click to expand...
Click to collapse
Yes. Let the errors be your guide.
cyril279 said:
errors
Click to expand...
Click to collapse
Hi! Compiling AOSP 7.1.2 for Sharp Z2 MT6797
eMachines eME642 AMD® Athlon(tm) ii p340 dual-core processor × 2
Fedora 34
Is my processor too weak?
Notice file: prebuilts/tools/common/netbeans-visual/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//framework/org-openide-util.jar.txt
make: *** No rule to make target 'out/host/linux-x86/obj32/lib/libbcinfo.so', needed by 'out/host/linux-x86/obj32/lib/libbcc.so'. Stop.
LOG https://gist.githubusercontent.com/...9b1ad4b81a9de6124470aef15e89bca/gistfile1.txt
Hi! I ported the device tree and vendor files of the Infinix Hot 2, but I kept them named like that, instead of saying BLU Energy X 2. Anyways. I run lunch, and choose my userdebug build. Then, I run make -j8. I just got this errror, which I will attach in a screenshot.
You asked for an OpenJDK7 build but your version is: Java version 1.7.0_80 Java SE Runtime Environment (build 1.7.0_80-b15) Java Hotspot 64-bit Server VM (build 24.80-b11, mixed mode)
Build/core/main.mk:198: *** stop. Stop.
#### make failed to build some targets (2 seconds) ####
How can I fix this error?
OK, so I fixed it, but now I get an error about " No rule to make target 'device/Infinix/d5110_infinix/audio/audio.cpp', needed by '.../out/target/product/d5110_infinix/obj/SHARED_LIBRARIES/audio.primary.mt6580_intermediates/audio.o"
How to fix this? Thanks
how do you fix this plzz tell
Hi everyone!
Thanks to the help from FSadino's thread, (https://forum.xda-developers.com/chef-central/android/how-to-build-lineageos-14-1-t3551484), I have managed to compile LineageOS Oreo for my Samsung S5. Once I successfully compiled Oreo, I decided to try building Android Pie. I made a new build directory, synced and tried to start my build, however, when I try to start jack-server, I get the following message:
[email protected]:~/work/pie$ export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx6g"
[email protected]:~/work/pie$ ./prebuilts/sdk/tools/jack-admin start-server
Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx6g -cp /home/zog/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
Jack server failed to (re)start, try 'jack-diagnose' or see Jack server log
[email protected]:~/work/pie$ ./prebuilts/sdk/tools/jack-diagnose
/home/zog/work/pie/prebuilts/jdk/jdk9/linux-x86/bin/java': Failed to parse version, please ensure you're running a supported java
[email protected]:~/work/pie$ java -version
openjdk version "9"
OpenJDK Runtime Environment (build 9+181-android4627429)
OpenJDK 64-Bit Server VM (build 9+181-android4627429, mixed mode)
I've tried install Oracle Java 8, but that didn't work.
Does anyone have any suggestions what I'm doing wrong?
Thanks!
zog