Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8065899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:48:46+00:00 2026-06-05T11:48:46+00:00

I am working in Win 7. So I have set the Path variable inside

  • 0

I am working in Win 7. So I have set the Path variable inside properties, environment variables. But when I e.g. type java in command line it doesn’t recognize it up until I write set Path=… And set the exact same thing I have already manually set in the properties env variable window. And then it works. But again when I close the command line and re-open it, it doesn’t recognize javac. So every time I open the command line I have to set the Path. Any idea?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T11:48:48+00:00Added an answer on June 5, 2026 at 11:48 am

    In Windows using set from the command line only sets the environment variable for that process. When you are doing it from the command line and then closing it, you are losing what you did there.

    You say Properties, Environment Variables, but let me run through the steps so that we’re on the same page.

    To make sure an environment variable “sticks” click the Start button, Right Click “Computer” and choose Properties. Click Advanced System Settings and then Environment Variables… In the dialog that comes up, under the System Variables section double click on the Path environment variable. Scroll to the end, add a semi-colon, and then add the path to your executable.

    You will now have to restart any process that was already running.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following environment. OS: Win 7 64 Bit WAMP Server 2.2 PHP:
I have the following code that is working on my local machine (Win 7,
I have the following working code in a Win Forms application: Bitmap bitmap =
I am working on GWT + JAVA. I have a piece of code in
I have Win 7 64. Open GL 2.0. In working with the Android download,
I'm working on a heavily data-bound Win.Forms application where I've found some strange behavior.
Hi I am working in a c++ program in win OS. Currently, by a
I have Win 7 Enterprise. If i open any .cs file on VS 2008/2010
I have a web site that runs on Windows and uses cp1252 (aka Win-1252
I'm working on an ASP.NET MVC site which will have a database. While I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.