Jump to content


Photo

Problem Running Rmic


  • Please log in to reply
1 reply to this topic

#1 Thomas Kennedy

Thomas Kennedy

    New Member

  • Members
  • Pip
  • 7 posts

Posted 11 November 2010 - 02:04 PM

in chapter 11 when I have set up the various classes and try to run rmic I get the following exception:

java.lang.ExceptionInInitializerError
at com.sun.corba.se.impl.logging.UtilSystemException.get(UtilSystemException.java:5
4)
at com.sun.corba.se.impl.util.Utility.<clinit>(Utility.java:78)
at sun.rmi.rmic.RMIGenerator.sourceFileForClass(RMIGenerator.java:196)
at sun.rmi.rmic.RMIGenerator.<init>(RMIGenerator.java:277)
at sun.rmi.rmic.RMIGenerator.generate(RMIGenerator.java:115)
at sun.rmi.rmic.Main.doCompile(Main.java:546)
at sun.rmi.rmic.Main.compile(Main.java:148)
at sun.rmi.rmic.Main.main(Main.java:785)
Caused by: java.util.MissingResourceException: Can't find com.sun.corba.se.impl.logging.LogStrings bundle

When I go poking around in rt.jar I see the stuff under com.sun.corba.se.impl.logging but nothing resembling a LogStrings class.

I'm using jre 1.6.0_22-b04.

Is there something missing from my jre, as it seems, or is this some other kind of problem? I've had some difficulty getting the Java setup to run -- the machine may be due for a rebuild.

#2 cwik007

cwik007

    New Member

  • Members
  • Pip
  • 1 posts

Posted 06 June 2012 - 12:01 PM

Hello! I had the same issue and I hope this helps. The resource IS NOT in the rt.jar file it's in the resource.jar file in the jre lib directory.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users