Hi,
just run this little program I wrote some time ago and it will tell you exactly
where to put your opencard.properties file.

import java.util.Properties;
public class findOCP {
    public static void main(String[] argv) {
     Properties props = System.getProperties();
     String JavaHome  = props.getProperty("java.home");
     String UserHome  = props.getProperty("user.home");
     String UserDir   = props.getProperty("user.dir");

     System.out.println("Looking for OpenCard Properties file in:\n\t"
                        + JavaHome + "\\lib\\opencard.properties\n\t"
                        + UserHome + "\\.opencard.properties\n\t"
                        + UserDir  + "\\opencard.properties\n\t"
                        + UserDir  + "\\.opencard.properties\n");
    }
}

bye,
Jan


[EMAIL PROTECTED] on 26.10.99 13:43:49

Please respond to Bartek Paszkowski <[EMAIL PROTECTED]>

To:   "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
cc:    (bcc: Jan Peter Hecking/Germany/IBM)
Subject:  [OCF]  Problems with jdk1.2.2




Hi,
I have one question: where to put opencard.properties file ?
I've put it jdk1.2.2\lib (also jdk1.2.2\jre\lib) but unfortunately it
doesn't work.
I tried JAVA_HOME = c:\jdk1.2.2 but the result was also poor...
I am quite confused because when I used jdk1.1.8 everything was fine.

Any ideas ?

Cheers,

Bartek Paszkowski.




---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

Reply via email to