The moose likes Distributed Java and the fly likes rmic compile not finding java.util.List Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "rmic compile not finding java.util.List" Watch "rmic compile not finding java.util.List" New topic
Author

rmic compile not finding java.util.List

Marty Trujillo
Greenhorn

Joined: Jun 22, 2001
Posts: 1
Friends,
I am attempting an example from the Java Enterprise in a Nutshell book and everything was going great until I attempted to execute the RMI compiler:
rmic -d /home/servlets/mydomain.com AccountImpl
At this point the comiler threw many errors starting with:
/home/servlets/mydomain.com/AccountImpl_Stub.java:131: Class java.util.List not found in type declaration.
public void transfer(java.util.List $param_List_1, java.util.List $param_List_2)
With the ^ pointing at the t in transfer.
I find this confusing because when I compiled AccountImpl.java I imported java.util.List and the compiler was able to find it.
So the fundemental question is, does the rmic compiler have it's own classpath?
Thank you so much for any help.
Marty Trujillo
 
 
subject: rmic compile not finding java.util.List
 
Threads others viewed
use rmic error
Why rmic does not compile the remote interface implementing?
cookies and domains problem ?
ant rmic task, and running out of stack space
How to get server IP address?
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture