problems running examples: Exception in thread "main" java.lang.Error: Error in RandomSeed, no sha1 hash

Bill Babcock Bill Babcock" <bill@goldwiretech.com
Fri, 23 Aug 2002 14:39:00 -0400


Hi there,

Some env info first:

OS/CPU: Linux nicknack 2.4.9-34 #1 Sat Jun 1 06:25:16 EDT 2002 i686 unknown
MindTerm Version: OEM AppGate 2.2 MindTerm
Testing Standalone: /usr/java/jdk1.3.1_01 (I also have 1.4)


We've OEM'd MindTerm, and I am trying to get familiar with this in
order to integrate it with our product.

So I decided to start off with the examples.

Each one exhibits this same error:

nicknack: bill > /usr/java/jdk1.3.1_01/bin/javac examples/GenerateKeyPair.java 

nicknack: bill > java examples/GenerateKeyPair
usage: GenerateKeyPair <definition-file>

nicknack: bill > java examples/GenerateKeyPair /tmp/foo
Exception in thread "main" java.lang.Error: Error in RandomSeed, no sha1 hash
	at com.mindbright.util.RandomSeed.getSystemStateHash(RandomSeed.java:261)
	at com.mindbright.util.RandomSeed.init(RandomSeed.java:113)
	at com.mindbright.util.RandomSeed.<init>(RandomSeed.java:95)
	at examples.GenerateKeyPair.createSecureRandom(GenerateKeyPair.java:86)
	at examples.GenerateKeyPair.main(GenerateKeyPair.java:106)


I'd greatly appreciate being pointed at what is required to address
this since.

FWIW, connecting via the applet works just fine in standaline mode - I
haven't tried it via a browser, but would bet that works as well.

TIA,

- bill
-- 

                       b i l l   b a b c o c k
          g o l d   w i r e   t e c h n o l o g y   i n c .
  f o n   7 8 1 / 3 9 8 - 8 8 0 0     f a x   7 8 1 / 3 9 8 - 8 8 1 1
              b i l l @ g o l d w i r e t e c h . c o m
               w w w . g o l d w i r e t e c h . c o m 

Rimmer: 'Last time I only failed by the narrowest of narrow margins.'
  Lister: 'You what? You walked in there, wrote, "I am a fish," four
	hundred times, did a funny little dance, and fainted.'