Hot answers tagged

4

If I understand you correctly, you just want to insert the contents of javaoptions.txt into your java command. If so, xargs is no help. That's for running the same command on each line of output of another command. All you need here is java $(cat javaoptions.txt) ClassName Personally, however, I would write a function for this: runJava(){ ...


2

The java program and the javac alternatives are controlled independently of one another. Take a look at at what alternative you have set for javac. # update-alternatives --config javac There are 2 programs which provide 'javac'. Selection Command ----------------------------------------------- 1 ...


2

Don't run it as root, that's a serious security risk. Setup a new user for each if needed and make sure that they only have access to what they strictly need. If your application doesn't run without root privileges it might be a good idea to think about rewriting the parts needing it


1

I use either script2log (simple), or vile-pager (vi like emacs) for this sort of thing. The script handles overstrikes of the sort mentioned, as well as backspace/overstriking. To handle cursor-movement (as you would get in editing a command-line), a simple script like this is not adequate. The script removes ANSI-style escape sequences, however. The ...


1

It is perfectly possible to install multiple versions of a library in Debian. Pinning is the way to go. In this case I decided to obtain libgstreamer0.10 from Debian Unstable (running Debian Testing myself). Create the file /etc/apt/sources.list.d/unstable.list with contents: deb http://ftp.nl.debian.org/debian/ unstable main deb-src ...



Only top voted, non community-wiki answers of a minimum length are eligible