litan / kojo

The Kojo Learning Environment
http://www.kogics.net/kojo
Other
69 stars 22 forks source link

Windows 10 Install4J (64-bit) #49

Closed ddugovic closed 3 years ago

ddugovic commented 3 years ago

Please advise what I can try to avoid this installation error (maybe I need to contact Install4J developers?): image

litan commented 3 years ago

Hmm. Never seen this before. Please share the log file mentioned in the error message.

ddugovic commented 3 years ago

Ah, right... I could probably uninstall Maven, Ruby, and a couple others although I don't yet know if that matters.

Exception:

java.awt.AWTError: Assistive Technology not found: com.sun.java.accessibility.AccessBridge
    at java.desktop/java.awt.Toolkit.newAWTError(Toolkit.java:472)
    at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:488)
    at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
    at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
    at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1603)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
    at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
    at java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:532)
    at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:613)
    at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1348)
    at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
    at com.install4j.runtime.installer.Installer.getScreenExecutor(Installer.java:95)
    at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:60)
    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(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    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)
Caused by: java.lang.ClassNotFoundException: com.sun.java.accessibility.AccessBridge
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:398)
    at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:485)
    ... 23 more

System properties:

sun.desktop=windows
awt.toolkit=sun.awt.windows.WToolkit
java.specification.version=11
sun.cpu.isalist=amd64
sun.jnu.encoding=Cp1252
java.class.path=C:\Users\Gaming\AppData\Local\Temp\e4jD24.tmp_dir1634259308\i4jruntime.jar;C:\Users\Gaming\AppData\Local\Temp\e4jD24.tmp_dir1634259308\user.jar
sun.awt.enableExtraMouseButtons=true
java.vm.vendor=JetBrains s.r.o.
sun.arch.data.model=64
install4j.exeDir=C:\Users\Gaming\Downloads\
user.variant=
java.vendor.url=https://www.jetbrains.com/
user.timezone=America/Chicago
os.name=Windows 10
java.vm.specification.version=11
user.country=US
sun.boot.library.path=c:\users\gaming\appdata\local\temp\e4jd24.tmp_dir1634259308\jre\bin
sun.java.command=C:\Users\Gaming\Downloads\Kojo_windows-x64_2_9_13_with_jre.exe
jdk.debug=release
sun.cpu.endian=little
user.home=C:\Users\Gaming
exe4j.unextractedPosition=32922636
user.language=en
java.specification.vendor=Oracle Corporation
java.version.date=2020-04-14
java.home=c:\users\gaming\appdata\local\temp\e4jd24.tmp_dir1634259308\jre
javax.accessibility.assistive_technologies=com.sun.java.accessibility.AccessBridge
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.Win32GraphicsEnvironment
exe4j.moduleName=C:\Users\Gaming\Downloads\Kojo_windows-x64_2_9_13_with_jre.exe
exe4j.tempDir=C:\Users\Gaming\AppData\Local\Temp\e4jD24.tmp_dir1634259308
javax.accessibility.screen_magnifier_present=true
user.script=
exe4j.consoleCodepage=cp0
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
exe4j.isInstall4j=true
java.runtime.version=11.0.7+10-b765.65
user.name=Gaming
path.separator=;
os.version=10.0
java.runtime.name=OpenJDK Runtime Environment
sun.java2d.noddraw=true
file.encoding=Cp1252
java.vm.name=OpenJDK 64-Bit Server VM
java.vendor.version=JBR-11.0.7.10-765.65-jfx_jcef
exe4j.semaphoreName=Local\c:_users_gaming_downloads_kojo_windows-x64_2_9_13_with_jre.exe
install4j.appDir=C:\Users\Gaming\AppData\Local\Temp\
java.vendor.url.bug=https://youtrack.jetbrains.com
java.io.tmpdir=C:\Users\Gaming\AppData\Local\Temp\
java.version=11.0.7
user.dir=C:\Users\Gaming\AppData\Local\Temp\e4jD24.tmp_dir1634259308
os.arch=amd64
java.vm.specification.name=Java Virtual Machine Specification
java.awt.printerjob=sun.awt.windows.WPrinterJob
sun.os.patch.level=
java.library.path=c:\users\gaming\appdata\local\temp\e4jd24.tmp_dir1634259308\jre\bin;C:\Users\Gaming\AppData\Local\Temp\e4jD24.tmp_dir1634259308\user;C:\Python39\Scripts\;C:\Python39\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Python\Python37\Scripts\;C:\Program Files\Python\Python37\;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\SoftKinetic\DepthSenseSDK\bin;C:\Program Files\SoftKinetic\DepthSenseSDK\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\PuTTY\;C:\Program Files\Git\cmd;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Lua\5.1;C:\Program Files (x86)\Lua\5.1\clibs;C:\Program Files\CMake\bin;C:\Program Files\dotnet\;C:\Program Files\nodejs\;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Users\Gaming\AppData\Local\Streamlink\bin;C:\GTK\bin;C:\Ruby23-x64\bin;C:\Users\Gaming\AppData\Local\Microsoft\WindowsApps;C:\Users\Gaming\AppData\Local\GitHubDesktop\bin;C:\Users\Gaming\AppData\Local\atom\bin;C:\Program Files (x86)\Tesseract-OCR;C:\Apache Software Foundation\apache-maven-3.5.3\bin;C:\Users\Gaming\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\GitHub CLI\;C:\Users\Gaming\.dotnet\tools;C:\Users\Gaming\AppData\Roaming\npm;C:\Users\Gaming\AppData\Local\Programs\Microsoft VS Code\bin
java.vendor=JetBrains s.r.o.
java.vm.info=mixed mode
java.vm.version=11.0.7+10-b765.65
sun.io.unicode.encoding=UnicodeLittle
java.class.version=55.0
exe4j.launchName=C:\Users\Gaming\Downloads\Kojo_windows-x64_2_9_13_with_jre.exe
litan commented 3 years ago

A couple of things to try:

ddugovic commented 3 years ago

Thanks, that resolved my issue!

A couple years ago I contributed to a couple projects and must have generated this .accessibility.properties hidden file.

litan commented 3 years ago

Thanks, that resolved my issue!

Good to know...