java.home

Last modified by RaffaelloPelagalli on 2006/03/02 21:48

java.home

Firstly,to install jGuard on the JVM, you should locate your 'java.home' directory (installation directory of your SDK, or JRE platform).

TIPS: you can locate your 'java.home' directory and 'java.security' file ( under the ${java.home}/lib/security/ directory),by executing this little program:

import java.io.File;
    public class JavaHome {
        public static void main(String[] args) {
        System.out.println("your java.home is:  "+System.getProperty("java.home"));
        System.out.println("java.security file located here:  "
        +System.getProperty("java.home")+File.separator+"lib"
        +File.separator+"security"+File.separator);
        }
    }
For example, my 'java.home' on windows is: C:

java

j2sdk1.4.2_04

jre

In a production environment, the jGuard installation on the JVM side should be performed by the server's ADMINISTRATOR.

Tags:
Created by diabolo512 on 2006/02/09 14:44

jGuard team copyright 2004-2009
3.1.1