users
[Top] [All Lists]

Re: [cinjug-users] Dynamic Jar Linking

To: users@xxxxxxxxxx
Subject: Re: [cinjug-users] Dynamic Jar Linking
From: "Edward Sumerfield" <esumerfd@xxxxxxxxxxxxxx>
Date: Mon, 26 Feb 2007 15:02:25 -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:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=DSn778t2zS8pKOsyk52QOg85STGQ8ZFiXtolCyVjctgjU6ryi5dcYMbfi4/4L8MvIbeOShFVpc+1r/o+rqukqsgCDDskoyXjus7XlCXYR2cqPHt7e9OwlORQi9kfoS/HLEsyrq39bdiKnTLPMSyFXyd4JzuLoulO0ousycmT3h4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ArtqYgSkUoHJ+A0ma8IjNbyle+R+qf3TTAh1p4SRKSq7Y0p//kQajWL0qYvTKj2i9C9RKDtIq6TS6i9axOTz7MUNnxrYhO7Gou0EveT876fFzgXwCdGuaUj6ssLlAmich5uUDPnHRVCyNtjkePwRb7hYLtykI5zWqpBKfOhyTtA=
In-reply-to: <74a5f66c0702261108l535f7652j1c4474bc6400e03d@mail.gmail.com>
Mailing-list: contact users-help@cinjug.org; run by ezmlm
References: <74a5f66c0702261108l535f7652j1c4474bc6400e03d@mail.gmail.com>
Reply-to: esumerfd@xxxxxxxxxxxxxx
Sender: esumerfd@xxxxxxxxx
Welcome to the group James.

It sounds like we need some more information about your intent.

If you are deploying a web application why do you want jars to run on
the client?

If you are intending to use Java Web Start so that you can run a
client application that is dynamically downloaded from the server then
you have some more setup to do.

You shouldn't ever have to install jar files into the JDK directories,
unless you are experiencing some specific security problems but that
is another discussion.

So, give us a short description about what you want your application
to do, architecturally, and we will have a deployment solution for
you.

On 2/26/07, James Taylor <newbie30@xxxxxxxxx> wrote:
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>