-
Notifications
You must be signed in to change notification settings - Fork 222
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
Issue building TFM #2147
Comments
What branch are you trying to build? |
The branch i'm using is TFM1.12-Alpha |
Have you made any changes to the code? |
No. All I did was clone TFM and add the lib folder. No errors appear after compiling, but the error above for some reason keeps showing and failing to build when I build the plugin. |
What version of Java are you building with? We recommend at least JDK 1.7 |
@poppy44 The alpha branch contains fully automated maven building. Try running a clean & build instead of just a build, if not re-clone it and DO NOT add the lib folder this time, just launch the project and compile it with maven. |
I'm using JDK version 1.7.0_80 |
oh Wild I forgot to mention. When I was building it, I was selecting clean and build the whole time. |
@Wild1145 how do I compile it with maven? when I cloned TFM from git, it also came with the lib folder. |
I see the issue. Whilst TotalFreedomMod should be compiled with JDK 1.7 (as indicated in pom.xml), it actually uses JDK 8 functionality (namely |
It works now, seems the older version of JDK I used was causing it to fail at building. Thanks for the help. :) |
I get these errors when I try to build TFM. Any solutions to resolve this issue?
COMPILATION ERROR :
me/totalfreedom/totalfreedommod/admin/AdminList.java:[53,9] cannot access java.util.function.Function
class file for java.util.function.Function not found
me/totalfreedom/totalfreedommod/admin/AdminList.java:[54,13] method does not override or implement a method from a supertype
2 errors
BUILD FAILURE
Total time: 18.518s
Finished at: Mon Jan 08 18:16:12 GMT 2018
Final Memory: 21M/238M
The text was updated successfully, but these errors were encountered: