The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-20-2006
pankajkrmishra pankajkrmishra is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 55
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
  #2 (permalink)  
Old 07-20-2006
tmarikle tmarikle is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2005
Posts: 683
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.
  #3 (permalink)  
Old 07-21-2006
pankajkrmishra pankajkrmishra is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 55
Thanks a lot ......

Regards
Pankaj
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0