DisplayLink Forum

DisplayLink Forum (https://displaylink.org/forum/index.php)
-   Mac Software (https://displaylink.org/forum/forumdisplay.php?f=30)
-   -   4.3 Beta 3: Java Apps crash on launch if connected to external DisplayLink device (https://displaylink.org/forum/showthread.php?t=66114)

lspintzyk 11-08-2019 10:13 AM

Quote:

Originally Posted by TimothyF (Post 88812)
Hello, I'm new on this forum, but I would just like to point out that my co-workers and I are all experiencing this same issue (on Mojave and Catalina) with Displaylink 5.1.

There is fix in recent open jdk.
Can you download that file https://www.displaylink.com/downloads/file?d=263
and follow instructions from README?

avmcclint 12-05-2019 04:33 PM

Java apps keep crashing
 
We're running macOS Mojave, fully updated, with amazon Corretto 8 JDK. When users launch Oracle's SQLDevelper app while plugged into their Targus DisplayLink docks, the app crashes 100% of the time. The SQLDeveloper app is built on Java so this definitely counts as a problem. I tried using the DisplayLinkJavaTest.jar, but I get the following error when I try to run the test:
Code:

java -jar DisplayLinkJavaTest.jar
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: Main has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)

We cannot upgrade to JDK 14 due to contractual and security constraints.This is a major problem for us. We just bought 170 Targus docks and we can't use a single one because of this mission critical app crashing.

TimothyF 12-10-2019 07:37 AM

Still issues
 
Quote:

Originally Posted by lspintzyk (Post 88897)
There is fix in recent open jdk.
Can you download that file https://www.displaylink.com/downloads/file?d=263
and follow instructions from README?

I am sorry for the very late reply, but I have been out of office for a while.

I have tried the build 19 and the newest build 26, both of them pass on all the tests given by DisplayLinkJavaTest.jar but neither of them fixes my issue.
After changing to build 19, java-based softwares started but then went into an everlasting "Application Not Responding", and upon a reboot of the computer these softwares don't start at all, they just crash upon opening them, just like before. This same thing happened with build 26.

This has only been tested on MacOS 10.14.6 though, as this is the system I am using.

Regards,

Timothy

lspintzyk 12-10-2019 08:20 AM

Quote:

Originally Posted by TimothyF (Post 89078)
I am sorry for the very late reply, but I have been out of office for a while.

I have tried the build 19 and the newest build 26, both of them pass on all the tests given by DisplayLinkJavaTest.jar but neither of them fixes my issue.
After changing to build 19, java-based softwares started but then went into an everlasting "Application Not Responding", and upon a reboot of the computer these softwares don't start at all, they just crash upon opening them, just like before. This same thing happened with build 26.

This has only been tested on MacOS 10.14.6 though, as this is the system I am using.

Regards,

Timothy

How about build 18?
Does it pass all tests from DisplayLinkJavaTest.jar ? I expect they don't as this is a build without a fix.
This is important thing to understand the problem. If we will know that we can push java guys to port the fix to older jdk. Please keep in mind that this is early development(unstable) build of jdk and other java issues you are experiencing are expected.

lspintzyk 12-10-2019 08:47 AM

Quote:

Originally Posted by avmcclint (Post 89063)
We're running macOS Mojave, fully updated, with amazon Corretto 8 JDK. When users launch Oracle's SQLDevelper app while plugged into their Targus DisplayLink docks, the app crashes 100% of the time. The SQLDeveloper app is built on Java so this definitely counts as a problem. I tried using the DisplayLinkJavaTest.jar, but I get the following error when I try to run the test:
Code:

java -jar DisplayLinkJavaTest.jar
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: Main has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)

We cannot upgrade to JDK 14 due to contractual and security constraints.This is a major problem for us. We just bought 170 Targus docks and we can't use a single one because of this mission critical app crashing.

Can you test your setup with the development builds (18 and 19) of jdk?
This is important as we need to know if the fix that Oracle supplied is sufficient. If so we can push them to port it to older jdk version.

avmcclint 12-10-2019 10:22 AM

Quote:

Originally Posted by lspintzyk (Post 89080)
Can you test your setup with the development builds (18 and 19) of jdk?
This is important as we need to know if the fix that Oracle supplied is sufficient. If so we can push them to port it to older jdk version.

We cannot. We are strictly locked in to JDK 8. Not even for testing purposes.

TimothyF 12-10-2019 01:14 PM

Quote:

Originally Posted by lspintzyk (Post 89079)
How about build 18?
Does it pass all tests from DisplayLinkJavaTest.jar ? I expect they don't as this is a build without a fix.
This is important thing to understand the problem. If we will know that we can push java guys to port the fix to older jdk. Please keep in mind that this is early development(unstable) build of jdk and other java issues you are experiencing are expected.

Sorry, but I am unable to locate a download for build 18. Do you know where I can find it?

avmcclint 12-12-2019 06:45 PM

5.2.1
 
I should clarify that we are running macOS Mojave 10.14.6 and DisplayLink 5.2.1 and this problem still exists. We need a solution to this.

lspintzyk 12-13-2019 11:17 AM

Quote:

Originally Posted by TimothyF (Post 89086)
Sorry, but I am unable to locate a download for build 18. Do you know where I can find it?

https://displaylinkltd-my.sharepoint...nkJava%5F29193

wild4gadgets 12-16-2019 01:25 PM

DisplayLink 4.3 causing Java apps to crash on Catalina
 
I am also having this problem. It's been driving me absolutely CRAZY; my Java apps have been crashing and I had no idea that the DisplayLink drivers were causing the issue.

I removed the DL hardware from my system and wha-la! All of my apps are now working perfectly.

@DisplayLink--please fix this issue ASAP. I am not able to use my expensive Targus dock now, which is not making me very happy about the investment.


All times are GMT. The time now is 11:47 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.