← Back to team overview

ubuntu-phone team mailing list archive

Re: [Ubuntu Phone] Build from source

 

No, the reason is, that the version of Java is checked and when it is not 6 it won't start building. In CyanogenMod this is already fixed with the patch [1], but it hasen't been imorted to the phablet branch of ubuntu yet, so you'll have to apply it manually or wait, until someone commits it.

[1]: https://github.com/CyanogenMod/android_build/commit/eded3983484229204f84b484409e7c1fec0a3ab2

Am 01.06.2013 08:02, schrieb Gianguido Sorà:

Because you're building a part of android, and it require jdk 1.6.

Il giorno 01/giu/2013 02:40, "Mark Guthrie" <mguthriejr@xxxxxxxxx <mailto:mguthriejr@xxxxxxxxx>> ha scritto:

    So it didn't work with the newest Oracle JDK either. I uninstalled
    jdk 7 and installed jdk 6 and it worked. Is there a reason why its
    building off of 1.6 and not 1.7?


    On Fri, May 31, 2013 at 5:13 PM, Mark Guthrie
    <mguthriejr@xxxxxxxxx <mailto:mguthriejr@xxxxxxxxx>> wrote:

        So installing the oracle jdk version didn't fix it. I am going
        to look into the patch



        On Fri, May 31, 2013 at 3:04 PM, Gianguido Sorà
        <gianguidorama@xxxxxxxxx <mailto:gianguidorama@xxxxxxxxx>> wrote:

            I did this way (ie not using any patch) and all went well


            2013/5/31 Mark Guthrie <mguthriejr@xxxxxxxxx
            <mailto:mguthriejr@xxxxxxxxx>>

                I am using openjdk. So I have to install the oracle
                Jdk to proceed?

                On May 31, 2013 2:53 PM, "Gianguido Sorà"
                <gianguidorama@xxxxxxxxx
                <mailto:gianguidorama@xxxxxxxxx>> wrote:

                    Are you using openjdk?


                    2013/5/31 Mark Guthrie <mguthriejr@xxxxxxxxx
                    <mailto:mguthriejr@xxxxxxxxx>>

                        I was trying to build this a few seconds ago
                        and it is telling me my javac version is
                        incorrect as I have 1.7.0_21 installed and it
                        is looking for 1.6. Is there a flag somewhere
                        that I can change for this to build or do I
                        need to downgrade my javac version?


                        --
                        Mailing list:
                        https://launchpad.net/~ubuntu-phone
                        <https://launchpad.net/%7Eubuntu-phone>
                        Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
                        <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
                        Unsubscribe :
                        https://launchpad.net/~ubuntu-phone
                        <https://launchpad.net/%7Eubuntu-phone>
                        More help   : https://help.launchpad.net/ListHelp






-- Mark Guthrie
        SMU '10
        Cell Phone - (469) 893-0210




-- Mark Guthrie
    SMU '10
    Cell Phone - (469) 893-0210





--
Daniel Winzen
d@xxxxxxxxxx
My Websites:
https://launchpad.net/~q-d
http://manual.audacityteam.org/man/User:Daniel
http://l10n.gnome.org/users/DanWin/
https://www.transifex.com/accounts/profile/DanWin/
https://github.com/DanWin
http://forum.xda-developers.com/member.php?u=5197875
https://crowdin.net/profile/DanWin


Follow ups

References