Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jar Files Extracting On Compile

 
Lisa Modglin
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sounds very suspicious to me.
I never heard of such thing before.
How do you compile your classes?
javac
ant
with a IDE? (which?)
 
Lisa Modglin
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic