> 1. Yes
>
> 2. No,properties file is out of package of LoadProperties-class; but if
> it run with eclipse, it function correctly!
>
> 3.this is code of LoadProperties-class
[...]
> public void load(){
> Properties myProp = new Properties();
[quoted text clipped - 8 lines]
> e.printStackTrace();
> }
You can't use FileInputStream, because that is usable only for plain files,
not for members inside a jar. (It works in eclipse, because eclipse loads
from the plain files, not from your jar file.)
As nikita777 (Joe) already said, use getResourceAsStream:
InputStream is;
try {
is = getClass().getResourceAsStream("/EIF.properties");
myProp.load(is);
} ...
Note especially the "/" in the path. You need it, because as you say your
properties file is out of any package in your jar file (i.e. it is in the
root directory inside the jar). See also
<http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html#getResourceAsStream
(java.lang.String)>
[...]
> what do you think?

Signature
"TFritsch$t-online:de".replace(':','.').replace('$','@')