Re: How to include *.class file with package in CLASSPATH?



Ulf Meinhardt wrote:
I added D:\java\output\aaa\bbb\ccc to the CLASSPATH. Shouldn't that be sufficient?

It should be D:\java\output\.

Java assumes that a class `java.lang.Object' would be stored in java\lang\Object.class with some path from the classpath prepended to it, be it jar:rt.jar! (e.g., for a jar file) or D:\java\output\.

--
Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth
.



Relevant Pages

  • OT: Religion
    ... Having personally started "Making Money from Java" - all I got was from Donald - Sun Microsystems sue the rest of the world and some ...
    (comp.lang.cobol)
  • Re: How to check if a directory exists? folder.exists() does not work!
    ... Ulf Meinhardt wrote: ... you should probably stop cross-posting your queries. ... Andreas Leitgeb wrote: ... Java has nothing to do with it - it simply passes along the characters ...
    (comp.lang.java.programmer)
  • Re: Java and history in the making
    ... JSH wrote: ... [A lot of philosophy. ... why post to c.l.j.p if you're not going to talk about Java beyond "I wrote X in Java once"? ... -- Donald E. Knuth ...
    (comp.lang.java.programmer)
  • Re: Unterschied zwischen VB6 und .NET
    ... ich von Java her. ... Versuch dies durch das Wörtchen "syntaktisch" zu implizieren, ... Knuth ...
    (microsoft.public.de.vb)