Random build fail

30 views
Skip to first unread message

Maximilian Marggraf

unread,
Sep 8, 2018, 6:16:38 PM9/8/18
to App Inventor Open Source Development

hi i get this error while i try to compile a extenstion::


Buildfile: C:\ai2\appinventor-sources-master\appinventor\build.xml

extensions:

clean:

init:

common_CommonUtils:

init:

CommonUtils:

common_CommonVersion:

init:

CommonVersion:
     [exec] Result: 128
    [javac] Compiling 3 source files to C:\ai2\appinventor-sources-master\appinventor\common\build\classes\CommonVersion
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 5
    [javac] error: Source option 5 is no longer supported. Use 6 or later.
    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

BUILD FAILED
C:\ai2\appinventor-sources-master\appinventor\build.xml:35: The following error occurred while executing this line:
C:\ai2\appinventor-sources-master\appinventor\build-common.xml:360: The following error occurred while executing this lin                                                 e:
C:\ai2\appinventor-sources-master\appinventor\common\build.xml:136: The following error occurred while executing this lin                                                 e:
C:\ai2\appinventor-sources-master\appinventor\build-common.xml:125: Compile failed; see the compiler error output for det                                                 ails.

Total time: 1 second





it says error occurred i line but it didnt says wich line



somebody can help me ?

Evan W. Patton

unread,
Sep 8, 2018, 6:37:48 PM9/8/18
to app-inventor-o...@googlegroups.com
You need JDK 7 or 8 to compile from source.

Regards,
Evan
--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-so...@googlegroups.com.
To post to this group, send email to app-inventor-o...@googlegroups.com.
Visit this group at https://groups.google.com/group/app-inventor-open-source-dev.
For more options, visit https://groups.google.com/d/optout.

Maximilian Marggraf

unread,
Sep 8, 2018, 6:41:49 PM9/8/18
to App Inventor Open Source Development
i have jdk 10.0.2

Evan Patton

unread,
Sep 10, 2018, 7:50:30 PM9/10/18
to App Inventor Open Source Development
You may want to try merging pull request 988, which updates the components library to compile targeting JDK 1.7. It should fix your problem.

Regards,
Evan

On Saturday, September 8, 2018 at 6:41:49 PM UTC-4, Maximilian Marggraf wrote:
i have jdk 10.0.2
Reply all
Reply to author
Forward
0 new messages