Re: [Java-gnome-developer] naming and distribution issues
Brought to you by:
afcowie
From: Elias M. <el...@al...> - 2003-11-15 23:59:51
|
l=C3=B6r 2003-11-15 klockan 22.19 skrev Luca De Rugeriis: > Il sab, 2003-11-15 alle 11:57, Mark Howard ha scritto: > > /usr/lib is for files installed by the distribution you are using. > > /usr/local is for things you installed separately. It is part of the > > FHS, I think. > > > In Debian java policy, java-gnome libs are placed in /usr/lib/jni/ > Right, for FHS prefix is /usr/local, however Redhat based distributions > use /usr. (others use something else...) > On Redhat I like to package everything and put in /usr, I don't like > have a separated /usr/local tree. However is very legitimate to default > to /usr/local for java-gnome installation as many other source packages > do. If you want to change prefix it's as simple as passing > --prefix=3D<your prefix here> to ./configure. Sorry if I'm thick, but as is stands the startups script needs to point to where the libs reside? If different distributions put them in differnt places we hav a problem. The solution could be somehting like "java-gnome-conf" so that the startup script starts the app using some call similar to: java -Djava.jni.path=3D`java-gnome-conf --jnipath` -classpath `java-gnome-conf --classpath` -jar theapp.jar Would this work? Elias |