1. #1
    Sencha User
    Join Date
    Dec 2009
    Location
    Paris, France
    Posts
    16
    Vote Rating
    3
    revolunet is on a distinguished road

      0  

    Default Sencha CMD on linux 64

    Sencha CMD on linux 64


    Hi all

    We're using Sencha CMD v3.0.0.288 on CentOS 64bit and we encounter a strange issue :

    Code:
    [root@xxxx ~/bin/Sencha/Cmd/3.0.2.288]$ java -jar sencha.jar
    Exception in thread "main" java.lang.ExceptionInInitializerError
       at java.lang.Class.initializeClass(libgcj.so.10)
       at java.lang.Class.initializeClass(libgcj.so.10)
       at java.lang.Class.initializeClass(libgcj.so.10)
    Caused by: java.lang.UnsupportedOperationException: gnu::java::lang::management::VMThreadMXBeanImpl::getThreadInfoForId (jlong, jint) not implemented
       at gnu.java.lang.management.ThreadMXBeanImpl.getThreadInfo(libgcj.so.10)
       at java.lang.reflect.Method.invoke(libgcj.so.10)
       at java.lang.Thread.getStackTrace(libgcj.so.10)
       at com.sencha.logging.SenchaLogManager.getLogger(SenchaLogManager.java:78)
       at com.sencha.cli.AbstractCommand.<clinit>(AbstractCommand.java:400)
       at java.lang.Class.initializeClass(libgcj.so.10)
       ...2 more
    Write an answer →
    we just need to concatenate+yuicompress

    is the CMD tool compatible with linux 64 ?

    Thanks

    Julien

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,910
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Working fine here .. what version of java are using? Open or Sun? Using Sun myself.

    $ java -version

    Scott.

  3. #3
    Sencha User
    Join Date
    Dec 2009
    Location
    Paris, France
    Posts
    16
    Vote Rating
    3
    revolunet is on a distinguished road

      0  

    Default


    Thanks Scott

    What we have :

    Java version "1.5.0"
    GNU libgcj version 4.4.6

    does this helps ?

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,910
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    I would suggest upgrading to Sun Java:

    My current version:
    java version "1.6.0_26"
    Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
    Scott.

  5. #5
    Sencha User
    Join Date
    Dec 2009
    Location
    Paris, France
    Posts
    16
    Vote Rating
    3
    revolunet is on a distinguished road

      0  

    Default


    Sorry for the late answer but we're finally back to CentOS.

    Here's how to upgrade to Java 1.6 :
    Code:
    yum install java-1.6.0-openjdk java-1.6.0-openjdk-devel
    Then set 1.6 as the default system version :
    Code:
    sudo alternatives --config java
    For some reason we cannot symlink the sencha binary to /usr/local/bin and you need to update your PATH with the sencha CMD directory...
    Code:
    export PATH=/usr/local/bin/Sencha/Cmd/XXXX:$PATH

Thread Participants: 1

Tags for this Thread