Author | Message |
---|---|
HuanXue
Posts: 34
|
Posted 18:00 Nov 05, 2010 |
When I run it ,I got this.
Microsoft Windows [Version 6.0.6002]
C:\Users\XH>rmiregistry
java.rmi.RemoteException: failed to export: class gnu.java.rmi.dgc.DGCImpl at 0x00418dde (Unknown Source) at 0x004192d2 (Unknown Source) at 0x00443aa4 (Unknown Source) at 0x0046adc4 (Unknown Source) at 0x0040984d (Unknown Source) at 0x0040989a (Unknown Source) at 0x00409090 (Unknown Source) at 0x00468c70 (Unknown Source) at 0x00468d37 (Unknown Source) at 0x0040906c (Unknown Source) at 0x0040a972 (Unknown Source) at 0x0040ac05 (Unknown Source) at 0x00401a80 (Unknown Source) at 0x0040cb73 (Unknown Source) at 0x0040cbae (Unknown Source) at 0x00401733 (Unknown Source) at 0x0047d601 (Unknown Source) at 0x00416afe (Unknown Source) at 0x0041f220 (Unknown Source) at 0x004033f7 (Unknown Source) at 0x004034c7 (Unknown Source) at 0x00401328 (Unknown Source) at 0x00401247 (Unknown Source) at 0x00401294 (Unknown Source) at 0x7603d0e5 (Unknown Source) at 0x775a19b7 (Unknown Source) at 0x775a198a (Unknown Source)
It will work or not?
|
cysun
Posts: 2935
|
Posted 18:11 Nov 05, 2010 |
It looks like you are running GCJ's version of rmiregistry instead of the one from the official JDK. You can try either running rmiregistry with the full path, i.e. <jdk_directory>\bin\rmiregistry, or modify your PATH environment variable so <jdk_directory>\bin appears before the other bin directory. |
HuanXue
Posts: 34
|
Posted 19:05 Nov 05, 2010 |
C:\Users\XH>cd C:\Program Files\Java\jdk1.6.0_14
C:\Program Files\Java\jdk1.6.0_14>cd bin
C:\Program Files\Java\jdk1.6.0_14\bin>rmiregistry
I went to the jdk folder, run it again, and have waited for 10 minute. Nothing happened and it doesn't stop.
Running C:\Program Files\Java\jdk1.6.0_14\bin\rmiregistry results the same thing.
|
cysun
Posts: 2935
|
Posted 19:39 Nov 05, 2010 |
It runs a server, so yes, it doesn't stop until you Ctrl-C. |
HuanXue
Posts: 34
|
Posted 19:46 Nov 05, 2010 |
So we should leave it running there.... OK, got it. Thank you. |