A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
IDEs, Version Control and other tools
2 jar files having the same package structure
Joined: Apr 13, 2005
May 20, 2005 08:07:00
I hope this is the right forum for this question.
I have a jar file (jar1) with a package structure
The files in this package refer to a class ServiceContext which is part of second jar file
The second jar file also has the same pkg structure
only the last package name is different in jar1 file & jar2 file.
I have both the jar files in the classpath but still i am not able to locate the classpath for ServiceContext in 2nd jar file.
How do i get around this.
It seems the jvm looks only in the first jar & since it does not find a util package errors out.
Is there a way to force it to look in the 2nd jar
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: 2 jar files having the same package structure
Class Loading in Websphere?
Class Loading in JBoss
how to define jars in classpath
Java JARs With Dependancies On Other JARs
Invoke a Class from a Particular JAR file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014