Tagged Questions
0
votes
0answers
34 views
Forking two interactive bash processes causes parent process to stop or second bash to go background
If you fork (exec) two interactive bash processes within same parent process (from different threads) causes that parent process becomes stopped or second interactive bash goes to background which ...
0
votes
2answers
4k views
How to set environment variable JAVA_HOME that will be saved on exit? [duplicate]
Possible Duplicate:
How do I set a user environment variable? (permanently, not session)
I use Suse. First was installed jdk7, so JAVA_HOME remains like:
/usr/java/jdk1.7.0_05/
After I ...
1
vote
1answer
175 views
How can I get this java command to act on each file found by a find command?
I have this command inside a Bash shell script, the intention of which is to apply a java command, htmlcompressor, to each HTML file found in a directory:
find $DIR -type f -name '*.html' -exec java ...
2
votes
4answers
540 views
How to run java process to be seen not as 'java…' in processes list?
Is it possible to run a Java process in Linux in a way that it could be seen in ps as some sort of alias? It would be easier to restart it when it is down.
4
votes
2answers
2k views
Looking for a Java class in a set of JARs with find, unzip, grep
I was trying to find the JAR containing a Java Class. JARs are in zip format.
My first attempt was:
$ find -name "*3.0.6.RELEASE.jar" | xargs -l1 unzip -l \
| grep stereotype.Controller
...
1
vote
2answers
444 views
How do I install multiple java command-line programs?
I have a bunch of java command-line programs I've written and would like to install for all users.
Building with NetBeans, I get a /dist directory which contains myprog1.jar and a /libs directory ...