JDK/JRE packaging

2009-12-31 Thread Paweł Zuzelski
Hello, currently in PLD it is impossible to install few JDKs or JREs on single system, because of files in %{_mandir} and %{_bindir}. All the files in %{_bindir} are symlinks to some path containing JVM vendor and version number (for example: /usr/lib/jvm/java-sun-1.6.0.17). If we create a new

Re: JDK/JRE packaging

2009-12-31 Thread Artur Wroblewski
2009/12/31 Paweł Zuzelski z...@xatka.net: Hello, currently in PLD it is impossible to install few JDKs or JREs on single system, because of files in %{_mandir} and %{_bindir}. All the files in %{_bindir} are symlinks to some path containing JVM vendor and version number (for example:

Re: JDK/JRE packaging

2009-12-31 Thread Paweł Zuzelski
On Thu, 31 Dec 2009, Elan Ruusamäe wrote: On Thursday 31 December 2009 11:28:57 Paweł Zuzelski wrote: currently in PLD it is impossible to install few JDKs or JREs on single system, because of files in %{_mandir} and %{_bindir}. you mean: currently in PLD it is impossible to install

Re: JDK/JRE packaging

2009-12-31 Thread Paweł Zuzelski
On Thu, 31 Dec 2009, Jacek Konieczny wrote: such places: '#!' script headers (not applicable to java, though), sudo Why not? It is applicable to java. Just try it: echo '#!/usr/bin/java -jar' file.jar cat some_java_app.jar file.jar chmod a+x file.jar ./file.jar :) -- Pozdrawiam, Paweł