You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
plugins {
id "org.frege-lang" version "0.8"
}
apply plugin: "java"
dependencies {
compile "org.frege-lang:frege:3.22.367-g2737683"
compile "org.frege-lang:fregefx:0.3.1"
}
I get compile errors like this:
E <PATH>/examples/fregefx/src/main/frege/example/fregefx/HelloFrege.fr:7: cannot import fregefx.JavaFxUtils
compiled for target 1.7 (without lambda support)
when the current target 1.8 has lambda support
Try to use compiler option -target 1.7
example.fregefx.HelloFrege: build failed because of compilation errors.
While the error somehow points out what's wrong, I had a hard time finding out how to solve this issue. It seems that there are other users too that have the same error, see Frege/frege#275.
To lower the hurdle for new users it would be super if this would be documented in the README file.
The text was updated successfully, but these errors were encountered:
manuel-mauky
changed the title
Document how to use latest frege version with java 8 project
Document how to fix "compiled for target 1.7" error
Sep 29, 2016
When running a small build script like this:
I get compile errors like this:
While the error somehow points out what's wrong, I had a hard time finding out how to solve this issue. It seems that there are other users too that have the same error, see Frege/frege#275.
To fix this I've changed my build file like this:
To lower the hurdle for new users it would be super if this would be documented in the README file.
The text was updated successfully, but these errors were encountered: