• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

rmic command : Class file not found

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have my server file EUStatsServer.java(server program using RMI) and interface file EuStats.java(Interface having definition of method that would be used in EUStatsServer.java file) in C:\rmi folder.
firstly i compiled these file. i got EUstats.class file
While using command rmic EUStatsServer. it gives an error.
Class EUStatsServer not found.
 
Bartender
Posts: 2292
3
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greetings, Sa. Welcome to JavaRanch!

First, is this question related to the OCMJD certification?

Other than that, please TellTheDetails. How do you expect us to help you without knowing what is the error you are getting?
 
Bartender
Posts: 2416
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I assume Sa Ag is working on the assignment to create the RMI application.
By using JDK 1.5 or above, you don't need rmic to generate a stub file as the stub file will be generated automatically.

To run rmic EUStateServer, make sure the class file is in the right directory.
From this command, "rmic EUStatsServer", EUStatsServer.class is supposed to be in the same directory as rmic exeutable file (which is in the same directory as javac, java .... in JDK).
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic