Menu

java class not found error Linux-amd64-64

2013-03-28
2013-05-09
  • Arpit Gupta

    Arpit Gupta - 2013-03-28

    This is what i am doing.

    I am overwriting a jar with emma instrumentation. And then i try to start my service. The instrumentation is successful and emma.jar is in the classpath.

    When i try to start the service i get the following error

    Exception in thread "main" java.lang.NoClassDefFoundError: Linux-amd64-64
    Caused by: java.lang.ClassNotFoundException: Linux-amd64-64
            at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    [code]
    The above was on RHEL 6.2 and jdk
    [code]
    java version "1.6.0_31"
    Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
    Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
    [code]
    I got a similar error when i tried to do it on my mac
    [code]
    Exception in thread "main" java.lang.NoClassDefFoundError: Mac_OS_X-x86_64-64
    Caused by: java.lang.ClassNotFoundException: Mac_OS_X-x86_64-64
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    [code]
    With java
    [code]
    java version "1.6.0_43"
    Java(TM) SE Runtime Environment (build 1.6.0_43-b01-447-11M4203)
    Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-447, mixed mode)
    [code]
    Has any body seen this and has suggestions?
    
     
  • Arpit Gupta

    Arpit Gupta - 2013-03-28

    oops forgot the close the code tags. Cant seem to edit an existing post.

     
  • Arpit Gupta

    Arpit Gupta - 2013-03-29

    My emma version is emma-2.0.5312 from the emma-release folder on sourceforge.

     

Log in to post a comment.