Hitachi Vantara Pentaho Community Forums
Results 1 to 7 of 7

Thread: cannot run spoon.sh on redhat linux

  1. #1
    Join Date
    Jun 2008
    Posts
    3

    Default cannot run spoon.sh on redhat linux

    here is the following error messages


    [root@node1 kettle3.0.2]# ./spoon.sh
    Warning: -Xmx256m not understood. Ignoring.
    Exception in thread "main" java.lang.ClassFormatError: org.pentaho.di.core.RowMetaAndData (erroneous method access flags)
    at _Jv_ClassReader.throw_class_format_error(byte) (/usr/lib/libgcj.so.5.0.0)
    at _Jv_ClassReader.handleMethod(int, int, int, int) (/usr/lib/libgcj.so.5.0.0)
    at _Jv_ClassReader.read_methods() (/usr/lib/libgcj.so.5.0.0)
    at _Jv_ClassReader.parse() (/usr/lib/libgcj.so.5.0.0)
    at _Jv_DefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
    at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.5.0.0)
    at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
    at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
    at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
    at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
    at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
    at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
    at __gcj_personality_v0 (/usr/local/kettle3.0.2/java.version=1.4.2)
    at __libc_start_main (/lib/tls/libc-2.3.4.so)
    at _Jv_RegisterClasses (/usr/local/kettle3.0.2/java.version=1.4.2)



    how do i solve this problem. i'm such a newbie on this

  2. #2

    Default

    Install real Java not the fake one that comes with Redhat varients
    This is a signature.... everyone gets it.

    Join the Unofficial Pentaho IRC channel on freenode.
    Server: chat.freenode.net Channel: ##pentaho

    Please try and make an effort and search the wiki and forums before posting!
    Checkout the Saiku, the future of Open Source Interactive OLAP(http://analytical-labs.com)

    http://mattlittle.files.wordpress.co...-bananaman.jpg

  3. #3
    Join Date
    May 2006
    Posts
    4,882

    Default

    Hint: the Sun one

  4. #4
    Join Date
    Jun 2008
    Posts
    3

    Default

    which version should i use?


    i tried this version j2sdk-1_4_2_13-linux-i586.bin it still gives me the same problem

  5. #5

    Default

    1.5 JDK or above I think
    This is a signature.... everyone gets it.

    Join the Unofficial Pentaho IRC channel on freenode.
    Server: chat.freenode.net Channel: ##pentaho

    Please try and make an effort and search the wiki and forums before posting!
    Checkout the Saiku, the future of Open Source Interactive OLAP(http://analytical-labs.com)

    http://mattlittle.files.wordpress.co...-bananaman.jpg

  6. #6
    Join Date
    Jun 2008
    Posts
    3

    Default

    now i've switch with another server which has a jdk1.5.0_07

    can any1 help me with this. problem occur's again

    [root@node2 kettle 3.0.2]# ./spoon.sh
    Exception in thread "main" org.eclipse.swt.SWTError: No more handles [gtk_init_c heck() failed]
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.widgets.Display.createDisplay(Unknown Source)
    at org.eclipse.swt.widgets.Display.create(Unknown Source)
    at org.eclipse.swt.graphics.Device.<init>(Unknown Source)
    at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
    at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:367)



    i've managed to run pan.sh with no problems.

  7. #7
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    Why don't you search the forum first? It means it can't find a desktop environment (X-windows, KDE/Gnome, etc)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.