Results 1 to 4 of 4

Thread: install tc server causes ExceptionInInitializerError

  1. #1
    Join Date
    Aug 2007
    Posts
    29

    Default install tc server causes ExceptionInInitializerError

    Hi all,

    Im trying to install tc server, I downloaded the archive file, uncompressed it and when I run the command install.sh, I get this exception:

    Exception in thread "main" java.lang.ExceptionInInitializerError
    at java.lang.Class.initializeClass(libgcj.so.81)
    at org.codehaus.groovy.reflection.ReflectionCache.get CachedClass(ReflectionCache.java:107)
    at org.codehaus.groovy.reflection.ReflectionCache.<cl init>(ReflectionCache.java:52)
    at java.lang.Class.initializeClass(libgcj.so.81)
    at org.codehaus.groovy.runtime.metaclass.MetaClassReg istryImpl.registerMethods(MetaClassRegistryImpl.ja va:136)
    at org.codehaus.groovy.runtime.metaclass.MetaClassReg istryImpl.<init>(MetaClassRegistryImpl.java:86)
    at org.codehaus.groovy.runtime.metaclass.MetaClassReg istryImpl.<init>(MetaClassRegistryImpl.java:64)
    at groovy.lang.GroovySystem.<clinit>(GroovySystem.jav a:28)
    at java.lang.Class.initializeClass(libgcj.so.81)
    at org.codehaus.groovy.runtime.InvokerHelper.<clinit> (InvokerHelper.java:47)
    at java.lang.Class.initializeClass(libgcj.so.81)
    at java.lang.Class.forName(libgcj.so.81)
    at java.lang.Class.forName(libgcj.so.81)
    at installer.class$(installer.groovy)
    at installer.$get$$class$org$codehaus$groovy$runtime$ InvokerHelper(installer.groovy)
    at installer.main(installer.groovy)
    Caused by: java.lang.NullPointerException
    at java.lang.ref.Reference.<init>(libgcj.so.81)
    at java.lang.ref.WeakReference.<init>(libgcj.so.81)
    at org.codehaus.groovy.reflection.ClassInfo.<clinit>( ClassInfo.java:401)
    at java.lang.Class.initializeClass(libgcj.so.81)
    ...15 more
    NB: sysyem: Ubuntu 4.1.2-16ubuntu2, jdk 1.5

    thanks

  2. #2

    Default use another jvm

    Don't use gcj.
    Use sun, IBM or an oracle jvm.

  3. #3
    Join Date
    Aug 2007
    Posts
    29

    Default

    Quote Originally Posted by fhanik View Post
    Don't use gcj.
    Use sun, IBM or an oracle jvm.
    how to change it?

    I set java_home to the sun's JVM

  4. #4
    Join Date
    Aug 2007
    Posts
    29

    Default

    Use export JAVA_HOME does not work, I putted the full path of java command.

    thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •