Win a copy of Kotlin in Action this week in the Kotlin forum!
  • 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/ AccountImpl
At this point the comiler threw many errors starting with:
/home/servlets/ 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 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
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!