Results 1 to 4 of 4
  1. #1
    lucnap is offline Member
    Join Date
    Apr 2009
    Posts
    2
    Rep Power
    0

    Default JBE Java Bytecode Editor

    Hello, I don't know because I can't execute the program JBE Java Bytecode Editor.
    It is a program to edit class files directly.
    When I launch it from command line, it give me this error:
    -------------------------------------------------------
    Exception in thread "main" java.lang.NoClassDefFoundError: BrowserApplication
    Caused by: java.lang.ClassNotFoundException: BrowserApplication
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Could not find the main class: BrowserApplication. Program will exit.
    -----------------------------------------------------

    The program is donwloaded from this site cs.ioc.ee/~ando/jbe
    I don't understand what is my error, please help me.
    Thanks

    Luciano

  2. #2
    OrangeDog's Avatar
    OrangeDog is offline Senior Member
    Join Date
    Jan 2009
    Location
    Cambridge, UK
    Posts
    838
    Rep Power
    6

    Default

    You're trying to load the class BrowserApplication and it cannot be found.
    Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
    How To Ask Questions The Smart Way

  3. #3
    lucnap is offline Member
    Join Date
    Apr 2009
    Posts
    2
    Rep Power
    0

    Default

    Quote Originally Posted by OrangeDog View Post
    You're trying to load the class BrowserApplication and it cannot be found.
    Yes I know that! I'm not a newbie, the problem is I don't understand why!
    It is good open source project, please, somebody would like to download and try to run it?
    Thanks
    Luciano

  4. #4
    OrangeDog's Avatar
    OrangeDog is offline Senior Member
    Join Date
    Jan 2009
    Location
    Cambridge, UK
    Posts
    838
    Rep Power
    6

    Default

    Because the class isn't in the right place or you haven't told the application the right thing. If it's in a package you need to give the full package path and make sure the file is in the correct directory structure. Otherwise you either need to set the correct working path or classpath.
    Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
    How To Ask Questions The Smart Way

Similar Threads

  1. Help with bytecode in java
    By coco in forum New To Java
    Replies: 3
    Last Post: 04-16-2009, 09:48 AM
  2. differences between bytecode and executable code
    By valery in forum New To Java
    Replies: 2
    Last Post: 04-16-2009, 09:13 AM
  3. [SOLVED] How to get the .class file which bytecode is in
    By raffaele181188 in forum New To Java
    Replies: 12
    Last Post: 04-16-2009, 08:41 AM
  4. Editor for Java
    By peiceonly in forum New To Java
    Replies: 4
    Last Post: 08-13-2008, 09:27 AM
  5. Editor for java
    By thirdy_veritech in forum Other IDEs
    Replies: 6
    Last Post: 12-24-2007, 07:17 AM

Posting Permissions

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