how to set the classpath for the class inside the jar
===

There are two jar files , both on the different environment.Say Temp and Com

both contains folder named myname which contains all the classes.

when i replaced the folder 'myname ' of Temp  with the Com and created a new jar(say final) and put in the environment in which Temp  is residing.

I am getting the exception as noclassdeffound error .myname/Classname 

The myname folder is located in the jar which i am currently  running i.e final

So how can i set classpath for it.




