• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jeode and Jbed ClassLoader differences?  RSS feed

Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Has anyone experienced class loading differences between Jeode and JBed
This reason I'm asking is because we've used Jeode for 2 years now and
it works fine. Now we're trying to convert to Jbed CDC, but we're
having some problems.

The following (pseudo) code works on Jeode but not on Jbed:

test = true;
if (test) {
new ClassSupportedByCDC();
else {
new ClassNOTSupportedByCDC();

The class ClassNOTSupportedByCDC is never instantiated (test is always
true) but Jbed gives a:
java.lang. NoClassDefFoundError:ClassNOTSupportedBy

as soon as one enter the method with the code metioned (it doesn't
execute a single line).
Does the runtime for Jbed preload all classes? Is this some kind of
optimization? Is there any way around this?
As I said before, it works great with Jeode.

By the way, anyone know if there are any forums available to discuss
about Jbed/Jeode and java related issues?

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!