G
Gary
OK, I decided to try RMI, but I'm getting stuck on compiling. I've
relied so long on Forrte and Eclipse that I can't remember how to
compile.
I have two classes: Foo, and Bar. Bar extends Foo. The point is that I
have one class that needs the other to compile.
I've tried Textpad and the command line, and neither works, although I
have no problem when I do it from Eclipse.
I've put the in the dedfault package and trry this:
javac Foo.java
javac Bar.java
Foo compiles OK, but when I go to compile Bar, I get this message:
---------------------------------
C:\eclipse\workspace\MyTest\Bar.java:2: cannot resolve symbol
symbol : class Foo
location: class Bar
public class Bar extends Foo {}
^
1 error
Tool completed with exit code 1
---------------------------------
I've also triedd putting them in a package together. Nothing works.
I'm sure this is something simple. I know I've done this a million
times, but I can't remember what I did different.
Thanks for the help, and let this be a warning to any of you who think
an IDE is going to solve all your problems.
relied so long on Forrte and Eclipse that I can't remember how to
compile.
I have two classes: Foo, and Bar. Bar extends Foo. The point is that I
have one class that needs the other to compile.
I've tried Textpad and the command line, and neither works, although I
have no problem when I do it from Eclipse.
I've put the in the dedfault package and trry this:
javac Foo.java
javac Bar.java
Foo compiles OK, but when I go to compile Bar, I get this message:
---------------------------------
C:\eclipse\workspace\MyTest\Bar.java:2: cannot resolve symbol
symbol : class Foo
location: class Bar
public class Bar extends Foo {}
^
1 error
Tool completed with exit code 1
---------------------------------
I've also triedd putting them in a package together. Nothing works.
I'm sure this is something simple. I know I've done this a million
times, but I can't remember what I did different.
Thanks for the help, and let this be a warning to any of you who think
an IDE is going to solve all your problems.