← Back to team overview

sikuli-driver team mailing list archive

[Bug 1758900] Re: Can not install: PK: command not found OR java.lang.ClassCastException

 

Hm, quote from http://sikulix.com/quickstart:

"
It is highly recommended, to always have the latest stable Oracle/Sun Java version on your system. Equivalent versions of OpenJDK should work as well and are recommended on Linux systems.
"

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1758900

Title:
  Can not install: PK: command not found OR java.lang.ClassCastException

Status in Sikuli:
  Invalid

Bug description:
  Current java from
  `brew cask install java`

  ./sikulix/sikulixsetup-1.1.2.jar
  ./sikulix/sikulixsetup-1.1.2.jar: line 1: PK: command not found
  ./sikulix/sikulixsetup-1.1.2.jar: line 2: ?DhL: command not found
  ./sikulix/sikulixsetup-1.1.2.jar: line 3:?DhL?a??META-INF/MANIFEST.MFE?A: No such file or directory
  ./sikulix/sikulixsetup-1.1.2.jar: line 4: ?0@?}: command not found
  ./sikulix/sikulixsetup-1.1.2.jar: line 5: syntax error near unexpected token `)'
  ./sikulix/sikulixsetup-1.1.2.jar: line 5: `??~hG;4?%????????E??fw?2G??S????ϧ????ִ)?????z?~d?h;??֚?Hȟ???_?q?<?5Itm Us???T??r.
                                                                                                                             ?K???k^PK'

  Ok, lets try another command:

  java -jar sikulix/sikulixsetup-1.1.2.jar
  [error] RunTimeINIT: Java version not detected (using 7): 10+46
  java ?7?-64 version 10+46 vm 10+46 class 54.0 arch x86_64
  *** system properties dump
  awt.toolkit                   = sun.lwawt.macosx.LWCToolkit
  file.encoding                 = UTF-8
  file.encoding.pkg             = sun.io
  file.separator                = /
  ftp.nonProxyHosts             = local|*.local|169.254/16|*.169.254/16
  gopherProxySet                = false
  http.nonProxyHosts            = local|*.local|169.254/16|*.169.254/16
  java.awt.graphicsenv          = sun.awt.CGraphicsEnvironment
  java.awt.printerjob           = sun.lwawt.macosx.CPrinterJob
  java.class.path               = sikulix/sikulixsetup-1.1.2.jar
  java.class.version            = 54.0
  java.home                     = /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home
  java.io.tmpdir                = /var/folders/n9/5jct_2wn2p1bnxvchfh1kp5w0000gn/T/
  java.library.path             = /Users/vitaly/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
  java.runtime.name             = Java(TM) SE Runtime Environment
  java.runtime.version          = 10+46

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1758900/+subscriptions


References