- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Windows Server 2003
- >
- Re: PATH Setting issue
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2009 04:48 AM
05-19-2009 04:48 AM
PATH Setting issue
Here are the details ,
In My Computer - > Properties - > Advanced ->Environment Variables - > System Variables
I have defined ,
J2SDK = C:\Program Files\Java\jdk1.5.0_11
Then i login to command prompt - > issue the below command.
echo %J2SDK%
C:\Program Files\Java\jdk1.5.0_11
echo %path%
C:\oracle\product\10.2.0\client_1\bin;C:\WINDOWS\system32;C:\WIND
System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN
Then i will be executing a command file extension (.cmd ) in which there are few Project related enviornment variables which are setting correctly.
But the below command in the same cmd file to set the PATH.
set PATH=%PATH%;.;%J2SDK%\bin;%J2SDK%\jre\bin\client.
Is not setting the PATH corrrectly.
After this if issue
echo %path%
C:\oracle\product\10.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\
System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;.;C:\Program\b
in;C:\Program\jre\bin\client
You can see the J2SDK is not set correctly from above echo command.
It always says
"C:\Program\bin" - > instead of "C:\Program Files\Java\jdk1.5.0_11" also ,
"C:\Program\jre\bin\client" - > instead of "C:\Program Files\Java\jdk1.5.0_11\jre\bin\client"
Can anyone help on this.
Thanks
Prasad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2009 08:59 AM
05-19-2009 08:59 AM
Re: PATH Setting issue
1. J2SDK = "C:\Program Files\Java\jdk1.5.0_11"
or
2. J2SDK = C:\Progra~1\Java\jdk1.5.0_11
Steven
HP Master ASE, Storage, Servers, and Clustering
MCSE (NT 4.0, W2K, W2K3)
VCP (ESX2, Vi3, vSphere4, vSphere5, vSphere 6.x)
RHCE
NPP3 (Nutanix Platform Professional)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2009 04:20 AM
05-20-2009 04:20 AM
Re: PATH Setting issue
But I noticed when I run the command file after ,
In My Computer - > Properties - > Advanced ->Environment Variables - > System Variables
The J2SDK will be set back to below one again.
J2SDK = C:\Program Files\Java\jdk1.5.0_11
Any other suggestions.
Thanks
Prasad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2009 12:21 PM
05-20-2009 12:21 PM
Re: PATH Setting issue
Going to try on a 2003 machine in my lab.
It might be a 2003 issue. (2003 or older).
What service pack are you running? if any?
Steven
HP Master ASE, Storage, Servers, and Clustering
MCSE (NT 4.0, W2K, W2K3)
VCP (ESX2, Vi3, vSphere4, vSphere5, vSphere 6.x)
RHCE
NPP3 (Nutanix Platform Professional)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2009 04:06 AM
05-21-2009 04:06 AM
Re: PATH Setting issue
-Prasad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2009 04:07 AM
05-21-2009 04:07 AM
Re: PATH Setting issue
-Prasad