Re: JAR file which needs to call another jar file....
- From: James Westby <jw2328@xxxxxxxxxx>
- Date: Sun, 29 Jan 2006 22:47:33 GMT
gooderthanyou@xxxxxxxxx wrote:
Ok... I'm using eclipse and I create a jar (with applet and all). It runs fine in eclipse but out on its own, it doesn't. I simply am using this html to open the jar..:
<HTML> <HEAD> <TITLE>Pinball</TITLE> </HEAD> <BODY>
<p> <APPLET code = "GUI.class" name="Pinball" width = "626" height = "501" archive = "PinballGame.jar" id="Pinball"> Java is not installed get it now! </APPLET> </p> <p>Pinball created by Natalie, Curtis, Vincent, and Kevin</p> <P><A HREF ="http://www.java.com/en/download/windows_automatic.jsp">Download JAVA Virtual Machine Here</P> </BODY> </HTML>
The only problem is I have physics.jar, it is included in the jar but
for some reason it won't access it, i've looked for the past 3 hours
trying to figure it out,
Thanks
A jar cannot access a jar within itself. I'm not sure how it works in applets, but in applications the second jar (physics.jar) needs to be outside the first (PinballGame.jar), but on it's classpath.
James .
- Follow-Ups:
- Re: JAR file which needs to call another jar file....
- From: Thomas Hawtin
- Re: JAR file which needs to call another jar file....
- References:
- JAR file which needs to call another jar file....
- From: gooderthanyou
- JAR file which needs to call another jar file....
- Prev by Date: Re: sorry .09 instead of .08
- Next by Date: Re: JAR file which needs to call another jar file....
- Previous by thread: JAR file which needs to call another jar file....
- Next by thread: Re: JAR file which needs to call another jar file....
- Index(es):
Relevant Pages
|