• Post Reply Bookmark Topic Watch Topic
  • New Topic

How To Read a JAR from another JAR??

 
Ramalingam Vijayakumar
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a problem to read a Jar from another JAR.
What I am doing is I have an applet which is read from the ARICHIVE TAG in the HTML page.
The applet in turns read from another JAR.
***** How do I read from another jar. ****** URGENT
thanks,
ram.
 
Tim Holloway
Bartender
Posts: 18471
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the docs on the archive tag. I think you can specify a list of archives (jars).
 
chakri ch
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can include the classpath along with jar file name in the manifest file of the jar file.
For example,
If x.jar and y.jar is used by Main.jar. While generating Main.jar include in the manifest file a classpath that includes both x.jar and y.jar.
Class-Path: x.jar y.jar
hope this might help you.
-chakri
 
Ramalingam Vijayakumar
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI tim and chakri...
Thanx for your kindly reply...
bye
ram..
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!