Or if you're using the build script:

bin/mkdistro.sh -DskipTests -DjavaVersion=1.7



On Thu, Jul 31, 2014 at 11:02 AM, Robert Kanter <[email protected]>
wrote:

> You should be able to build with Java 7 by just doing:
>
> mvn <maven commands go here> -DjavaVersion=1.7
>
> This will still target Java 6, but you can use JDK 7 to compile.
>
>
>
> On Thu, Jul 31, 2014 at 9:30 AM, Mona Chitnis <
> [email protected]> wrote:
>
>> I think we should look into removing that restriction and ability to build
>> against Java 7 or 8. Timeline of this is TBD
>>
>> On 7/30/14, 11:33 PM, "Shwetha GS" <[email protected]> wrote:
>>
>> >Initially encounter java version is not with in range and modified
>> pom.xml
>> >file located in oozie main folder then
>> >encounter following errors while installing oozie client.Please help on
>> >resolution.
>> >
>> >You need Java 1.6 to build oozie. Modifying pom.xml to remove the check
>> is
>> >not an option
>> >
>> >
>> >On Thu, Jul 31, 2014 at 3:02 AM, hima bindu <[email protected]>
>> >wrote:
>> >
>> >> Dear Team,
>> >>
>> >> I have looked into several portals for instructions to build oozie but
>> >> ended up with following error. Please refer following steps that
>> >>followed
>> >> by me after downloading ozzie 4.0.1 software from apace mirrors.
>> >>
>> >> Step 1 : Downloaded oozie-4.0.1 version from apache mirrors
>> >> Step 2 : Extracted to work folder
>> >> Step 3 : cd to extracted folder
>> >> Step 4 : Installed sudo apt-get install maven
>> >> Step 5 : Executed bin/mkdistro.sh -DskipTests
>> >>
>> >> mvn version showed latest version of maven.
>> >>
>> >> hadoop 1.2.1
>> >> Ubuntu 12.04
>> >> Java 1.8
>> >>
>> >> Please let me know if I have missed anything before running
>> distribution
>> >> and attached file has full list of errors.
>> >>
>> >> --
>> >>
>> >> *Warm RegardsB.Hima Bindu*
>> >>
>> >
>> >--
>> >_____________________________________________________________
>> >The information contained in this communication is intended solely for
>> >the
>> >use of the individual or entity to whom it is addressed and others
>> >authorized to receive it. It may contain confidential or legally
>> >privileged
>> >information. If you are not the intended recipient you are hereby
>> >notified
>> >that any disclosure, copying, distribution or taking any action in
>> >reliance
>> >on the contents of this information is strictly prohibited and may be
>> >unlawful. If you have received this communication in error, please notify
>> >us immediately by responding to this email and then delete it from your
>> >system. The firm is neither liable for the proper and complete
>> >transmission
>> >of the information contained in this communication nor for any delay in
>> >its
>> >receipt.
>>
>>
>

Reply via email to