O'Reilly Forums: Problem Running Rmic - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Problem Running Rmic Problem running rmic

#1 User is offline   Thomas Kennedy 

  • New Member
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 17-August 10

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.
0

#2 User is offline   cwik007 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 06-June 12

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users