Creating a .jar package file
From: Mike B (mrcics2000-news-nomail_at_nomail.yahoo.com)
Date: 09/29/04
- Next message: Bryce: "Re: Creating a .jar package file"
- Previous message: Sergio: "Re: java ,program"
- Next in thread: Bryce: "Re: Creating a .jar package file"
- Reply: Bryce: "Re: Creating a .jar package file"
- Reply: Andrew Thompson: "Re: Creating a .jar package file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Sep 2004 15:56:33 -0500
OK, now I'm really stuck and I can't get things clear in my mind.
I've created an application Prob3PaneApp in directory \fall2004\bcis\ this
application won't compile because it needs to find a class Prob3Customer.
I've created a class Prob3Customer in directory \fall2004\bcis\edu\mpb\Prob3
this compiles clean and creates a .class file.
I've run "jar cvf prob3.jar edu\mpb\prob3" this says it included the class
Prob3Customer in the .jar file.
Now I'm stuck.... where on earth do I have to put the .jar file and what
will the include statement look like to include this class in my
Prob3PaneApp application? The book wan't me to stick it in
c:\jdk1.4.2\jre\lib\ext directory, but I'd rather not stick my files in the
Java directories. Can't I just change a PATH statement or something?
Besides, if I were to do this on a lab machine, I'd never get access to the
Java directories and I must run it on a lab machine as final proof.
Thanks
-- Mike B
- Next message: Bryce: "Re: Creating a .jar package file"
- Previous message: Sergio: "Re: java ,program"
- Next in thread: Bryce: "Re: Creating a .jar package file"
- Reply: Bryce: "Re: Creating a .jar package file"
- Reply: Andrew Thompson: "Re: Creating a .jar package file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|