sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #47194
[Question #669353]: can't install sikuli - java.lang.ClassCastException
New question #669353 on Sikuli:
https://answers.launchpad.net/sikuli/+question/669353
Hello, I'm unable to run the main sikulxsetup jar that I downloaded from the official sikulix site.
I've tried Jave 10 SE JDK and JRE, and Java 8 SE JDK and JRE. The error message is as follows:
C:\sikulix>java -jar sikulixsetup-1.1.2.jar
[error] RunTimeINIT: Java version not detected (using 7): 10.0.1+10
java ?7?-64 version 10.0.1+10 vm 10.0.1+10 class 54.0 arch amd64
*** system properties dump
awt.toolkit = sun.awt.windows.WToolkit
file.encoding = Cp1252
file.encoding.pkg = sun.io
file.separator = \
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.awt.printerjob = sun.awt.windows.WPrinterJob
java.class.path = sikulixsetup-1.1.2.jar
java.class.version = 54.0
java.home = C:\Program Files\Java\jre-10.0.1
java.io.tmpdir = C:\Users\awong\AppData\Local\Temp\
java.library.path = C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Oculus\Support\oculus-runtime;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\awong\AppData\Local\Microsoft\WindowsApps;%DASHLANE_DLL_DIR%;.
java.runtime.name = Java(TM) SE Runtime Environment
java.runtime.version = 10.0.1+10
java.specification.name = Java Platform API Specification
java.specification.vendor = Oracle Corporation
java.specification.version = 10
java.vendor = Oracle Corporation
java.vendor.url = http://java.oracle.com/
java.vendor.url.bug = http://bugreport.java.com/bugreport/
java.vendor.version = 18.3
java.version = 10.0.1
java.version.date = 2018-04-17
java.vm.compressedOopsMode = Zero based
java.vm.info = mixed mode
java.vm.name = Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Oracle Corporation
java.vm.specification.version = 10
java.vm.vendor = "Oracle Corporation"
java.vm.version = 10.0.1+10
jdk.debug = release
line.separator =
os.arch = amd64
os.name = Windows 10
os.version = 10.0
path.separator = ;
sun.arch.data.model = 64
sun.boot.library.path = C:\Program Files\Java\jre-10.0.1\bin
sun.cpu.endian = little
sun.cpu.isalist = amd64
sun.desktop = windows
sun.io.unicode.encoding = UnicodeLittle
sun.java.command = sikulixsetup-1.1.2.jar
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = Cp1252
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
sun.os.patch.level =
sun.stderr.encoding = cp437
sun.stdout.encoding = cp437
user.country = US
user.dir = C:\sikulix
user.home = C:\Users\awong
user.language = en
user.name = awong
user.script =
user.timezone = America/New_York
user.variant =
*** system properties dump end
[debug] RunTimeINIT: global init: entering as: SETUP
[debug] RunTimeINIT: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[debug] RunTimeINIT: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[debug] RunTimeINIT: Monitor 0: (0, 0) 1920 x 1080
[debug] RunTimeINIT: Monitor 1: (-1920, 0) 1920 x 1080
[debug] RunTimeINIT: runs as sikulixsetup-1.1.2.jar in: C:\sikulix
***** show environment for SETUP (build 201803080837)
user.home: C:\Users\awong
user.dir (work dir): C:\sikulix
user.name: awong
java.io.tmpdir: C:\Users\awong\AppData\Local\Temp
running 64Bit on Windows (10.0) from a jar
java ?7?-64 version 10.0.1+10 vm 10.0.1+10 class 54.0 arch amd64
app data folder: C:\Users\awong\AppData\Roaming\Sikulix
libs folder: null
executing jar: C:\sikulix\sikulixsetup-1.1.2.jar
*** classpath dump sikulix
Exception in thread "main" java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
at org.sikuli.script.RunTime.storeClassPath(RunTime.java:2584)
at org.sikuli.script.RunTime.dumpClassPath(RunTime.java:2606)
at org.sikuli.script.RunTime.show(RunTime.java:1246)
at org.sikuli.script.RunTime.init(RunTime.java:764)
at org.sikuli.script.RunTime.get(RunTime.java:312)
at org.sikuli.setup.RunSetup.main(RunSetup.java:169)
[debug] RunTimeSETUP: final cleanup
[debug] FileManager: deleteFileOrFolder:
C:\Users\awong\AppData\Local\Temp\Sikulix_1404047784
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.