Crashing on launch - awt.dll error

celstark

Registered
Thread Starter
Joined
Oct 26, 2024
Posts
1
I've used REW on this Win10 machine for some time now -- huge thanks for all your work!

But, the existing install was crashing on launch. I upgraded to the current main and the same thing. The current beta -- ditto. The logs all point to the same issue with `awt.dll`. This is on Win10 22H2 and this was posted by someone in early Sept but they never followed it up with any logs for you. I'm not also cool enough here to post links, but the relevant bit of the URL is "windows-10-22h2-64-bit-…can’t-get-rew-to-open-run.14087"

```
REW V5.31.3 startup on java.lang.UnsatisfiedLinkError: C:\Program Files\REW\jre\bin\awt.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1950)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1853)
at java.lang.Runtime.loadLibrary0(Runtime.java:844)
at java.lang.System.loadLibrary(System.java:1136)
at java.awt.Toolkit$3.run(Toolkit.java:1636)
at java.awt.Toolkit$3.run(Toolkit.java:1634)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
at java.awt.Toolkit.<clinit>(Toolkit.java:1670)
at sun.awt.im.InputMethodContext.<clinit>(InputMethodContext.java:79)
at java.awt.im.InputContext.getInstance(InputContext.java:92)
at roomeqwizard.RoomEQ_Wizard.x(y:4995)
at roomeqwizard.WizardLogger.<init>(y:3141)
at roomeqwizard.WizardLogger.getLogger(y:2307)
at roomeqwizard.RoomEQ_Wizard.B(y:3928)
at roomeqwizard.RoomEQ_Wizard.main(y:5534)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84)
at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94)
at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25)

REW V5.40 Beta 58 startup on java.lang.UnsatisfiedLinkError: C:\Program Files\REW\jre\bin\awt.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1950)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1853)
at java.lang.Runtime.loadLibrary0(Runtime.java:844)
at java.lang.System.loadLibrary(System.java:1136)
at java.awt.Toolkit$3.run(Toolkit.java:1636)
at java.awt.Toolkit$3.run(Toolkit.java:1634)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
at java.awt.Toolkit.<clinit>(Toolkit.java:1670)
at sun.awt.im.InputMethodContext.<clinit>(InputMethodContext.java:79)
at java.awt.im.InputContext.getInstance(InputContext.java:92)
at roomeqwizard.RoomEQ_Wizard.y(y:3219)
at roomeqwizard.WizardLogger.<init>(y:3141)
at roomeqwizard.WizardLogger.getLogger(y:2307)
at roomeqwizard.RoomEQ_Wizard.C(y:3398)
at roomeqwizard.RoomEQ_Wizard.main(y:1217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84)
at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94)
at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25)

```
 
Last edited by a moderator:

John Mulcahy

REW Author
Joined
Apr 3, 2017
Posts
7,992
The underlying issue is the way Windows handles dll loading. It may load an incompatible dll of the same name as the required dll but from a different path, and there isn't a way to ensure the correct path is used. One Win11 user found the issue was triggered by uninstalling OneNote, reinstalling OneNote fixed it. Another possible cause is an old Java runtime installation, removing old Java runtimes may help in that case (REW has its own Java runtime). Installing the latest Oracle runtime from java.com also might help. Sorry I can't offer any definitive solution.
 
Top Bottom