jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes Jar Files Extracting On Compile Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Jar Files Extracting On Compile" Watch "Jar Files Extracting On Compile" New topic

Jar Files Extracting On Compile

Lisa Modglin
Ranch Hand

Joined: Oct 28, 2003
Posts: 46
All of a sudden, my OracleConnectionManager jar file is unzipping and extracting when I compile a class that references the jar file. The jar file has always been in ....tomcat_version/webapps/ROOT/WEB-INF/lib/. I tried moving it jdk_version/jre/lib/ext/, but it is continuing to extract to the classes diretory. My application won't process any servlet or class that uses methods from the OracleConnectionManager jar file when the .class files are in the classes directory. I have tried deleting the unzipped folder, but that doesn't work either. Any ideas? Thanks! Lisa
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

That sounds very suspicious to me.
I never heard of such thing before.
How do you compile your classes?
with a IDE? (which?)

Lisa Modglin
Ranch Hand

Joined: Oct 28, 2003
Posts: 46
I posted this message on four boards and this is the only response I received. Leave it to me to come across something that doesn't happen often. I am compiling with javac. My SysAdmin who doesn't do programming asked if the jar file was associated with a zip utility. It is, so I changed the file association to notepad. This was happening on two different computer. It fixed the problem on one (Windows 2000), but not the other (Windows XP). Is there a better program to associate the jar files with? Thanks!
I agree. Here's the link: http://aspose.com/file-tools
subject: Jar Files Extracting On Compile
It's not a secret anymore!