Announcement Announcement Module
Collapse
No announcement yet.
install tc server causes ExceptionInInitializerError Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    use another jvm

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

    Comment


    • #3
      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

      Comment


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

        thanks!

        Comment

        Working...
        X