Re: JavaFX Launch Failure on Ubuntu from JNI

2022-02-11 Thread Steve Hannah
. On Mon, Jan 24, 2022 at 9:48 AM Steve Hannah wrote: > I just wanted to follow up with this in case someone comes across this > thread later. > > After thoroughly exploring the landscape, I found that the issue on Ubuntu > was caused by a conflict between the webkit2gtk-4.0 l

Re: JavaFX Launch Failure on Ubuntu from JNI

2022-01-24 Thread Steve Hannah
ended up just using basic GTK widgets). Best regards Steve On Wed, Jan 19, 2022 at 9:40 AM Steve Hannah wrote: > The following issue only seems to occur on Linux (Ubuntu 20.04.1), and > only when I try to launch the JVM from a custom C launcher using JNI. It > does not occur when

Re: JavaFX Launch Failure on Ubuntu from JNI

2022-01-20 Thread Steve Hannah
d reasons for having your own launcher but you might >> want to consider if jpackage could be an alternative and let that handle >> these cross-platform application details. >> >> > > > -- Steve Hannah Web Lite Solutions Corp.

Re: JavaFX Launch Failure on Ubuntu from JNI

2022-01-20 Thread Steve Hannah
it to be able to run in the same process as the launcher. This (I think) was the last obstacle. Best regards Steve On Thu, Jan 20, 2022 at 7:13 AM Michael Hall wrote: > > > > On Jan 20, 2022, at 9:08 AM, Steve Hannah wrote: > > > > I just wanted to post an update on this in case

Re: JavaFX Launch Failure on Ubuntu from JNI

2022-01-20 Thread Steve Hannah
however, it will handle such arguments. Here is the basic test case I built using JLI_Launch, which seems to work. https://gist.github.com/shannah/57fc4bf4be42cac4e2ab4475f1d308a6 Anyways, thank you for all of the input you guys have provided. Best regards Steve On Thu, Jan 20, 2022 at 5:00 A

Re: JavaFX Launch Failure on Ubuntu from JNI

2022-01-20 Thread Steve Hannah
ing. > > Since you have something minimal that reproduces the problem for you, > can you file a bug? > > -- Kevin > > > On 1/19/2022 4:07 PM, Steve Hannah wrote: > > I've reduced the problem down to something minimal and have found that: > > > > 1

Re: JavaFX Launch Failure on Ubuntu from JNI

2022-01-19 Thread Steve Hannah
at do not (e.g. AdoptOpenJDK). Both exhibit the same behaviour (except with AdoptOpenJDK, I also add the javafx jars to the classpath). For this test I'm using JDK 11 on Mac OS Mojave, but it is consistent with my earlier troubles on Ubuntu (also JDK11). Best regards Steve On Wed, Jan 19, 20

Re: JavaFX Launch Failure on Ubuntu from JNI

2022-01-19 Thread Steve Hannah
t it > might be worth a mention. If he wasn’t aware of this he might want to > consider it on future updates. > > Yes, it was worth a mention, and might even be something he could test > locally to see if it makes a difference. > > -- Kevin > > -- Steve Hannah Web Lite Solutions Corp.

Re: JavaFX Launch Failure on Ubuntu from JNI

2022-01-19 Thread Steve Hannah
a debugging aid, you might try setting > the system property "javafx.verbose" to "true" before loading your > MyApplication class. > > -- Kevin > > > On 1/19/2022 9:40 AM, Steve Hannah wrote: > > The following issue only seems to occur on Linux (Ubu

JavaFX Launch Failure on Ubuntu from JNI

2022-01-19 Thread Steve Hannah
The following issue only seems to occur on Linux (Ubuntu 20.04.1), and only when I try to launch the JVM from a custom C launcher using JNI. It does not occur when launching the JVM as a separate process using the "java" binary. It also does not occur on MacOS when using the same C launcher

Re: Re: Remove JavaFX JPMS enforcement

2020-04-21 Thread Steve Hannah
ent, but it's a PITA and BS. End users are going to struggle with > > > this, and it prevents JavaFX runtime from being purely managed by > Maven. No > > > other JavaFX version requires this, so it's mind boggling that all of a > > > sudden JavaFX needs this. > > > > > > Poor/buggy IDE support is really the big one here. I don't know about > > > other IDEs but Netbeans DOES NOT provide a project template for > creating a > > > JavaFX application with setup dependencies. Netbeans, when setup with a > > > Maven project, allows you to select an entire project(pom) rather than > the > > > individual dependencies(jar) which doesn't work. What you search for > also > > > matters: if you search for "JavaFX" you will get the wrong search > results. > > > You need to search for "openjfx" which can be confusing. > > > > > > Anyway, yeah, it's a PITA. There is also an issue with Ant based > projects > > > and Netbeans because JavaFX puts its src.zip in a folder that is > supposed > > > to only include the runtime library that has existed for > years(literally a > > > 1 line fix too). No one really uses Ant anymore so it's probably not a > big > > > deal now but yeah, getting JavaFX working hasn't been "include and > done" > > > when it could potentially be that way. > > > > > > > -- Steve Hannah Web Lite Solutions Corp.

Re: Why cannot run compiled JavaFX 11 class?

2018-10-30 Thread Steve Hannah
add `u+x` in case that was the > issue, but apparently that was not the trouble. > > What's wrong? > > (Yes, `$PATH_TO_FX` does point to `javafx-sdk-11/lib`.) > > —— > Murray Eisenberg mur...@math.umass.edu > Mathematics & Statistics Dept. > University of Massachusetts Amherst > > > > > -- Steve Hannah Web Lite Solutions Corp.

Re: Packaging DMG with Ant fails on OS-X 10.13.3

2018-02-13 Thread Steve Hannah
I tried that one, but it didn't seem to correct the problem for us. On Tue, Feb 13, 2018 at 1:44 PM, Kevin Rushforth <kevin.rushfo...@oracle.com > wrote: > The bug is also fixed in the recently released JDK 8u162. > > -- Kevin > > > Steve Hannah wrote: &g

Re: Packaging DMG with Ant fails on OS-X 10.13.3

2018-02-13 Thread Steve Hannah
reference is fixed in 10. > > -- Kevin > > > Steve Hannah wrote: > > I ran into this bug a couple months ago with javafx packager on High > Sierra.https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8190758 > > The problem is basically that hdiutil changed its default f

Re: Packaging DMG with Ant fails on OS-X 10.13.3

2018-02-13 Thread Steve Hannah
e the packaging of JavaFX-DMGs is broken on the latest OS-X > System. Has anyone ancountered the same? > > Tom > -- Steve Hannah Web Lite Solutions Corp.

Re: What does this mean for the future of JavaFX on iOS?

2016-04-18 Thread Steve Hannah
lix.bembr...@gmail.com> wrote: > So what do they use instead? > > > On 19 Apr 2016, at 02:52, Steve Hannah <st...@weblite.ca> wrote: > > > > According to Gluon, they're not impacted by this. > > https://twitter.com/GluonHQ/status/721784161728471041 > > >

Re: What does this mean for the future of JavaFX on iOS?

2016-04-18 Thread Steve Hannah
his void? Or > is the final nail in the coffin for JavaFX to ever be a truly viable cross > platform technology? > > Thanks, > > Felix -- Steve Hannah Web Lite Solutions Corp.

Re: Fx questions

2015-10-29 Thread Steve Hannah
jar to ext classpath >>> >>> - when embedding html5 pages into fx apps, should we expect it to >>> render/behave similar to popular browsers like chrome? I'm wondering if >>> we >>> can expect this to just work or if things may be a bit wonky. >>> >>> - do you have a public roadmap for fx? >>> >>> - what is your recommendation for lifecycle management, ie creating >>> controllers with injected dependencies. I saw afterburner looked nice, we >>> have spring working too. >>> >>> - what is status of scenebuilder? Is it supported, and still worked on? >>> >>> Thanks, >>> Brian >>> >>> >>> >> -- Steve Hannah Web Lite Solutions Corp.

Re: Java & JavaFX on mobiles

2015-10-07 Thread Steve Hannah
S and > Android from Oracle. > > Will these JDKs be the best and simplest way of running JavaFX on those > platforms? Without JIT support, will these JDKs support AOT compiling? > > Do the proposed JDKs for mobiles even include JavaFX? > > Felix -- Steve Hannah Web Lite Solutions Corp.

Re: Differences between WebView and Webkit

2015-06-24 Thread Steve Hannah
forward. Steve On Wed, Jun 24, 2015 at 8:41 AM, Steve Hannah st...@weblite.ca wrote: I have a javascript app that is not loading in the JavaFX webview (JDK8). User agent string indicates WebKit 537.44, so I downloaded the nightly build for WebKit 537.44 to test, and the app works

Differences between WebView and Webkit

2015-06-24 Thread Steve Hannah
- or are there some differences? -- Steve Hannah Web Lite Solutions Corp.

Re: IOS support?

2014-09-09 Thread Steve Hannah
both? Thanks! -Tony -- Steve Hannah Web Lite Solutions Corp.

Re: Canvas initial delay issue

2014-05-12 Thread Steve Hannah
? Thanks in advance, Renato. -- *Renato Rodrigues Oliveira da Silva* VICG - Visualization, Imaging and Computer Graphics - ICMC - USP São Carlos -- Steve Hannah Web Lite Solutions Corp.

Re: JavaFX versus AWT/Swing Hardware Acceleration

2014-01-03 Thread Steve Hannah
Prism. We do mix HW and SW in that we generate masks from a path in SW, but we cache that on the card and render it using shaders. Can you describe roughly how the caching works? I understand that the alpha mask is stored in OGL as a texture, but there are an infinite number of possible

Re: JavaFX versus AWT/Swing Hardware Acceleration

2014-01-03 Thread Steve Hannah
Are you referring to the C version of Pisces in the FX sources? Actually, there are 2 currently in the FX source base. I'm working with the native Pisces code located in modules/graphics/src/main/native-prism/* I'm just making a 2D graphics API similar in functionality to