Skip to content

Error when building from source #631

@nicjohnston

Description

@nicjohnston

I just cloned this repository and when I went to build it using the instructions from the readme, the following error was produced:

~/ESP8266_2/Arduino/build$ ant dist
Buildfile: /home/****/ESP8266_2/Arduino/build/build.xml

revision-check:
     [echo] Latest revision detected in shared/revision.txt is: 1.6.6
     [echo]                      Revision in BaseNoGui.java is: 1.6.6

dist:
    [input] Enter version number: [1.6.6]
1.6.6

build:

revision-check:
     [echo] Latest revision detected in shared/revision.txt is: 1.6.6
     [echo]                      Revision in BaseNoGui.java is: 1.6.6

linux-checkos:

subprojects-build:

compile:
    [javac] Compiling 118 source files to /home/****/ESP8266_2/Arduino/arduino-core/bin
    [javac] javac: invalid target release: 1.8
    [javac] Usage: javac <options> <source files>
    [javac] use -help for a list of possible options

BUILD FAILED
/home/****/ESP8266_2/Arduino/build/build.xml:97: The following error occurred while executing this line:
/home/****/ESP8266_2/Arduino/build/build.xml:83: The following error occurred while executing this line:
/home/****/ESP8266_2/Arduino/build/build.xml:119: The following error occurred while executing this line:
/home/****/ESP8266_2/Arduino/arduino-core/build.xml:41: Compile failed; see the compiler error output for details.

Total time: 4 seconds

I tried the ant dist command with version numbers 1.6.5 and 1.6.4 and got the same result.
There is probably a simple solution, but I am missing it.
Thanks,
Nicholas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions