Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-10541

groovysh can not launch when running on Oracle Linux 8.5(ARM)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.1
    • 4.0.2
    • None
    • None

    Description

       

      [root@oc3 ~]# groovysh
      java.lang.reflect.InvocationTargetException
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      	at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:112)
      	at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:130)
      Caused by: java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib, /tmp/libjansi-64-14886157734275068417.so: /tmp/libjansi-64-14886157734275068417.so: cannot open shared object file: No such file or directory (Possible cause: can't load AMD 64 .so on a AARCH64 platform)]
      	at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
      	at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
      	at org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:42)
      	at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
      	at org.fusesource.jansi.AnsiConsole.<clinit>(AnsiConsole.java:38)
      	at java.base/java.lang.Class.forName0(Native Method)
      	at java.base/java.lang.Class.forName(Class.java:467)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.lambda$createCallStaticSite$2(CallSiteArray.java:64)
      	at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
      	at org.codehaus.groovy.vmplugin.v8.Java8.doPrivileged(Java8.java:628)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallStaticSite(CallSiteArray.java:62)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(CallSiteArray.java:155)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:46)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:130)
      	at org.apache.groovy.groovysh.Main.installAnsi(Main.groovy:249)
      	at org.apache.groovy.groovysh.Main.setTerminalType(Main.groovy:235)
      	at org.apache.groovy.groovysh.Main.main(Main.groovy:120)
      	... 6 more
      
      

      Attachments

        Activity

          People

            daniel_sun Daniel Sun
            daniel_sun Daniel Sun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: