Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eclipse - java.lang.NoClassDefFoundError: com/sleepycat/je/DatabaseException



Guillermo Acilu wrote:

My question is why Eclipse loaded the imported classes to compile the class and not to run it. Does anybody know? Is there anyway that the classes in the OS Java extensions are always loaded in Eclipse for Compile and Run?

How do you know Eclipse loaded the imported classes to compile them?

If your project is built using Ant, then Ant is responsible for compiling the source files, not Eclipse. Ant usually runs 'javac', and the default behavior for 'javac' (and for Ant itself) is to use the default extensions directories.

If your project is built using a different build tool, it probably still runs 'javac' at some point, so the default for 'javac' would be the same.

  -- GG

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.