New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

how can i set the path?


Post Reply New Thread Subscribe

 
Thread Tools
Bo Eddy
Guest
 
Posts: n/a

This is for the Tomcat server which I cant get running
================================
5. Update the PATH variable


You can run the Java WSDP without setting the PATH variable, or you can optionally set it as a convenience.


Set the PATH variable to include ant, if you want to be able to conveniently run the Java WSDP samples that use ant (e.g., JAXB examples).

Add the full path of the ant bin directory in the Java WSDP installation directory to the beginning of your PATH variable. Prepend "jakarta-ant-1.5.1/bin" to the directory where JWSDP is installed.



Should I set the PATH variable?
Set the PATH variable if you want to be able to conveniently run the Java WSDP executables (startup.sh, shutdown.sh, ant, etc.) from any directory without having to type the full path of the command. If you don't set the PATH variable, you need to specifythe full path to the executable every time you run it, such as:


% /home/myuser/jwsdp-1_1/bin/startup.sh



It's useful to set the PATH permanently so it will persist after rebooting. To set the PATH permanently, add the full path of the bin directory in the Java WSDP installation directory to the beginning of your PATH variable. Typically this full path looks something like /home/myuser/jwsdp-1_1/bin.
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 2,875
cradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud of
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is offline
Depends on which shell you're using.
For bash, edit your .bashrc file...

PATH="/path/to/whatever/you/need{PATH}"
export PATH

For tcsh, edit .tcshrc or .cshrc...

set path = ($path /path/to/whatever)

If you have neither of these files, create one, in your home directory.
QUOTE Thanks

Post Reply New Thread Subscribe


« CFMX & Tomcat install Issues!! | OS X cf issue.. »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Your iBook Set up Pics! Joeytpg Apple Notebooks 7 05-09-2004 12:49 AM
Getting the full path of a file rcwhite OS X - Operating System 1 03-13-2004 01:36 AM
Upgrade path to Panther for recent purchse? OS10 Server? lokerd OS X - Operating System 2 10-13-2003 08:32 AM
SMALLVILLE DVD set...get it! goodolebwinches Movies and Video 9 10-10-2003 12:26 PM

All times are GMT -4. The time now is 09:56 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?