JuliaEditorSupport / JuliaDT

Julia Development Toolkit for Eclipse
Other
28 stars 7 forks source link

Unable to build Eclipse plugin using JDK 1.7 #1

Closed bmharsha closed 8 years ago

bmharsha commented 8 years ago

We are encountering following error when we try to build Julia Eclipse plugin using Java Development Kit 1.7 , @mdpradeep was able to build it using JDK 1.8 , this issue occurs only with JDK 1.7

[INFO] Compiling 22 source files to /Users/pradeep/JuliaDT/JuliaDT/plugins/com.juliacomputing.jldt.eclipse.ui.editor/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] julia.eclipse.parent ............................... SUCCESS [  0.118 s]
[INFO] com.juliacomputing.jldt.kernel.api ................. SUCCESS [  1.393 s]
[INFO] com.juliacomputing.jldt.kernel ..................... SUCCESS [  1.938 s]
[INFO] com.juliacomputing.jldt.eclipse.core ............... SUCCESS [  1.212 s]
[INFO] com.juliacomputing.jldt.eclipse.launch ............. SUCCESS [  0.265 s]
[INFO] com.juliacomputing.jldt.eclipse.ui.formatter ....... SUCCESS [  0.701 s]
[INFO] com.juliacomputing.jldt.eclipse.ui.editor .......... FAILURE [  0.554 s]
[INFO] com.juliacomputing.jldt.eclipse.ui ................. SKIPPED
[INFO] com.juliacomputing.jldt.eclipse.ui.launch .......... SKIPPED
[INFO] com.juliacomputing.jldt.eclipse.parser ............. SKIPPED
[INFO] PlotViewer ......................................... SKIPPED
[INFO] com.juliacomputing.jldt.eclipse .................... SKIPPED
[INFO] com.juliacomputing.jldt.eclipse.repository ......... SKIPPED
[INFO] jldt.eclipse ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 40.467 s
[INFO] Finished at: 2016-01-27T15:16:20+05:30
[INFO] Final Memory: 109M/760M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.24.0:compile (default-compile) on project com.juliacomputing.jldt.eclipse.ui.editor: Compilation failure: Compilation failure:
[ERROR] /Users/pradeep/JuliaDT/JuliaDT/plugins/com.juliacomputing.jldt.eclipse.ui.editor/src/main/java/com/juliacomputing/jldt/eclipse/ui/editor/JuliaSourceViewerConfiguration.java:[1]
[ERROR] package com.juliacomputing.jldt.eclipse.ui.editor;
[ERROR] ^
[ERROR] The type java.lang.invoke.LambdaMetafactory cannot be resolved. It is indirectly referenced from required .class files
[ERROR] 1 problem (1 error)
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :com.juliacomputing.jldt.eclipse.ui.editor
Pradeeps-MacBook-Pro: ~/JuliaDT/JuliaDT ## 
aviks commented 8 years ago

JuliaDT is currently written to target JDK 1.8. It will need some work to support 1.7

snefru commented 8 years ago

resolved (e0e01d2e0a97f983cd1f1947dd67b7ac892590da)

aviks commented 8 years ago

:clap: