users
[Top] [All Lists]

Dynamic Jar Linking

To: users@xxxxxxxxxx
Subject: Dynamic Jar Linking
From: "James Taylor" <newbie30@xxxxxxxxx>
Date: Mon, 26 Feb 2007 14:08:32 -0500
Delivered-to: mailing list users@cinjug.org
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=kliKrEpUQpw9HAfFJLIqe0ZxgancDAKLZzU14IUPtkvUoPdvKED5u96rVIO5UeO+FG1BHqnuVpPh6bqxAQzjG1+hDXxq3N0eossOcrH5z1fPB2twVU3M8yD/vWKkEQHafAzvp4JYGi41Y1ODLeYWN6dgz1LpSsVNxn12XfHqMH0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=g2o+vyFX+JkuGha/npCsT0Ut9a02kQ6LDniWb/9ehGNK9GBvi+Jn/hkXRkb7/iDkk9VloQUKk1yzm0HexlvMH6M4c0A4p2Sb0oo3DLcLx+TcIYCHIuPZak97QBW+H0GD7r//LupNCOHGcGwfWV/0gHajf+lc8VNG53feZ6nnTp4=
Mailing-list: contact users-help@cinjug.org; run by ezmlm
Hello All,
I'm extremely new to Java and I've a question that hopefully will be easy to
answer.


This setup will have 3 machines: my development machine, the web server, and
a client machine.
They will all have jre 1.4.2_13 installed. My dev box will have the
j2sdk1.4.2_13 SDK installed. The web server will have what's needed to serve
the files.

At this point I've installed a product in my development machine that places
two jars in the sdk and the c:\program files\java\jre1.4.2_13\ directories.
Then I've gone ahead and written an interface that uses a handful of classes
that those jars contain.

The problem is that I don't know how to compile and distribute the three jar
files ( two from install, one custom written ) to the web server so that it
will distribute all of the needed files to the client machine.
RIght now I'm getting a NoClassDefFound error since I'm not downloading the
2 installed .jars to the client machine.

Hopefully this is something simple that I just haven't figured out.

Thanks in advance,
James
<Prev in Thread] Current Thread [Next in Thread>