-
Notifications
You must be signed in to change notification settings - Fork 35
Source option 6 is no longer supported. Use 7 or later #22
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
Comments
Yeah, I'm receiving the same error when running webfont-generator v1.3.2 |
Ah, software rot. It sounds like newer versions of javac are dropping support the version of Java that sfntly was written in. What version of Java are you using? |
Thanks for getting back to me, I managed to find another solution to my problem, but FTR:
|
What was the solution you found? I'm running into the same thing and there are no answers here. |
Nothing that helpful for others I'm afraid, I was just looking to locally test out a font on a web site, so I just used the |
FWIW I was able to get it to work by simply changing the compiler version in the POM.XML for sfntly
Changed: To: Reran setup and the compile section of the script was able to compile sfntly Additionally I guess if you wanted to hack in a solution you could drop in a new function for setup to do something like this after
|
Hi, does anybody knows why the version of sfntly and woff are fixed to a commit: SFNTLY_COMMIT='0e3a4a3c8e1623749a7d90cbfa5d431ac15c44ef' I just builded it with openjdk 17 and the latest github versions of sfntly and woff. Build was sucessful and it looks like its working as expected. So I don't know why I should patch an old version of sfntly instead Cheers |
It's just to make it future-proof, as those versions are known to work correctly. Is there a reason you need to use the newer versions? |
I just needed it to compile with openjdk 17 on debian bookworm. And I just asked me the question why I should patch the old version Now I understand your point of view. |
[INFO] Compiling 220 source files to /Applications/webfont-generator-master/vendor/sfntly/java/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:00 min
[INFO] Finished at: 2022-02-04T11:22:44+11:00
The text was updated successfully, but these errors were encountered: