lock created to jar file

I have the following piece of code

URL url = new URL("jar:file://jarFile.jar!/common.property");

JarURLConnection jarCon = (JarURLConnection) url.openConnection();

objInputStream = jarCon.getInputStream();

objInputStream.close();

objInputStream = null;

jarCon = null;

url = null;

After executing this code, a lock is set on the jar file. I am not able to delete or rename this file. Message is shown that the file is used by so me other program.

Can anybody help me?

Thx in adv.

omni

[556 byte] By [omnia] at [2007-10-2 7:31:51]
# 1
Terminate your application, then rename / delete the file.Kaj
kajbja at 2007-7-16 21:11:27 > top of Java-index,Java Essentials,Java Programming...
# 2
i want to do it while running my application.Cant i do that?i have closed the connection.
omnia at 2007-7-16 21:11:27 > top of Java-index,Java Essentials,Java Programming...