Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question?

 
d skin
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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} com.yahoo.common.SFMServerTest(this 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.

Thanks
 
d skin
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind I figured it out!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic