Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

How do i get back my previous "PATH" environment variable


  • Please log in to reply
5 replies to this topic

#1 abcd_1

abcd_1

  • Members
  • 91 posts
  • OFFLINE
  •  
  • Local time:05:47 PM

Posted 19 August 2009 - 11:08 AM

I use windows xp

I am trying to open my eclipse ide.

it says "A java runtime environment (Jre) or a java development kit(jdk) must be available inorder to run eclipse. no java virtual machine was found after searching the following locations. D:\eclipse\jre\bin\javaw.exe
javaw.exe in your current path.

i googled for the solution.

it said i had to set my environment variable path for it.

i checked if it was modified. earlier it was E:\jdk\bin

To my surprise it was modified and it looked like this.
C:\Program Files\ImageConverter Plus;C:\Program Files\ImageConverter Plus\Microsoft.VC80.CRT;C:\Program Files\ImageConverter Plus\Microsoft.VC80.MFC;
i installed image converter plus software only yesterday..

Please explain to me:

1) how did my path variable change?
2)could that be because of installing image converter plus software?
3)is there any way i could get back my old environment path variable?

Thanks and Regards.

Edited by Amazing Andrew, 19 August 2009 - 11:45 PM.
Fixed BBcode Error - AA


BC AdBot (Login to Remove)

 


#2 Romeo29

Romeo29

    Learning To Bleep


  • Members
  • 3,194 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:127.0.0.1
  • Local time:07:17 AM

Posted 19 August 2009 - 11:50 AM

1 and 2.)
Image Converter seems to be the culprit.

3.)
Do a System Restore to the point where you think all was okay.

OR
Manually edit PATH variable. The default PATH variable has the following string
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
Just in the end put your JDK bin path

To edit PATH, Press Windows Key + Pause key. Goto Advanced > Environment Variables

Edited by Romeo29, 19 August 2009 - 11:52 AM.


#3 abcd_1

abcd_1
  • Topic Starter

  • Members
  • 91 posts
  • OFFLINE
  •  
  • Local time:05:47 PM

Posted 19 August 2009 - 12:01 PM

How do i ensure that my default "environment variable path" does not change?

or

if some application tries to change it, i should be notified...

that would be a lot of help as it would prevent the unwanted modification of my environment variables.

#4 Romeo29

Romeo29

    Learning To Bleep


  • Members
  • 3,194 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:127.0.0.1
  • Local time:07:17 AM

Posted 19 August 2009 - 12:21 PM

Normally, all good software notify you and ask permission before making such changes. Also they add their path in the end, unlike what happened to you.

You can use software restriction policies to prevent any changes to your Environment Variables. For more information read this:
http://technet.microsoft.com/en-us/library/bb457006.aspx

#5 abcd_1

abcd_1
  • Topic Starter

  • Members
  • 91 posts
  • OFFLINE
  •  
  • Local time:05:47 PM

Posted 19 August 2009 - 09:16 PM

Thank you so much Romeo for the help.

you were excellent.

#6 Romeo29

Romeo29

    Learning To Bleep


  • Members
  • 3,194 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:127.0.0.1
  • Local time:07:17 AM

Posted 19 August 2009 - 09:38 PM

You're welcome :thumbsup:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users