Skip to content

Java exception in MacOS X installer. #22

@j3pic

Description

@j3pic
Exception:

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at com.install4j.runtime.installer.Installer.getScreenExecutor(Unknown Source)
	at com.install4j.runtime.installer.Installer.runInProcess(Unknown Source)
	at com.install4j.runtime.installer.Installer.main(Unknown Source)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
	at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
	at com.install4j.runtime.launcher.MacLauncher.main(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
	at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1367)
	at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
	at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
	... 9 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(Class.java:332)
	at com.install4j.runtime.installer.frontend.WizardScreenExecutor.<init>(Unknown Source)
	at com.install4j.runtime.installer.frontend.InstallerWizardScreenExecutor.<init>(Unknown Source)
	at com.install4j.runtime.installer.Installer$2.run(Unknown Source)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
	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)
Caused by: java.lang.ClassNotFoundException: com.apple.eawt.ApplicationListener
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	... 18 more

System properties:

awt.toolkit=sun.lwawt.macosx.LWCToolkit
java.specification.version=12
sun.jnu.encoding=UTF-8
java.class.path=/Volumes/JAuth/JAuth Installer.app/Contents/Resources/app/.install4j/i4jruntime.jar:/Volumes/JAuth/JAuth Installer.app/Contents/Resources/app/user.jar
sun.awt.enableExtraMouseButtons=true
java.vm.vendor=Oracle Corporation
i4j.ownBundlePath=/Volumes/JAuth/JAuth Installer.app
sun.arch.data.model=64
install4j.exeDir=/Volumes/JAuth/
sun.font.fontmanager=sun.font.CFontManager
java.vendor.url=https://java.oracle.com/
user.timezone=America/Los_Angeles
java.vm.specification.version=12
os.name=Mac OS X
sun.java.launcher=SUN_STANDARD
user.country=US
sun.boot.library.path=/Library/Java/JavaVirtualMachines/jdk-12.0.2.jdk/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/REDACTED
user.language=en
java.specification.vendor=Oracle Corporation
java.version.date=2019-07-16
java.home=/Library/Java/JavaVirtualMachines/jdk-12.0.2.jdk/Contents/Home
file.separator=/
java.vm.compressedOopsMode=Zero based
line.separator=

java.vm.specification.vendor=Oracle Corporation
java.specification.name=Java Platform API Specification
exe4j.moduleName=/Volumes/JAuth/JAuth Installer.app
java.awt.graphicsenv=sun.awt.CGraphicsEnvironment
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
ftp.nonProxyHosts=local|*.local|169.254/16|*.169.254/16
java.runtime.version=12.0.2+10
user.name=REDACTED
path.separator=:
os.version=10.13.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
i4j.jreBundle=/Library/Java/JavaVirtualMachines/jdk-12.0.2.jdk
install4j.appDir=/Volumes/JAuth/JAuth Installer.app/Contents/Resources/app/
java.vendor.url.bug=https://bugreport.java.com/bugreport/
java.io.tmpdir=/var/folders/zr/mf534kwn15g3bj6x4kms5zlm0000gn/T/
java.version=12.0.2
user.dir=/Volumes/JAuth/JAuth Installer.app/Contents/Resources/app
os.arch=x86_64
java.vm.specification.name=Java Virtual Machine Specification
java.library.path=/Users/REDACTED/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
java.vm.info=mixed mode, sharing
java.vendor=Oracle Corporation
java.vm.version=12.0.2+10
sun.io.unicode.encoding=UnicodeBig
socksNonProxyHosts=local|*.local|169.254/16|*.169.254/16
java.class.version=56.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions