Re: [DebianGIS] Creating Packages for FOSS Java GIS Applications
On Fri, Nov 09, 2007 at 01:29:09PM -0800, Sunburned Surveyor wrote:
> Petter,
>
> I thought the Debian Java Policy (
> http://www.debian.org/doc/packaging-manuals/java-policy/x86.html )
> stated that the Jar with the main method that launches the program has
> to go into /usr/bin not in /usr/share/openjump.
>
> Is this incorrect?
>
It is a misunderstanding:
"They can be Java classes (using binfmt_misc) or wrappers."
If openjump is a script wrapper it should go within /usr/bin. A simple
jar file is not thought as such, you need a suitable sheebang line
embedded for that or the binfmt_misc (1) mechanism provided by linux kernel.
Generally a wrapper is more flexible and does not depend on specific
kernel support.
[1] http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/binfmt_misc.txt;hb=HEAD
--
Francesco P. Lovergine
Reply to: