I don't know whether Josh's plugin was tested with Java 9, so better use 8.
2018-02-14 22:03 GMT+01:00 Piotr Zarzycki <piotrzarzyck...@gmail.com>: > Hi Frederic, > > First of all if you use JS only Royale you won't have to download > anything. The second thing is that there is no anymore targets JSFlex. [1] > - My config looks like that. > > [1] https://paste.apache.org/CT5h > > 2018-02-14 21:54 GMT+01:00 Fréderic Cox <coxfrede...@gmail.com>: > >> Gave it another try tonight but giving up as this is taking too much >> time. Please help me in getting Apache Royale to work with VSCode. >> >> I'm getting a lot of errors and don"t know how to fix them. >> >> I needed to download playerglobal myself and place it in >> frameworks/libs/player/11.1 >> >> I installed JDK1.9 in /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk >> Workspace settings are: >> { >> "nextgenas.sdk.searchPaths": [ >> "/Users/frederic/ApacheRoyale/apache-royale-0.9.1-bin-js-swf" >> ], >> "nextgenas.java": "/Library/Java/JavaVirtualMach >> ines/jdk-9.0.4.jdk/Contents/Home/bin/java", >> "nextgenas.sdk.framework": "/Users/frederic/ApacheRoyale/ >> apache-royale-0.9.1-bin-js-swf/royale-asjs" >> } >> >> But I'm still getting the error that I need Java 1.8 or newer... >> >> And my simple HelloWorld.mxml gives the following error: >> >> <?xml version="1.0" encoding="utf-8"?> >> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js= >> "library://ns.apache.org/flexjs/express"> >> <js:initialView> >> <js:View> >> <js:Label text="Hello World" x="100" y="100"/> >> </js:View> >> </js:initialView> >> </js:Application> >> >> This tag could not be resolved to an ActionScript class. It will be >> ignored. => on the js:Application line >> >> ASConfig.json is: >> >> { >> "config": "royale", >> "compilerOptions": { >> "source-map": true, >> "targets": [ >> "JSFlex" >> ] >> }, >> "files": [ >> "src/HelloRoyale.mxml" >> ] >> } >> >> >> Please help, this is frustrating.. >> >> On Fri, Jan 12, 2018 at 12:08 PM, Olaf Krueger <m...@olafkrueger.net> >> wrote: >> >>> Hi, >>> as long Josh's "VSCode Royale version" isn't released, I guess an easy >>> way >>> to make Royale work with an IDE in order to experience with the >>> framework, >>> is by using Moonshine and the Royale JSOnly package. >>> You just have to install Moonshine, download the JSOnly SDK and update >>> the >>> Moonshine settings with the SDK path. >>> This should be done in a couple of minutes... >>> >>> Hope this helps, >>> Olaf >>> >>> >>> >>> >>> -- >>> Sent from: http://apache-royale-users.20374.n8.nabble.com/ >>> >> >> > > > -- > > Piotr Zarzycki > > Patreon: *https://www.patreon.com/piotrzarzycki > <https://www.patreon.com/piotrzarzycki>* > -- Piotr Zarzycki Patreon: *https://www.patreon.com/piotrzarzycki <https://www.patreon.com/piotrzarzycki>*