Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DMG install in OSX on Java 10 fails #4166

Closed
rbeckman-nextgen opened this issue May 11, 2020 · 0 comments
Closed

DMG install in OSX on Java 10 fails #4166

rbeckman-nextgen opened this issue May 11, 2020 · 0 comments
Milestone

Comments

@rbeckman-nextgen
Copy link
Collaborator

@rbeckman-nextgen rbeckman-nextgen commented May 11, 2020

OSX

Java 10.0.1

MC 3.6.0.b2274

Does not occur with Java 8 or 9.

Exception triggered right after double clicking the Mirth Connect Installer.app:
{noformat}
Exception:

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.install4j.runtime.installer.Installer.getScreenExecutor(Installer.java:105)
at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:58)
at com.install4j.runtime.installer.Installer.main(Installer.java:46)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65)
at com.install4j.runtime.launcher.MacLauncher.main(MacLauncher.java:67)
Caused by: java.lang.reflect.InvocationTargetException
at java.desktop/java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.desktop/java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.desktop/javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
at com.install4j.runtime.installer.Installer.getScreenExecutor(Installer.java:96)
... 8 more
Caused by: java.lang.NoClassDefFoundError: com/apple/eawt/ApplicationListener
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Unknown Source)
at com.install4j.runtime.installer.frontend.WizardScreenExecutor.(WizardScreenExecutor.java:49)
at com.install4j.runtime.installer.frontend.InstallerWizardScreenExecutor.(InstallerWizardScreenExecutor.java:18)
at com.install4j.runtime.installer.Installer$2.run(Installer.java:99)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue.access$600(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.apple.eawt.ApplicationListener
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 19 more

System properties:

gopherProxySet=false
awt.toolkit=sun.lwawt.macosx.LWCToolkit
java.specification.version=10
file.encoding.pkg=sun.io
sun.cpu.isalist=
sun.jnu.encoding=UTF-8
java.class.path=/Volumes/mirthconnect/Mirth Connect Installer.app/Contents/Resources/app/i4jruntime.jar
sun.awt.enableExtraMouseButtons=true
java.vm.vendor="Oracle Corporation"
sun.arch.data.model=64
i4j.ownBundlePath=/Volumes/mirthconnect/Mirth Connect Installer.app
install4j.exeDir=/Volumes/mirthconnect/
sun.font.fontmanager=sun.font.CFontManager
java.vendor.url=http://java.oracle.com/
user.timezone=America/Los_Angeles
os.name=Mac OS X
java.vm.specification.version=10
sun.java.launcher=SUN_STANDARD
user.country=US
sun.boot.library.path=/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib
sun.java.command=com.install4j.runtime.launcher.MacLauncher
http.nonProxyHosts=local|.local|169.254/16|.169.254/16
jdk.debug=release
sun.cpu.endian=little
user.home=/Users/christ
user.language=en
java.specification.vendor=Oracle Corporation
java.version.date=2018-04-17
java.home=/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
file.separator=/
java.vm.compressedOopsMode=Zero based
line.separator=

java.specification.name=Java Platform API Specification
java.vm.specification.vendor=Oracle Corporation
java.awt.graphicsenv=sun.awt.CGraphicsEnvironment
exe4j.moduleName=/Volumes/mirthconnect/Mirth Connect Installer.app
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
ftp.nonProxyHosts=local|.local|169.254/16|.169.254/16
java.runtime.version=10.0.1+10
user.name=christ
path.separator=:
os.version=10.12.6
java.runtime.name=Java(TM) SE Runtime Environment
file.encoding=UTF-8
sun.java2d.noddraw=true
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vendor.version=18.3
i4j.jreBundle=/Library/Internet Plug-Ins/JavaAppletPlugin.plugin
install4j.appDir=/Volumes/mirthconnect/Mirth Connect Installer.app/Contents/Resources/
java.vendor.url.bug=http://bugreport.java.com/bugreport/
java.io.tmpdir=/var/folders/bb/y4lv1dqx28qb6glkgvhy4hbc0000gn/T/
java.version=10.0.1
user.dir=/Volumes/mirthconnect/Mirth Connect Installer.app/Contents/Resources/app
os.arch=x86_64
java.vm.specification.name=Java Virtual Machine Specification
java.awt.printerjob=sun.lwawt.macosx.CPrinterJob
sun.os.patch.level=unknown
java.library.path=/Users/christ/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
java.vendor=Oracle Corporation
java.vm.info=mixed mode
java.vm.version=10.0.1+10
sun.io.unicode.encoding=UnicodeBig
java.class.version=54.0
socksNonProxyHosts=local|.local|169.254/16|.169.254/16
{noformat}

Imported Issue. Original Details:
Jira Issue Key: MIRTH-4290
Reporter: narupley
Created: 2018-06-11T10:54:57.000-0700

@rbeckman-nextgen rbeckman-nextgen added this to the 3.7.0 milestone May 11, 2020
@cturczynskyj cturczynskyj modified the milestones: 3.7.0, 3.6.1 Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.