tripathiankush
Posts: 2
Joined: Sat Mar 30, 2019 5:38 am
Contact: Website

Android development

Mon Apr 01, 2019 6:33 am

How to install the Java JDK on Raspberry Pi? :roll:

fruitoftheloom
Posts: 19795
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Android development

Mon Apr 01, 2019 9:44 am

tripathiankush wrote:
Mon Apr 01, 2019 6:33 am
How to install the Java JDK on Raspberry Pi? :roll:


Raspbian Stretch

Code: Select all

sudo apt update
sudo apt install android-sdk openjdk-8-jdk
Last edited by fruitoftheloom on Mon Apr 01, 2019 10:35 am, edited 3 times in total.
adieu

My other Computer is an Asus CS10 ChromeBit running Chrome Operating System.
HP Envy 4500 Wireless Printer supported by HPLIP software in Raspbian Buster.
Raspberry Pi Model 2B v1.1

User avatar
HawaiianPi
Posts: 4237
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Android development

Mon Apr 01, 2019 10:23 am

If you prefer Oracle Java, see my reply to another thread here: viewtopic.php?f=81&t=228240#p1400092
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

Heater
Posts: 12657
Joined: Tue Jul 17, 2012 3:02 pm

Re: Android development

Mon Apr 01, 2019 10:23 am

The Java JDK comes included with Android Studio. No need for a separate JDK install. I presume you will need Android Studio for Android development anyway.

User avatar
Imperf3kt
Posts: 2404
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: Android development

Mon Apr 01, 2019 7:08 pm

Heater wrote:
Mon Apr 01, 2019 10:23 am
The Java JDK comes included with Android Studio. No need for a separate JDK install. I presume you will need Android Studio for Android development anyway.
Not necessarily. There are multiple compilers out there that can convert other languages (such as Python) into Android code.
Google is ubiquitous - Try it today, it's free!
https://opensource.com/life/16/10/how-ask-technical-questions

Heater
Posts: 12657
Joined: Tue Jul 17, 2012 3:02 pm

Re: Android development

Tue Apr 02, 2019 4:10 am

Imperf3kt,

Ah, interesting.

tripathiankush
Posts: 2
Joined: Sat Mar 30, 2019 5:38 am
Contact: Website

Re: Android development

Tue Apr 02, 2019 5:04 am

Thanks for valuable reply. Helpful :)

User avatar
Gavinmc42
Posts: 3165
Joined: Wed Aug 28, 2013 3:31 am

Re: Android development

Tue Apr 02, 2019 8:21 am

Processing still does Android?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Return to “Android”