UnsatisfiedLinkError: Can't load library: /var/folders/rm/kxzmfzgd5pg30cj6s83j5rbc003j4x/T/JxBrowser/7.15/libawt_helper.dylib
See original GitHub issueWhat happened
I opened a Flutter project.
Version information
IntelliJ IDEA 2021.1.2
• Flutter plugin io.flutter 57.0.6-dev.5
• Dart plugin 211.7233
No Flutter sdk configured.
Exception
null
java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/rm/kxzmfzgd5pg30cj6s83j5rbc003j4x/T/JxBrowser/7.15/libawt_helper.dylib
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2630)
at java.base/java.lang.Runtime.load0(Runtime.java:768)
at java.base/java.lang.System.load(System.java:1837)
at com.teamdev.jxbrowser.internal.JniLibrary.loadLibrary(JniLibrary.java:53)
at com.teamdev.jxbrowser.internal.JniLibrary.lambda$new$0(JniLibrary.java:47)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at com.teamdev.jxbrowser.internal.JniLibrary.<init>(JniLibrary.java:45)
at com.teamdev.jxbrowser.internal.AwtHelperLibrary.<init>(AwtHelperLibrary.java:46)
at com.teamdev.jxbrowser.internal.AwtHelperLibrary.instance(AwtHelperLibrary.java:36)
at com.teamdev.jxbrowser.view.swing.internal.OffScreenRenderWidget.<init>(OffScreenRenderWidget.java:121)
at com.teamdev.jxbrowser.view.swing.internal.IoSurfaceRenderWidget.<init>(IoSurfaceRenderWidget.java:36)
at com.teamdev.jxbrowser.view.swing.BrowserView.createBrowserWidget(BrowserView.java:170)
at com.teamdev.jxbrowser.view.swing.BrowserView.<init>(BrowserView.java:103)
at com.teamdev.jxbrowser.view.swing.BrowserView.newInstance(BrowserView.java:76)
at io.flutter.jxbrowser.EmbeddedBrowser.lambda$openPanel$1(EmbeddedBrowser.java:135)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:218)
at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:21)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:200)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:781)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:319)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:84)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:133)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:46)
at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:189)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:969)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:839)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:449)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:808)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:448)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:781)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:496)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
How to Handle the UnsatisfiedLinkError Runtime Error in Java
The Java java.lang.UnsatisfiedLinkError is thrown when a program uses a native libaray but is unable to find it at runtime for some reason....
Read more >Exception in thread "main" java.lang.UnsatisfiedLinkError ...
The cause of this error may be that only "headless" part of JDK is installed, which does not include GUI libraries.
Read more >java.lang.UnsatisfiedLinkError on Apple macOS Big Sur ...
The error reports, that the native dispatch library can't be loaded. This is in line with the reported version of 2.1.204 for sbt-dotenv...
Read more >java.lang.UnsatisfiedLinkError: no dll in java.library.path
System.loadLibarray() method to load native libraries. If Java doesn't find them due to any reason it throws "java.
Read more >java.lang.UnsatisfiedLinkError: Can't load library ... swt-win32 ...
Hey everyone, We've had a pretty stable development environment using Maven + Tomcat + Spring + GWT for a while. We've been using...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Unfortunately no, I’ve enabled it now. If it happens again will add more info here
@matpag thanks for this report. Do you have verbose logging turned on? (Preferences > Languages and Frameworks > Flutter > enable verbose logging (under General). We’re looking for jxbrowser logs to try to debug this problem.