Skip to content

Error when building from source #631

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nicjohnston opened this issue Jul 29, 2015 · 1 comment
Closed

Error when building from source #631

nicjohnston opened this issue Jul 29, 2015 · 1 comment

Comments

@nicjohnston
Copy link

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

@igrr
Copy link
Member

igrr commented Jul 29, 2015

You need to install JDK 8, apparently you have Java 7:

javac: invalid target release: 1.8

On Wed, Jul 29, 2015, 22:35 nicjohnston [email protected] wrote:

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
[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


Reply to this email directly or view it on GitHub
#631.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants