• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Picking up the wrong jar file...

 
Jay Schrock
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my OBJECT tag, my codebase specifically points to a jar file in the current directory (where all the html is...). However I found out that if this jar file also exists in the JRE's lib/applet directory, for example C:\Program Files\Java\j2re1.4.1_02\lib\applet directory, my applet will always pick this jar file for the first applet that is engaged by the browser. Anybody know if this is a current problem? Should it pick up jars from this library before any library we specify in the codebase param? My CLASSPATH is empty as well, Thanks in advance.
 
Nicholas Turner
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not an expert but Java has a strict rule of where it searches first. Maybe there would be a way to give hints.
My textbook has it somewhere if I find I'll post it but i think its current directory, common, and jre.
I'll try to find it.
sorry couldnt be of more help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic