You are not logged in.
what would be the best way to make a java application a pkg for archlinux?
e.g. i want to make a pkg for jemboss (frontend to emboss - http://www.rfcgr.mrc.ac.uk/Software/EMB … index.html )
but made as pkg (so that if installed, you can just type java jemboss and run it)
or Kandid ( http://kandid.sourceforge.net/ )
or other java apps
would it be enough just to copy the jar-files to /opt/j2re/lib/ext ? any experts? what would Dusty say?
The impossible missions are the only ones which succeed.
Offline
also azureus!!! (bittorrent client)
And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.
Offline
what would be the best way to make a java application a pkg for archlinux?
e.g. i want to make a pkg for jemboss (frontend to emboss - http://www.rfcgr.mrc.ac.uk/Software/EMB … index.html )
but made as pkg (so that if installed, you can just type java jemboss and run it)or Kandid ( http://kandid.sourceforge.net/ )
or other java apps
would it be enough just to copy the jar-files to /opt/j2re/lib/ext ? any experts? what would Dusty say?
I don't think the jars would best be put in /opt/j2re/lib/ext. This muddles the jdsdk package in my opinion and leads to package version conflicts amoung different packages. Perhaps it would best be put in something like /usr/lib/java1.4/site-packages or something like python.
You would have to be sure that gets put on the path, but I don't think it would be good to put them in a system wide classpath, so that seperate projects with differnet jar versions don't conflict (very hard to debug).
Perhaps a java-run script or something? Used like: java-run jemboss and it would look for jemboss.jar in the site packages or something.
Just some ideas,
-wd
Hobbes : Shouldn't we read the instructions?
Calvin : Do I look like a sissy?
Offline
Check out cgoban2. It's a simple program, but that's how I did it.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
It seems to me the best way would simply be to write a script that does it all - puts the jars on the calsspath and then runs the main class...
Put that script on the path and you're away...
Offline
Check out cgoban2. It's a simple program, but that's how I did it.
i had a look ...
mainly it's a script in /usr/bin that runs /usr/share/$pkgname/$pkg.jar
sounds really logical to me
The impossible missions are the only ones which succeed.
Offline
cgoban2 is a good idea, I don't think theres a really logical way to have actual java packages without doing a bunch of fancy stuff...
"Ignorance is bliss, for stupid people."
"open-source is [...] programming Darwinism."
Vaughan-Nichols
Offline