Compiling 3.0.1 for Java 6
See original GitHub issueExcuse my ignorance I’m not well versed in the Java ecosystem. I’ve attempted to follow the instructions to build core and javase using, for example,
mvn -DskipTests packages
but I get the error:
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.879 s
[INFO] Finished at: 2014-05-12T18:48:40-08:00
[INFO] Final Memory: 11M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (attach-javadocs) on project core: MavenReportException: Error while creating archive:
[ERROR] Exit code: 1 - /Users/aeden/projects/zxing/zxing-zxing-3.0.0/core/src/main/java/com/google/zxing/aztec/AztecReader.java:78: <identifier> expected
[ERROR] } catch (NotFoundException | FormatException e) {
[ERROR] ^
[ERROR] /Users/aeden/projects/zxing/zxing-zxing-3.0.0/core/src/main/java/com/google/zxing/aztec/AztecReader.java:78: '{' expected
[ERROR] } catch (NotFoundException | FormatException e) {
[ERROR] ^
Advice?
Issue Analytics
- State:
- Created 9 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
How can I compile programs in Java 6 rather than Java 7 or 8?
Eclipse uses its own java compiler. In the Eclipse IDE, go to Window > Preferences > Java > Compiler , and change the...
Read more >Java Archive Downloads - Java SE 1.3 - Oracle
Java SE 1.3 Downloads. Go to the Oracle Java Archive page. Thank you for downloading this release of the JavaTM Platform, Standard Edition...
Read more >BlueJ Version History
Minor bug fixes since last release. This will be the last version of BlueJ which will work with Java 6. List of fixes...
Read more >Maven Releases History
Release Date, Version, Required Java Version, Links. 2022-06-06, 3.8.6, Java 7, announce, release notes, reference documentation.
Read more >Native Support in Spring Boot 3.0.0-M5
It also means that we only feed regular compiled Java to native-image ... Spring Framework 6 ships with a new API that lets...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We faced the same problem some weeks ago and back-ported some modules of version 3.2.0. (https://github.com/Solvoj/zxing/tree/master-Java6). Back-ported version of “core” and “javase” are currently in maven central. Group ID: “com.solvoj.zxing-java6” . Artifact Ids “core-java6” and “javase-java6” respectively.
@tboemker Please take a look at https://github.com/thotypous/zxing/tree/zxing-2.3.0-java6 and https://github.com/thotypous/zxing/releases/tag/zxing-2.3.0-java6. I hope this is useful for you.