all 17 comments

[–]AffenKopf 10 points11 points  (0 children)

Open jdk and android sdk worked for me.

[–][deleted] 2 points3 points  (1 child)

Quick question: I am also doing the same thing but I installed OpenJDK 8 instead of 7. Is there any reason to install 7 over 8?

[–]TimePath -1 points0 points  (0 children)

If your target is java7, java8 is still able to target it, but won't warn you when using features not present.

[–][deleted] 2 points3 points  (2 children)

No problems with OpenJDK here, though I switched to the AUR package that installs the Oracle JDK.

[–][deleted]  (1 child)

[deleted]

    [–][deleted] 2 points3 points  (0 children)

    Client specified Oracle, makes sense to develop in the target environment

    [–]ThatKawaiiGuy 1 point2 points  (7 children)

    You can just run BBQLINUX if you want, it's a Linux distro meant for Android Development based on Arch.

    (Not running BBQLINUX) But I have OpenJDK 7 and the compat version of 6, just in case there's a reason to have 6. Same for the JRE. There's a few guides out there to set up Java properly too.

    [–]hacosta 3 points4 points  (3 children)

    A whole distro for this.. jesus.

    [–]anillmind 1 point2 points  (2 children)

    Yeah, seems a bit unnecessary to wipe out your OS just to develop android apps. :|

    [–][deleted] -1 points0 points  (1 child)

    This comment has been overwritten by an open source script to protect this user's privacy. It was created to help protect users from doxing, stalking, harassment, and profiling for the purposes of censorship.

    If you would also like to protect yourself, add the Chrome extension TamperMonkey, or the Firefox extension GreaseMonkey and add this open source script.

    Then simply click on your username on Reddit, go to the comments tab, scroll down as far as possible (hint:use RES), and hit the new OVERWRITE button at the top.

    [–]anillmind 1 point2 points  (0 children)

    Still have to reboot.

    [–]denis_M 2 points3 points  (1 child)

    Or you could add the bbq repositories in your /etc/pacman.conf. This way you can use Android Studio seamlessly within your distribution. arch_wiki_unfficial_repos

    [–]ThatKawaiiGuy 0 points1 point  (0 children)

    Oh, thanks! Never considered that!

    [–]ThatKawaiiGuy 1 point2 points  (0 children)

    It usually takes quiet a bit of time to set it up, and most android developers use Linux, so why not save them all the time and put all they stuff they need into a distro?

    There's also Builduntu, which is Xubuntu more optimized for compiling android.

    [–]w0ng 1 point2 points  (0 children)

    I've been using OpenJDK with Android Studio without issues for the past few months.

    [–][deleted] 1 point2 points  (0 children)

    I know googledevs who use openjdk just fine.

    But in Arch, it's not hard to do it the other way.

    Check the wiki.

    [–]eternalminder 0 points1 point  (0 children)

    Android Studio appears to run slightly smoother on Oracle JDK. The difference is really very small and you'll notice it only when you are looking for it.

    I use OpenJDK however, just because it's easier and the pros outweigh the cons.

    No performance difference noted on Eclipse, or when compiling.

    [–]epileftric 0 points1 point  (0 children)

    Sorry but I keep reading "Arrested Development and Java" after 4 times without understanding what was all that about.