Skip to content
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

Build failed: Source option 6 is no longer supported. Use 7 or later. #5

Open
mbucc opened this issue Jan 2, 2023 · 0 comments
Open

Comments

@mbucc
Copy link

mbucc commented Jan 2, 2023

% ant      
Buildfile: /Users/markbucciarelli/src/github/jBCrypt/build.xml

init:

build:
    [javac] build.xml:20: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 1 source file to /Users/markbucciarelli/src/github/jBCrypt/build
    [javac] 
    [javac]           WARNING
    [javac] 
    [javac] The -source switch defaults to 9 in JDK 9.
    [javac] If you specify -target 1.6 you now must also specify -source 1.6.
    [javac] Ant will implicitly add -source 1.6 for you.  Please change your build file.
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 6
    [javac] error: Source option 6 is no longer supported. Use 7 or later.
    [javac] error: Target option 6 is no longer supported. Use 7 or later.

BUILD FAILED
build.xml:20: Compile failed; see the compiler error output for details.

Total time: 0 seconds

% ant -version
Apache Ant(TM) version 1.10.12 compiled on October 13 2021

% java -version
java version "17.0.5" 2022-10-18 LTS
Java(TM) SE Runtime Environment (build 17.0.5+9-LTS-191)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.5+9-LTS-191, mixed mode, sharing)

% 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant