Page 1 of 1

Java + security properties

Posted: Wed Oct 09, 2002 2:16 pm
by HaRdCoRaS
I have a huge php coded file (a lot of java scripts). And i'm using Java objects. But i have a problem, then php creates an object (like $system = new Java("java.lang.System"); ) it prints into output message:
"security properties not found. using defaults.". And this message is printed in the generated html file.

Can anybody tell me what to do??

Thx

p.s. i have this problem only with huge file.

Posted: Fri Oct 11, 2002 9:31 pm
by volka
found this in the bug-list: http://bugs.php.net/bug.php?id=14773
not really an answer but .....

Posted: Sat Oct 12, 2002 6:25 pm
by HaRdCoRaS
volka :) thx for a answer :)

but i'll fix this problem :)

i changed java.home = %java_sdk_home%
to java.home = %java_jre_home%
in php.ini :)
a that's all

because security properties are set in %java_jre_home%/lib/security folder.

Posted: Sat Oct 12, 2002 7:49 pm
by volka
good to know when I'm going to use java from within php (if) ;)