U
Ulf Meinhardt
Assume I want to create a new program and to pack everything into a *.jar archive.
To run the program one (or more) additonal external *.jar is required.
Ok, the potential user could install the two *.jar files independently and add them
to his CLASSPATH. This is somehow uncomfortable. I would like to deploy/provide simply one
*.jar with everything needed inside.
So I have to add the second, external jar into the "main" first jar as well.
Is this procedure possible/unusual/recommended?
How do I do this from the command line ?
How do I tell Eclipse to not only reference the external *.jar lib but ADD them physically
into the target *.jar?
As far as I know simply adding them on the Properties->Java Build Path->Libraries dialog
does NOT automatically add them into the target *.jar but only references it.
Ulf
To run the program one (or more) additonal external *.jar is required.
Ok, the potential user could install the two *.jar files independently and add them
to his CLASSPATH. This is somehow uncomfortable. I would like to deploy/provide simply one
*.jar with everything needed inside.
So I have to add the second, external jar into the "main" first jar as well.
Is this procedure possible/unusual/recommended?
How do I do this from the command line ?
How do I tell Eclipse to not only reference the external *.jar lib but ADD them physically
into the target *.jar?
As far as I know simply adding them on the Properties->Java Build Path->Libraries dialog
does NOT automatically add them into the target *.jar but only references it.
Ulf