[opensuse-packaging] Java program installations
Hello, I do not know how to package java classes. Programms are stored in /usr/share/java, but where do I store classes used by these (in .jar format) and what about support libraries. Especially I talk about the packages "BT747" and "rxtx-java" in Application:Geo project of BuildService. I have a working solution, but I'm pretty sure the current solution is not correct. Ciao -- http://www.dstoecker.eu/ (PGP key available) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Dirk Stöcker <opensuse@dstoecker.de> [2008-06-21 17:17]:
I do not know how to package java classes.
See http://www.jpackage.org. Bernhard -- Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Sun, 22 Jun 2008, Bernhard Walle wrote:
I do not know how to package java classes.
This answer is as helpful as "See http://www.google.com/". Ciao -- http://www.dstoecker.eu/ (PGP key available) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Dirk Stöcker [2008-06-24 09:25]:
On Sun, 22 Jun 2008, Bernhard Walle wrote:
I do not know how to package java classes.
This answer is as helpful as "See http://www.google.com/".
And that reply was even less helpful, don't you think? Bernhard -- Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Tuesday 24 June 2008 09:25:45 Dirk Stöcker wrote:
On Sun, 22 Jun 2008, Bernhard Walle wrote:
I do not know how to package java classes.
This answer is as helpful as "See http://www.google.com/".
See http://www.jpackage.org/cgi-bin/viewvc.cgi/src/jpackage-utils/doc/jpackage-1.5-policy.xhtml?revision=HEAD&root=jpackage I cannot found any other informations about newest jpackage.org versions. For the .jar files generally, there's a %{_javahome} (/usr/share/java). Some projects has their own directories in %{_javahome}. The rxtx-java is different - I've a package (derived from one from Fedora) in Java:test and the .so libraries are in /usr/lib64/jvm/java/, but it's not a best solution, because this is a symlink to the /etc/alternatives, but I'd like to run the jtreg and the rxtx is only a build dependency.
Ciao
Regards Michal Vyskocil --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Tue, 24 Jun 2008, Michal Vyskocil wrote:
For the .jar files generally, there's a %{_javahome} (/usr/share/java).
Yes. That's the easy part.
Some projects has their own directories in %{_javahome}. The rxtx-java is different - I've a package (derived from one from Fedora) in Java:test and the .so libraries are in /usr/lib64/jvm/java/, but it's not a best solution, because this is a symlink to the /etc/alternatives, but I'd like to run the jtreg and the rxtx is only a build dependency.
And that's exactly the problem I have. Using that symlink invalidates the package as soon as a new java version is installed. Also I need to have java-devel as dependency to get the symlink at all. Probably installing the libs in %{_lib} and the classes in %{_javahome} would be a better choice. That's why I ask here. I nowhere found a description how to install such stuff for Java. The jpackage webpages don't contain ANY helpful information which exceed the standard "For the .jar files generally, there's a %{_javahome}". Ciao -- http://www.dstoecker.eu/ (PGP key available) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Bernhard Walle
-
Dirk Stöcker
-
Michal Vyskocil