Hi Kumar, On 10/24/07, Kumar Appaiah <[EMAIL PROTECTED]> wrote: > > As far as I can tell, the JAR must be put in /usr/share/java, and the > executable must be a wrapper script which calls the java interpreter > with the right jar. For example, in case of JFTP: > > [EMAIL PROTECTED] ~] ls -l /usr/share/java/jftp* > -rw-r--r-- 1 root root 466158 2007-10-12 10:57 > /usr/share/java/jftp-1.51~pre3.jar > lrwxrwxrwx 1 root root 18 2007-10-25 08:29 /usr/share/java/jftp.jar -> > jftp-1.51~pre3.jar > > And /usr/bin/jftp has this: > #!/bin/sh > /usr/lib/jvm/java-6-sun/jre/bin/java -jar /usr/share/java/jftp.jar "$@" > > (Note that your package shouldn't explicitly use /usr/lib/jvm/<etc.> > unless you specifically require a JVM for it. You should use > /usr/bin/java, which defaults to the JVM alternative the user has set > in /etc/alternnatives/java.) >
Thanks for answering quickly. Now, It's clear what I have to do. > > Well, you could see jftp, except that it's in contrib, but you may be > able to get it into main if you get it to build it with a free Java > compiler like gcj. Or, see the pkg-java list for a bigger list. > I had to use sun-java6-jdk to compile the application, so I'll have to try to build it using a free java compiler to get the java-based version into main, right? (I'm sorry for asking that but it's my first time facing a java packaging) > > I hope you can help me. > > Come to debian-java for more. :-) > I will. :) Regards, -- Muammar El Khatib. Linux user: 403107. Key fingerprint = 90B8 BFC4 4A75 B881 39A3 1440 30EB 403B 1270 29F1 http://muammarelkhatib.net | http://teorex.org | http://taciturna.com ,''`. : :' : `. `' `- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

