Search:

Type: Posts; User: ashenwolf

Search: Search took 0.26 seconds.

  1. Replies
    4
    Views
    486

    Re: I dont understand why this happens....

    Perhaps I'm going about this all wrong. I have been banging my head against this problem for several days now (nearing a week). Perhaps there is a better way and I am just not seeing it.

    Let me...
  2. Replies
    4
    Views
    486

    Re: I dont understand why this happens....

    It throws an exception NoClassDefFound for DocDoom's super class, which was compiled with it (Lets call it Foo). They only way i can bypass the error is to put a copy of Foo in the same directory as...
  3. Replies
    4
    Views
    486

    I dont understand why this happens....

    OK here's the situation, when this code is executed from an IDE (netbeans) It functions flawlessly. However once it is compiled into a .class and thrown into a jar it fails at the line...
  4. [SOLVED] Re: Java Reflection, laoding external classes and casting

    Thanks Json, you hit it perfectly, {SOLVED}! Once i added the subdir to the classpath (netbeans here) it ran smooth as ever, and casting worked wonderfully. Excellent, not i just have to work out...
  5. [SOLVED] Re: Java Reflection, laoding external classes and casting

    dead on the money, striking both of those. looking at the first post i'm leaving out some of the process so I'm going to go over that first.

    I have three files:
    Foo
    Bar
    and Main

    Bar is a...
  6. [SOLVED] Java Reflection, laoding external classes and casting

    OK here is the meat of the issue:
    1) Start up a java program, inputting a directory
    2) program search directory for .class files
    3) program takes class files and makes a new Object instance of...
Results 1 to 6 of 6