running a compiled program using 'java' command fails, 'sablevm' succeeds-solved

mel kravitz <[email protected]> Thu, 21 Apr 2005 08:59:46 -0400
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
Thanks, that did it. (someone add CLASSPATH howto to your wiki?)

Hi Mel,

This is because the CLASSPATH variable is defined but does not include
"." (current directory).
Use: CLASSPATH=/usr/local/lib/sablevm/jre/lib:.

The current directory is included by default only if no CLASSPATH is
defined.

David

---

David Bélanger
Web page:   http://www.cs.mcgill.ca/~dbelan2/ <http://www.cs.mcgill.ca/%7Edbelan2/>