I just switched to compiler-build-tools, ran "ant clean" then "ant".  The 
console said 
"warning: [options] bootstrap class path not set in conjunction with -source 
1.6"

What do you get?  Maybe the main build.xml sets something but I didn't see it.  
Swfutils sets 1.5.  That can probably be changed, but I thought swfutils ran 
after compiler-build-tools.  Maybe you have an environment variable or 
local.properties or env.properties.

-Alex

On 5/14/19, 8:44 AM, "Harbs" <[email protected]> wrote:

    Most of the build files were set to 1.6. There was one set to 1.5 (I don’t 
remember off-hand which one.
    
    Changing all of them did not help.
    
    I have no idea where this is being picked up from. Is it possible Maven 
artifacts are coming into play?
    
    > On May 14, 2019, at 6:29 PM, Alex Harui <[email protected]> wrote:
    > 
    > I can't figure out why your build is trying to use 1.5.  My build.xml for 
compiler-build-tools is using 1.6.
    > 
    > -Alex
    > 
    > On 5/14/19, 3:46 AM, "Harbs" <[email protected]> wrote:
    > 
    >    I’m setting up a new Windows machine and I installed Java 12. I can’t 
get Royale to compile. I keep getting this error:
    > 
    >    annotate.class:
    >       [javac] Compiling 1 source file to 
C:\Apache\royale-compiler\compiler-build-tools\target\classes
    >       [javac] warning: [options] bootstrap class path not set in 
conjunction with -source 5
    >       [javac] error: Source option 5 is no longer supported. Use 7 or 
later.
    >       [javac] error: Target option 5 is no longer supported. Use 7 or 
later.
    > 
    >    I tried changing javac.src=1.7 instead of 1.5 in the build.xml files, 
but it had no effect.
    > 
    >    Any suggestions (other than trying to figure out how to download an 
older version of Java)?
    > 
    >    Harbs
    > 
    
    

Reply via email to