• Post Reply Bookmark Topic Watch Topic
  • New Topic

rmic compile not finding java.util.List  RSS feed

Marty Trujillo
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!