Java + security properties

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
HaRdCoRaS
Forum Newbie
Posts: 2
Joined: Wed Oct 09, 2002 2:16 pm

Java + security properties

Post 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.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

found this in the bug-list: http://bugs.php.net/bug.php?id=14773
not really an answer but .....
HaRdCoRaS
Forum Newbie
Posts: 2
Joined: Wed Oct 09, 2002 2:16 pm

Post 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.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

good to know when I'm going to use java from within php (if) ;)
Post Reply