Questions tagged [system-variable]
146 questions
0
votes
1 answer
Maven Path Variable Issue
I am having issues running mvn --version anywhere outside of C:\Program Files\Apache Software Foundation\apache-maven-3.2.1\bin. If I run mvn --version inside the apache-maven/bin folder I get the version number, however if I run it anywhere…

ghostFishKillah
- 41
- 8
0
votes
1 answer
NoClassDefFoundError when workspace's jre not the same as jre_home
I have both jre 6 and 7 installed in my machine (with Windows 7). The default jre for my workspace is 6, and all my projects reference to the workspace default jre. So far so good, everything works fine. But if I change the system variable JRE_HOME…

Luis Sep
- 2,384
- 5
- 27
- 33
0
votes
1 answer
How do I break(for testing) the Java classpath environment variables?
I am working on understanding how Java's import/classpath situation works. I want to produce a a compilation error, so I said 'let me try fiddling with the Java environment variables' (like making JAVA_HOME become JAV_HOM or etc).
But it seems…

Caffeinated
- 11,982
- 40
- 122
- 216
0
votes
3 answers
Give my browser a global variable accessible via javascript
I have a POS web application which currently executes a java applet on page load. I don't want the java applet to be loaded on any computer that doesn't have the display pole for which it was made. The easiest way I can think of to get around this…

SnakeWasTheNameTheyGaveMe
- 2,522
- 2
- 28
- 70
0
votes
1 answer
how does system variables and user variables work
i configured maven home in uservaribles and tested it using the command mvn --version ,system proment me as "mvn is not a command" . But if i configure it to System variables its working. i did configuring to system variables in my laptop. But at my…

developer
- 9,116
- 29
- 91
- 150
-1
votes
1 answer
Powershell script to remove tempory files and registry keys
I've created a small PowerShell script to remove a Autodesk application. However, PowerShell doesn't seam to like system variables like %username%. Whats the best way of achieving this in Powershell?
# Remove all Autodesk products from a Windows…

resolver101
- 2,155
- 11
- 41
- 53
-1
votes
0 answers
Command line closed instantly after typing "Flutter ___"
I face this problem after I reset my android studio. I re install the android studio and re install the flutter latest version 3.12.3 stable.
I follow the steps mention by stack overflow users. I change the path of SDK to all the drive. I update my…
-1
votes
2 answers
JAVA_HOME with JDK8 and JDK9
For some reasons I need to use JDK8 and JDK9. Is a good idea to put both paths (to JDK8 and JDK9) into the same JAVA_HOME system environment's variable?
Details: I need to run both systems at the same time, one with ant (which uses jdk8) and second…

Czarcik
- 17
- 1
- 3
-1
votes
1 answer
How many system Variable need to be set While installing phonegap?
I am installing phonegap but at the time of installing there are problems coming in installation. I think I have not set all the environment variables in the system . Any body have list of variables.
Thank You

Shabbir Dhangot
- 8,954
- 10
- 58
- 80
-3
votes
1 answer
How to get linux system variable in python
I add a variable called env to /etc/profile, but I didn't export it, now I want to get the value of env in python, but I get nothing, my code is as below:
>>> import os
>>> env = os.environ.get('env')
>>> print env
None

jeason.wang
- 41
- 2
-4
votes
1 answer
Adding a system variable via Python
I know how to manually add a variable with the control panel. There doesn't seem to be any shortage of information about that. But what I am interested in is how to add a system variable to the list (not just appending the 'PATH' variable) by using…

Korbaine
- 49
- 4