This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i noticed, when i read tomcat's startup script, they include something when they run the 'java' commnad, likes, -Djava.endorsed.dirs, -Dcatalina.base, -Dcatalina.home, -Djava.io.tmpdir. what does it mean? is there more and if is, then, what are they?.... if i have, perhaps more than 10 jar's files, do i must specified each jar files in '-classpath', or there is something else i can do? and, how can i do something like tomcat, which allow me to specify, classes in some folder/s can/can't be access by my child class?..... [ May 06, 2002: Message edited by: Ariffin Ahmad ]
The java -Dname="value" option specifies a system property, which you can retrieve as String value = System.getProprety("name"); See the documentation for the java command and the System method. You can define your own, or override standard settings. See System.getProperties() for the standard list. Moving on. If the jar files are not application-specific, you might put them in the JRE's lib\ext directory (or the JDK's jre\lib\ext). I've done little with security policy, so I'll not try to answer that.
Joined: Aug 16, 2001
Originally posted by John Dale:
I've done little with security policy, so I'll not try to answer that.
about the jar's file access, i dont need any security on it. i only want to copy tomcat style. i will have 2 folder, one for the main app, and the other for the child thread. whatever jars i want to use with my main app, i will put it in the main folder. and whatever jars i wanna use wil the child thread, i will put it in child folder. and, on runtime, they don't need to specify the classpath. any idea?....