• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Picking up the wrong jar file...  RSS feed

 
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.
 
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
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!