It's not a secret anymore!*
The moose likes Linux / UNIX and the fly likes question? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "question?" Watch "question?" New topic


d skin

Joined: May 06, 2004
Posts: 14
I have a unix shell script that kicks off a java program and also does some more stuff but I'm having a problem understanding the meaning of a line of code in this script. Could someone help?

Here is the line of code

java -DconfigFile=${NameOfFILE_PROPERTIES} is just a example, but the script has a real url were yahoo is)

What is this saying? I know java is executing a java program and -D is saying print the $ varibles in the program but the rest of it is confusing to me. Any help would be great.

d skin

Joined: May 06, 2004
Posts: 14
Never mind I figured it out!
I agree. Here's the link:
subject: question?
Similar Threads
Runtime.getRuntime().exec(commandToExecute) without promting for enter key to be pressed
Process.consumeProcessOutput() rewrite in core Java
Ant's junittask and classnotfound exception
JVM initializatin error
problem with execution of script