V. pleased to say it's working for me. It builds using our current Maven build ( which is targeted in Maven at JDK 9)
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.6.2</version> <configuration> <source>1.9</source> <target>1.9</target> <compilerArgument> -Xlint:unchecked </compilerArgument> </configuration> </plugin> Trying to set a 1.11 release will give the Maven error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile (default-compile) on project KattRunOnTheTide: Fatal error compiling: error: invalid target release: 1.11 -> [Help 1] ----- Running under Win10 via a BAT file: I've made sure OpenJDK is the only JDK on the system path. I built using Maven then Shade into a single Jar. For the purposes of this test, I've made an explicit call to the VM from a batch file on Win 10 64 bit. "C:\Program Files\Java\jdk-11\bin\java" -Xms2500m -Xmx4500m -jar -Djavafx.animation.fullspeed=true runTime.jar pause (Normally I wrap this into an .EXE. using Launch4J after going through Proguard.) ================================================================ I cannot build the project under Intellij: I get a Jetbrains error: Error:Internal error: (java.net.MalformedURLException) unknown protocol: jrt java.net.MalformedURLException: unknown protocol: jrt at java.net.URL.<init>(URL.java:421) at java.net.URL.<init>(URL.java:310) at java.net.URL.<init>(URL.java:333) at com.intellij.compiler.instrumentation.InstrumentationClassFinder.createJDKPlatformUrl(InstrumentationClassFinder.java:61) at org.jetbrains.jps.incremental.instrumentation.ClassProcessingBuilder.createInstrumentationClassFinder(ClassProcessingBuilder.java:125) at org.jetbrains.jps.incremental.instrumentation.ClassProcessingBuilder.build(ClassProcessingBuilder.java:93) at org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:1246) at org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:923) at org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:995) at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:886) at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:719) at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:371) at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:178) at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:138) at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:308) at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:138) at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:235) at org.jetbrains.jps.service.impl.SharedThreadPoolImpl.lambda$executeOnPooledThread$0(SharedThreadPoolImpl.java:42) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Please perform full project rebuild (Build | Rebuild Project) ================================================================== I added a check in the code directly: the result in the log file: 2018-05-08 :13:16:28 : INFO : techtalix.app.StartGame start : JAVA VERSION 11-ea But running from the BAT file directly after building with Maven- I only had one error during game play: I don't get this error normally. In my code, I've just checking some game tiles, and in this case one is clearly null. Exception in thread "JavaFX Application Thread" java.lang.NullPointerException at com.techtalix.player.PlayerController.lambda$new$0(PlayerController.java:114) at javafx.base/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218) at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) at javafx.base/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at javafx.base/javafx.event.Event.fireEvent(Event.java:198) at javafx.graphics/javafx.scene.Scene$MouseHandler.process(Scene.java:3851) at javafx.graphics/javafx.scene.Scene$MouseHandler.access$1200(Scene.java:3579) at javafx.graphics/javafx.scene.Scene.processMouseEvent(Scene.java:1849) at javafx.graphics/javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2588) at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:397) at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295) at java.base/java.security.AccessController.doPrivileged(Native Method) at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:434) at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389) at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:433) at javafx.graphics/com.sun.glass.ui.View.handleMouseEvent(View.java:556) at javafx.graphics/com.sun.glass.ui.View.notifyMouse(View.java:942) at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:175) at java.base/java.lang.Thread.run(Thread.java:832) I hope this helps. Looking forwards to a pure Maven build. Best, Paul On 8 May 2018 at 11:30, <openjfx-dev-requ...@openjdk.java.net> wrote: > Send openjfx-dev mailing list submissions to > openjfx-dev@openjdk.java.net > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.openjdk.java.net/mailman/listinfo/openjfx-dev > or, via email, send a message with subject or body 'help' to > openjfx-dev-requ...@openjdk.java.net > > You can reach the person managing the list at > openjfx-dev-ow...@openjdk.java.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of openjfx-dev digest..." > > > Today's Topics: > > 1. Announcing EA builds of standalone JavaFX SDK (Kevin Rushforth) > 2. Re: [11] RFR JDK-8202199 : Provide public, unsupported API > for FX Swing interop (Prasanta Sadhukhan) > 3. Re: [11] RFR JDK-8202199 : Provide public, unsupported API > for FX Swing interop (Ali Ebrahimi) > 4. Re: Announcing EA builds of standalone JavaFX SDK (Johan Vos) > 5. Re: [11] RFR JDK-8202199 : Provide public, unsupported API > for FX Swing interop (Prasanta Sadhukhan) > 6. Re: [11] RFR JDK-8202199 : Provide public, unsupported API > for FX Swing interop (Alan Bateman) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 7 May 2018 16:00:19 -0700 > From: Kevin Rushforth <kevin.rushfo...@oracle.com> > To: "openjfx-dev@openjdk.java.net" <openjfx-dev@openjdk.java.net> > Subject: Announcing EA builds of standalone JavaFX SDK > Message-ID: <8ae613b7-bac6-fa44-94e4-7490b0726...@oracle.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > I am pleased to announce the first Early Access build of a standalone > JavaFX SDK [1]. You can download it and run it using OpenJDK 10 or an > OpenJDK 11 EA build. > > If your application is in an unnamed module (i.e., your app is on the > classpath), you can run your application as follows, after unzipping the > SDK bundle for your platform. > > $ java --module-path $PATH_TO_FX/javafx-sdk-11 > --add-modules=javafx.controls,javafx.fxml MyApp > > This assumes you don't need media or web. If you do, then add those > modules, too. Note that since javafx.web "requires transitive > javafx.controls", you can omit javafx.controls if you add javafx.web. > > If you are running a modular application, then you don't need the > "--add-modules" option. > > Note that this is a stepping stone to javafx modules in a repository > like Maven. > > Please test your applications with the SDK and give us feedback. > > Thanks. > > -- Kevin > > [1] http://jdk.java.net/openjfx/ > > > > ------------------------------ > > Message: 2 > Date: Tue, 8 May 2018 11:21:24 +0530 > From: Prasanta Sadhukhan <prasanta.sadhuk...@oracle.com> > To: Kevin Rushforth <kevin.rushfo...@oracle.com>, Alan Bateman > <alan.bate...@oracle.com>, Phil Race <philip.r...@oracle.com>, > "swing-...@openjdk.java.net" <swing-...@openjdk.java.net>, > "openjfx-dev@openjdk.java.net Mailing" < > openjfx-dev@openjdk.java.net>, > mandy chung <mandy.ch...@oracle.com>, alex.buck...@oracle.com > Subject: Re: [11] RFR JDK-8202199 : Provide public, unsupported API > for FX Swing interop > Message-ID: <d21826c7-0a23-172a-39be-3cc3c893c...@oracle.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > Modified webrev to rename to InteropProviderImpl > > http://cr.openjdk.java.net/~psadhukhan/fxswing.10/ > > Regards > Prasanta > On 5/7/2018 8:35 PM, Kevin Rushforth wrote: > > That name seems good to me. > > > > -- Kevin > > > > > > On 5/7/2018 8:01 AM, Prasanta Sadhukhan wrote: > >> Would InteropProviderImpl sound good? > >> > >> Regards > >> Prasanta > >> On 5/7/2018 8:27 PM, Alan Bateman wrote: > >>> > >>> > >>> On 07/05/2018 10:26, Prasanta Sadhukhan wrote: > >>>> : > >>>> > >>>> Modified webrev to use InteropProvider > >>>> http://cr.openjdk.java.net/~psadhukhan/fxswing.9/ > >>> This looks okay although for consistent then InteropImpl could be > >>> renamed too. > >>> > >>> -Alan > >> > > > > > > ------------------------------ > > Message: 3 > Date: Tue, 8 May 2018 11:56:21 +0430 > From: Ali Ebrahimi <ali.ebrahimi1...@gmail.com> > To: Prasanta Sadhukhan <prasanta.sadhuk...@oracle.com> > Cc: "openjfx-dev@openjdk.java.net Mailing" > <openjfx-dev@openjdk.java.net>, "swing-...@openjdk.java.net" > <swing-...@openjdk.java.net> > Subject: Re: [11] RFR JDK-8202199 : Provide public, unsupported API > for FX Swing interop > Message-ID: > <CAA0cW5CHS4kUFoaGj91RgnD_tu6rf0866Chda-5jn_rXydX8bw@ > mail.gmail.com> > Content-Type: text/plain; charset="UTF-8" > > Hi, > What about " jdk.desktop.unsupported" for new module name? > > On Tue, May 8, 2018 at 10:21 AM, Prasanta Sadhukhan < > prasanta.sadhuk...@oracle.com> wrote: > > > Modified webrev to rename to InteropProviderImpl > > > > http://cr.openjdk.java.net/~psadhukhan/fxswing.10/ > > > > Regards > > Prasanta > > > > On 5/7/2018 8:35 PM, Kevin Rushforth wrote: > > > >> That name seems good to me. > >> > >> -- Kevin > >> > >> > >> On 5/7/2018 8:01 AM, Prasanta Sadhukhan wrote: > >> > >>> Would InteropProviderImpl sound good? > >>> > >>> Regards > >>> Prasanta > >>> On 5/7/2018 8:27 PM, Alan Bateman wrote: > >>> > >>>> > >>>> > >>>> On 07/05/2018 10:26, Prasanta Sadhukhan wrote: > >>>> > >>>>> : > >>>>> > >>>>> Modified webrev to use InteropProvider > >>>>> http://cr.openjdk.java.net/~psadhukhan/fxswing.9/ > >>>>> > >>>> This looks okay although for consistent then InteropImpl could be > >>>> renamed too. > >>>> > >>>> -Alan > >>>> > >>> > >>> > >> > > > > > -- > > Best Regards, > Ali Ebrahimi > > > ------------------------------ > > Message: 4 > Date: Tue, 08 May 2018 07:43:22 +0000 > From: Johan Vos <johan....@gluonhq.com> > To: Kevin Rushforth <kevin.rushfo...@oracle.com> > Cc: "openjfx-dev@openjdk.java.net" <openjfx-dev@openjdk.java.net> > Subject: Re: Announcing EA builds of standalone JavaFX SDK > Message-ID: > <CABxFH2GDcyc0p4m9-q7sHRzgQTOjsKYEtqtc-EQ0+ > rxhkwj...@mail.gmail.com> > Content-Type: text/plain; charset="UTF-8" > > Hi Kevin, > > Excellent work. > I confirm this is working for me. > > Java: openjdk 11-ea+12 for Linux > App from > https://github.com/gluonhq/projavafx9/tree/master/ > chapter1/HelloEarthRise/src/main/java/projavafx/helloearthrise/ui > (on > classpath) > > - Johan > > On Tue, May 8, 2018 at 1:11 AM Kevin Rushforth <kevin.rushfo...@oracle.com > > > wrote: > > > I am pleased to announce the first Early Access build of a standalone > > JavaFX SDK [1]. You can download it and run it using OpenJDK 10 or an > > OpenJDK 11 EA build. > > > > If your application is in an unnamed module (i.e., your app is on the > > classpath), you can run your application as follows, after unzipping the > > SDK bundle for your platform. > > > > $ java --module-path $PATH_TO_FX/javafx-sdk-11 > > --add-modules=javafx.controls,javafx.fxml MyApp > > > > This assumes you don't need media or web. If you do, then add those > > modules, too. Note that since javafx.web "requires transitive > > javafx.controls", you can omit javafx.controls if you add javafx.web. > > > > If you are running a modular application, then you don't need the > > "--add-modules" option. > > > > Note that this is a stepping stone to javafx modules in a repository > > like Maven. > > > > Please test your applications with the SDK and give us feedback. > > > > Thanks. > > > > -- Kevin > > > > [1] http://jdk.java.net/openjfx/ > > > > > > > ------------------------------ > > Message: 5 > Date: Tue, 8 May 2018 13:23:26 +0530 > From: Prasanta Sadhukhan <prasanta.sadhuk...@oracle.com> > To: Ali Ebrahimi <ali.ebrahimi1...@gmail.com> > Cc: "openjfx-dev@openjdk.java.net Mailing" > <openjfx-dev@openjdk.java.net>, "swing-...@openjdk.java.net" > <swing-...@openjdk.java.net> > Subject: Re: [11] RFR JDK-8202199 : Provide public, unsupported API > for FX Swing interop > Message-ID: <69499881-75db-6690-70a9-b485de821...@oracle.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > We have discussed this internally and we believe that "unsupportedness" > is the critical property here so it justifies grouping them in the same > "unsupported" namespace rather than desktop namespace. > > Regards > Prasanta > On 5/8/2018 12:56 PM, Ali Ebrahimi wrote: > > Hi, > > What about " jdk.desktop.unsupported" for new module name? > > > > On Tue, May 8, 2018 at 10:21 AM, Prasanta Sadhukhan > > <prasanta.sadhuk...@oracle.com <mailto:prasanta.sadhuk...@oracle.com>> > > wrote: > > > > Modified webrev to rename to InteropProviderImpl > > > > http://cr.openjdk.java.net/~psadhukhan/fxswing.10/ > > <http://cr.openjdk.java.net/%7Epsadhukhan/fxswing.10/> > > > > Regards > > Prasanta > > > > On 5/7/2018 8:35 PM, Kevin Rushforth wrote: > > > > That name seems good to me. > > > > -- Kevin > > > > > > On 5/7/2018 8:01 AM, Prasanta Sadhukhan wrote: > > > > Would InteropProviderImpl sound good? > > > > Regards > > Prasanta > > On 5/7/2018 8:27 PM, Alan Bateman wrote: > > > > > > > > On 07/05/2018 10:26, Prasanta Sadhukhan wrote: > > > > : > > > > Modified webrev to use InteropProvider > > http://cr.openjdk.java.net/~psadhukhan/fxswing.9/ > > <http://cr.openjdk.java.net/%7Epsadhukhan/fxswing.9/ > > > > > > This looks okay although for consistent then > > InteropImpl could be renamed too. > > > > -Alan > > > > > > > > > > > > > > > > -- > > > > Best Regards, > > Ali Ebrahimi > > > > ------------------------------ > > Message: 6 > Date: Tue, 8 May 2018 11:31:14 +0100 > From: Alan Bateman <alan.bate...@oracle.com> > To: Prasanta Sadhukhan <prasanta.sadhuk...@oracle.com>, Kevin > Rushforth <kevin.rushfo...@oracle.com>, Phil Race > <philip.r...@oracle.com>, "swing-...@openjdk.java.net" > <swing-...@openjdk.java.net>, "openjfx-dev@openjdk.java.net > Mailing" > <openjfx-dev@openjdk.java.net>, mandy chung < > mandy.ch...@oracle.com>, > alex.buck...@oracle.com > Subject: Re: [11] RFR JDK-8202199 : Provide public, unsupported API > for FX Swing interop > Message-ID: <716b085e-23b0-0443-e34b-e0bc5c85e...@oracle.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > On 08/05/2018 06:51, Prasanta Sadhukhan wrote: > > Modified webrev to rename to InteropProviderImpl > > > > http://cr.openjdk.java.net/~psadhukhan/fxswing.10/ > This looks okay to me. > > -Alan > > > End of openjfx-dev Digest, Vol 78, Issue 13 > ******************************************* >