[2077] in java-interest

home help back first fref pref prev next nref lref last post

native method build problem

daemon@ATHENA.MIT.EDU (Jon Hale)
Fri Sep 22 21:08:55 1995

Date: Fri, 22 Sep 1995 15:12:20 -0700
From: Jon Hale <jon@BASISinc.com>
To: java-interest@java.sun.com

I have been trying to implement a native method and was having trouble.
I went back to the demo in the alpha3 release ..../hotjava/doc/native
where there is a Makefile and typed "make"
I got the following...
------------------------------------------------------------------------
javac demo/File.java
javac demo/InputFile.java
demo/InputFile.java:42: Class or interface definition expected.
package demo;
^
demo/InputFile.java:52: Super class File of class InputFile not found.
class InputFile extends File {
      ^
2 errors
*** Error code 1
make: Fatal error: Command failed for target `InputFile.class'
------------------------------------------------------------------------

Am I doing something silly? Is there a simple fix?
Thanks,
-jon
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post