Hi there!

Here's a hint to get Sun's javah to use Classpath's classes to generate
its header files:

Just use the -bootclasspath option:

  javah -classpath /home/you/classpath \
     -bootclasspath /home/you/classpath \
     -jni java.lang.YourClass

Please let me know if this doesn't work for you.

Etienne

> > I ran into similar problems.  I'm using JDK 1.2, and had to increase
> > the max heap value to javac to get it to compile.  I then used javah
> > to generate the header files, and it seems like the headers are
> > generated based on the JDK classes, not Classpath.
> 
> I gave JDK 1.3 beta for Linux a try tonight and ran into a few
> problems trying to compile things.  I'll take a look again later this
> week when I get a chance to find and fix these problems if it is
> possible.

-- 
----------------------------------------------------------------------
Etienne M. Gagnon, M.Sc.                     e-mail: [EMAIL PROTECTED]
Author of SableVM:                             http://www.sablevm.org/
----------------------------------------------------------------------

Reply via email to