No, as the android documentation claims, Oracle JDK is required. I got a null pointer exception when rendering when starting a simple build of an empty project with openJDK. This error probably came from the IDE, not the build of the APK file.
After starting the studio with Oracle JDK, all this worked correctly, without changing the code.
Actually, this gets complicated because I have both versions on my system. The Oracle JDK is used to run the studio.sh file, but inside the studio I still have the OpenJDK specified in the "Project Structure> JDK" section:
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-4.b15.fc23.x86_64
I will report if this hybrid situation failed.
source share