Questions tagged [system-variable]

146 questions
0
votes
1 answer

Issues with instaling apache maven

I have so many problems with installing apache maven. I have tried lot of instructions from youtube and from StackOverflow as well but none of these solutions is the right one. So in system variables I have the following JAVA_HOME C:\Program…
Norby
  • 321
  • 1
  • 4
  • 13
0
votes
1 answer

Setting absolute ClassPath system variable

I feel like I'm losing it slightly, I've got my JDK setup with my PATH variables so javac works fine. I'm trying to add environment variables under CLASSPATH so I don't have to repeatedly use -cp flag. I'm constantly compiling my .java files in…
MikeS
  • 237
  • 1
  • 5
  • 22
0
votes
2 answers

Java UnsupportedClassVersionError (51), but only when executing command from remote machine

I have a simple TestNG setup, where I invoke a main class from command line. The tests runs perfectly. I run them from command line, because I need to trigger the execution from HP Quality Center. This also works, as long as the QC-client…
jumps4fun
  • 3,994
  • 10
  • 50
  • 96
0
votes
1 answer

How to figure out an Environment Entry from Websphere via Unix shell

I develop using Websphere 8.5 in Windows machine but the Tests and Prod are Websphere 8.5 on Mainframe. The application MyApp depends on certain System Environment named MyApp_Env. Basicaly, this System Environment tells which environment is running…
Jim C
  • 3,957
  • 25
  • 85
  • 162
0
votes
1 answer

How to restore or add the System variable - Windows 10

I've installed Ruby and in the User Variables, I can see that Path = C:\Ruby22-x64\bin However, when I run ruby in the cmd, it says 'ruby' is not recognized as an internal or external command, operable program or batch file. I've accidentally…
Drake
  • 45
  • 1
  • 5
0
votes
0 answers

How do I solve this path error when trying to run ANSYS with parallel processing using MPI?

I am currently attempting to write a batch file that will open ANSYS Autodyn using MPI on a virtual machine. Whenever I attempt to start the program however, I get the following message; WARNING: No cached password or password provided. …
Alex Jones
  • 1
  • 1
  • 3
0
votes
1 answer

Determine if a page is a result of being redirected from a 404 Not Found code

I would like to display some addition text on a page if its a result of a 404 Not Found code. I'd like to reuse the rest of page somewhere else.
Oh no, I couldn't find what you…
SwDevMan81
  • 48,814
  • 22
  • 151
  • 184
0
votes
1 answer

Why is my JAVA_HOME variable that I setup not working?

I'm trying to install and use Android Studio. However, when I run the program after installing, it gives me this error: I went into my control panel and added an Environment Variable under System variables that looks like this: I restarted my…
anon
0
votes
1 answer

Path system variable gets duplicated values when update via setx command

My below .bat file add MySQL's bin directory to system PATH though the old PATH values get duplicated. @echo off set pathMySQL=C:\xampp\mysql set p=%% setx MYSQL_HOME "%pathMySQL%" setx PATH "%p%MYSQL_HOME%p%\bin;%PATH%" I expect the PATH value…
Nam G VU
  • 33,193
  • 69
  • 233
  • 372
0
votes
0 answers

Can't access directory in PATH

When I do echo %path% I see system32 in there. I try to use setx and it can't find it. I issue a command to add system32 to the path and now it sees it. If I close the cmd window and reopen I have to do this all over. so, programs trying to kick off…
0
votes
1 answer

How to get the client system variables with ASP

I'm looking for a way to get the client domain and username into a ASP Page. As far as i can tell this is impossible to do with pure ASP. I've read that one possibility would be to write a ActiveX control. But this is not that easy and i have never…
Timon
  • 1,003
  • 1
  • 9
  • 38
0
votes
1 answer

How to configure my.cnf in 5.6.17?

On production server(linux machine mysql 5.6.17), I tried to find my.cnf to change the system variables, but my.cnf was not in /etc/my.cnf location. It was in usr/ directory. Also that file contains only comments like - # Remove leading # and set to…
Aamir
  • 738
  • 2
  • 17
  • 41
0
votes
1 answer

How to persist windows environmental user variable across the sessions in windows

I have a requirement where in which, Lets say Am logging with a user called AAA to my windows machine and execute below command SETX home %UserProfile% This will set home= C:\Users\AAAand same we can see in env variables. I will logout and…
0
votes
2 answers

Unable to access user defined environment variables in php

I have defined my own environment variable in windows for holding a folder path. example: IMG = C:\xampp\htdocs\img I am trying to get value of IMG variable in php in following way var_dump(getenv('MLINK_IMAGES')) But it just dumps bool(false). But…
ashy143
  • 169
  • 11
0
votes
0 answers

Environmental Variable Not Reading in Java

I am using Ubuntu 12.04. In my user home, I added one environmental variable to .bashrc file. export MYCONFIG_HOME=/home/myuser/config-1.0 And I run the .bashrc file source ~/.bashrc I open my STS, added the following code public static void…
iCode
  • 8,892
  • 21
  • 57
  • 91
1 2 3
9
10