Looks like royale-asjs/build.xml specifies 1.5. That's probably an accidental copy from Flex.
That said, I'm not sure that flex-compiler-oem will work with Flash Builder if the target is not 1.6. If that's true, we'll need some way to not build that jar on Java 12. -Alex On 5/14/19, 11:49 PM, "Harbs" <[email protected]> wrote: Progress. I was building using `ant all` on asjs. When I build using `ant` on royale-compiler, I got a bunch of errors: [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. Changing all the javac.src properties to 1.7 made the compilation complete. I switched back to royale-asjs and ran `ant all` again and I get this: compile: [javac] Compiling 3 source files to C:\Apache\royale-compiler\compiler\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. BUILD FAILED C:\Apache\royale-asjs\build.xml:1948: The following error occurred while executing this line: C:\Apache\royale-asjs\build.xml:2035: The following error occurred while executing this line: C:\Apache\royale-compiler\build.xml:68: The following error occurred while executing this line: C:\Apache\royale-compiler\compiler\build.xml:486: Compile failed; see the compiler error output for details. > On May 14, 2019, at 7:06 PM, Alex Harui <[email protected]> wrote: > > 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 >> > > >
