Thread: how can i set the path?
05-12-2004, 10:20 AM #1Bo EddyGuesthow can i set the path?
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:
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.
05-12-2004, 11:45 AM #2
- Member Since
- Feb 14, 2004
- Groves, Texas
- 13in macbook - 10.11 --- 21in. iMac 10.11 --- HP win 8
Depends on which shell you're using.
For bash, edit your .bashrc file...
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.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By nflder in forum Switcher HangoutReplies: 11Last Post: 07-07-2015, 02:37 AM
By jjw3579 in forum OS X - Operating SystemReplies: 1Last Post: 09-22-2011, 12:12 PM
By jhoomjhoom in forum OS X - Operating SystemReplies: 7Last Post: 06-06-2010, 11:54 AM
By m3rih in forum Switcher HangoutReplies: 1Last Post: 02-28-2010, 12:05 PM
By icthy in forum OS X - Development and DarwinReplies: 11Last Post: 09-13-2009, 10:20 PM