ok. started fiddling. I have narrowed the error to the following:
When trying to init the class in PHP I get the following error.
Warning: java.lang.ExceptionInInitializerError in /s/j/l.php on line 5
The line that it breaks on in the JAVA class is:
KeyGenerator kg = KeyGenerator.getInstance("DES");
The PHP close to init the class is:
$system = new Java('DESCryptoTest');
I can run other classees. it is just when I try run this crypt class
I can run the test JAVA code in PHP that is supplied in the manual.