![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Questions on shell execution | stevefox | Shell Programming and Scripting | 6 | 11-20-2007 04:06 AM |
| A few questions from a newbie(shell script) | perk_bud | Shell Programming and Scripting | 5 | 07-21-2007 05:59 AM |
| a simple fundamental | shamal | High Level Programming | 4 | 08-14-2002 02:53 AM |
| questions on ftp shell scripting | psyjoniz | UNIX for Dummies Questions & Answers | 5 | 07-19-2001 03:03 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Shell script fundamental Questions
Hi
Can u please guide me to understand following script : $JAVA_HOME/bin/java -cp $CLASSPATH -Djava.naming.factory.initial=weblogic.jndi.T3InitialContextFactory -Djava.naming.provider .url=$INITIAL_CONTEXT_PROVIDER -Djava.naming.security.principal=system -Djava.naming.security.credentials=mfxclaims -Dlog.dir =./logs -Dconfig.file=../config/batch.xml What is the significance of following : 1. Djava 2. cp 3. Dlog 4. Dconfig Please suggest asap Regards Pankaj |
|
||||
|
What you are really trying to ask perhaps is:
1. What is -D xyz=123? 2. What is -cp? Answers: 1. The -D parameter is setting a system property for the Java session, which is why you see so many -D parameters in your command. 2. The -cp paramter is simply declaring your Class path, which is where the Java session will expect to find all of the classes used by your Java program. |
|
||||
|
Thanks a lot ......
Regards Pankaj |
| Sponsored Links | ||
|
|