decompiling error

  • ego

    ego - 2004-08-18

    Hi all,

    I have encountered a problem while decompiling a class using the latest version,

    java jode.decompiler.Main --classpath $CLASSPATH  --dest /root/test/source ocf.pocket.action.AccountAction
    Jode (c) 1998-2001 Jochen Hoenicke <>
    Can't read class javax.servlet.http.HttpServletRequest, types may be incorrect.
    ( javax/servlet/http/HttpServletRequest.class) javax/servlet/http/HttpServletRequest.class
            at jode.bytecode.SearchPath.getFile(
            at jode.bytecode.ClassInfo.loadInfo(
            at jode.bytecode.ClassInfo.getModifiers(
            at jode.bytecode.ClassInfo.isInterface(
            at jode.type.ClassInterfacesType.<init>(
            at jode.type.Type.tClass(
            at jode.type.Type.tClass(
            at jode.type.Type.tType(
            at jode.type.MethodType.<init>(
            at jode.type.Type.tMethod(
            at jode.decompiler.MethodAnalyzer.<init>(
            at jode.decompiler.ClassAnalyzer.initialize(
            at jode.decompiler.ClassAnalyzer.dumpJavaFile(
            at jode.decompiler.ClassAnalyzer.dumpJavaFile(
            at jode.decompiler.Main.decompileClass(
            at jode.decompiler.Main.decompile(
            at jode.decompiler.Main.main(

    Do you have any ideas?Many thanks!


    • Chad McHenry

      Chad McHenry - 2004-08-18

      The problem is with the $CLASSPATH. Jode does not use the same separator between classpath elements as java, jode uses ',' where as java uses either ';' or ':' depending on platform.

      Make sure that every class which is used by the program you are decompiling (yes, you have to include $JAVA_HOME/jre/lib/rt.jar) are listed on the --classpath argument to Main.


      • Martín Ferrari

        Martín Ferrari - 2004-08-18

        I would add that the class missing should be in the servlets jar


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks