Re: Running JavaFX-11 applications from within Eclipse fails

2018-11-12 Thread Tom Schindl
Hi, I never used the relative version but can confirm that you have to set the library path to the built DLLs Tom On 12.11.18 11:41, Nir Lisker wrote: > I managed to solve my problem. It's actually looking for the dlls, so using > >

Re: Running JavaFX-11 applications from within Eclipse fails

2018-11-12 Thread Nir Lisker
I managed to solve my problem. It's actually looking for the dlls, so using -Djava.library.path="...\rt\modules\javafx.graphics\build\module-lib" will start the application properly. If anyone can confirm this problem and solution I'll add this step to the wiki. On Wed, Nov 7, 2018 at 6:21 PM

Re: Running JavaFX-11 applications from within Eclipse fails

2018-11-07 Thread Nir Lisker
I have a related problem when developing JavaFX in Eclipse and Win10 that started in 11. I created a modular project and in its build configuration (in Eclipse) I added the JavaFX base and graphics projects (that point to rt\modules\...) and OpenJDK11 to the module path. In the module-info file I

Re: Running JavaFX-11 applications from within Eclipse fails

2018-11-04 Thread Tom Schindl
I think the more general problem is that they don‘t run on the module-path - in the m2e case this because the modules are transitive deps and those are not supported properly Tom Von meinem iPhone gesendet > Am 04.11.2018 um 16:17 schrieb José Pereda : > > I've just noticed that this issue

Re: Running JavaFX-11 applications from within Eclipse fails

2018-11-04 Thread José Pereda
I've just noticed that this issue happens not only with Maven but also with Gradle projects (Gradle + Eclipse 2018-09 + Windows with Oracle JDK 1.8), running gradle tasks from Eclipse. The same proposed workaround can be applied to the build file: run { systemProperty "java.library.path",

Re: Running JavaFX-11 applications from within Eclipse fails

2018-10-22 Thread Kevin Rushforth
Renaming the native libraries in JavaFX would probably solve this, but that seems the wrong solution to me. Yes, it seems like a workaround rather than a fix... -- Kevin On 10/21/2018 10:45 AM, Johan Vos wrote: Hi Tom, Nice workaround, but what do you think needs to be done to fix it?

Re: Running JavaFX-11 applications from within Eclipse fails

2018-10-21 Thread Tom Schindl
Hi, Well we talk about JavaFX-11 but the important thing is that this bug only happens if your Eclipse IDE is running Oracle-Java-8 ;-) Tom On 21.10.18 21:15, Nir Lisker wrote: > Ah, I didn't realize you were talking about Java 8. > > On Sun, Oct 21, 2018 at 10:09 PM Tom Schindl >

Re: Running JavaFX-11 applications from within Eclipse fails

2018-10-21 Thread Nir Lisker
Ah, I didn't realize you were talking about Java 8. On Sun, Oct 21, 2018 at 10:09 PM Tom Schindl wrote: > Well: > - Launch Eclipse 2018-09 with Orcale-Java-8 > - Create a maven-enabled project (I think this is important because if > you launch with the FX-SDK on the command line you won't run

Re: Running JavaFX-11 applications from within Eclipse fails

2018-10-21 Thread Johan Vos
Thanks, that was what I was hoping for but didn't dare to ask :) - Johan On Sun, Oct 21, 2018 at 8:06 PM Tom Schindl wrote: > Well fixing the bug in Eclipse is the right way to address this ;-) Once > I have time I'll provide a patch. > > https://bugs.eclipse.org/bugs/show_bug.cgi?id=540247 >

Re: Running JavaFX-11 applications from within Eclipse fails

2018-10-21 Thread Tom Schindl
Well fixing the bug in Eclipse is the right way to address this ;-) Once I have time I'll provide a patch. https://bugs.eclipse.org/bugs/show_bug.cgi?id=540247 Tom On 21.10.18 19:45, Johan Vos wrote: > Hi Tom, > > Nice workaround, but what do you think needs to be done to fix it? Can > the

Re: Running JavaFX-11 applications from within Eclipse fails

2018-10-21 Thread Johan Vos
Hi Tom, Nice workaround, but what do you think needs to be done to fix it? Can the java.library.path somehow be changed in a plugin or so? Renaming the native libraries in JavaFX would probably solve this, but that seems the wrong solution to me. - Johan On Thu, Oct 18, 2018 at 3:39 PM Tom

Re: Running JavaFX-11 applications from within Eclipse fails

2018-10-21 Thread Tom Schindl
Well: - Launch Eclipse 2018-09 with Orcale-Java-8 - Create a maven-enabled project (I think this is important because if you launch with the FX-SDK on the command line you won't run into this) - Boom Tom On 21.10.18 11:35, Nir Lisker wrote: > Hi Tom, > > Iv'e never gotten this error. How do

Re: Running JavaFX-11 applications from within Eclipse fails

2018-10-21 Thread Nir Lisker
Hi Tom, Iv'e never gotten this error. How do you reproduce this? - Nir On Thu, Oct 18, 2018 at 1:39 PM Tom Schindl wrote: > Hi, > > I just wanted to make you aware that if you run a JavaFX-11 application > from within Eclipse it is very likely that you'll get an error like this. > > >

Running JavaFX-11 applications from within Eclipse fails

2018-10-18 Thread Tom Schindl
Hi, I just wanted to make you aware that if you run a JavaFX-11 application from within Eclipse it is very likely that you'll get an error like this. > Exception in thread "WindowsNativeRunloopThread" java.lang.NoSuchMethodError: > > at >