146 questions
1
vote
1
answer
1k
views
Angular 19 Material themes - system variables
Angular 19 has changed the syntax and underlying scss files.
I am trying to access the systems variables https://material.angular.io/guide/system-variables defined as part of angular 19 but unable to ...
0
votes
2
answers
2k
views
(Windows) No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8'
I am trying to setup gaussian splatting with conda, however when it comes to installing the submodules - diff-gaussian-rasterization & simple-knn, it reports the error "No CUDA runtime is ...
1
vote
0
answers
933
views
Python command just hangs in the command prompt
I am having trouble getting python up and running again. It used to be working fine on my desktop, but I messed something up with virtual environments, and now I cannot even get a simple python ...
0
votes
1
answer
692
views
SysVar in C# COM with CANoe
I'm trying to communicate in C# with CANoe but I get some errors.
I have this setup to Open and Start (⚡) CANoe APP, and it is working fine:
private CANoe.Application CANoeApp;
private void ...
1
vote
1
answer
12k
views
Getting OpenAI api to work in jupyter. (Using provided example code )
Okay, so I followed this quickstart tutorial for getting ChatGPT api to work with python:
https://platform.openai.com/docs/quickstart?lang=ChatCompletions
Its the og documentation.
I did all the steps ...
1
vote
1
answer
193
views
Setting Task Trigger Based on System Variable in WSO2
I'm working with WSO2 and I have a task that needs to be triggered based on a system variable. I want to dynamically set the trigger interval for the task using the value of a system variable in cron ...
2
votes
2
answers
3k
views
Cannot set environment variable or property in Gradle outside test
I have been trying to set a simple environment variable (or system property, whatever works really) through build.gradle file to access it from a java method (which is not part of integration tests) ...
0
votes
0
answers
1k
views
How can I react to event on system variable defined in CAPL script?
I defined a system variable in my CAPL file that I use to set up different modes in my script.
I declared it in my CAPL file and not in my CANAlyzer window in order to allow the script to work with ...
0
votes
1
answer
263
views
Adding a value to existing system variable (powershell)
[Enviroment]::SetEnviromentVariable("Path", "d:/test/bin;c:/test", "Machine"
If the variable already exists with other values in it; how can I adjust this script to not ...
0
votes
1
answer
2k
views
'hdfs' is not recognized as an internal or external command, operable program or batch file
I am following this instruction to install hadoop 3.3.1 on Windows 10 machine, I followed all the steps as it says but when I reached to step 6, after replacing the bin folder, it asks to run the ...
0
votes
1
answer
460
views
Azure pipeline system variables
Do you know how to derive path for system variables $(System.ArtifactsDirectory) and $(Pipeline.Workspace) when deployment job running in Azure pipeline? e.g. If I enable debug, then in logs I can see ...
0
votes
1
answer
474
views
PATH system variable capitalization in Java
So i went through all kinds of similar questions but couldn‘t find one specifically answering THIS:
From what i know, the JAVA_HOME system variable is case-sensitive and should always be capitalized.
...
1
vote
1
answer
80
views
Custom python module seen in C: but not in D:
I have a module that I want to be able to import from any script without
doing any sys.add_path and similar stuff. I want it to be permanently added.
Since I installed Python with anaconda, I have a ...
0
votes
2
answers
1k
views
The JMETER_HOME environment variable is not defined correctly
I'm getting this error when trying to run this jmeter sentence from a maven project in java.
jmeter -g DIRECTORY -o DIRECTORY
When I run it in cmd it works perfectly but when I try to run it using ...
0
votes
0
answers
474
views
How to run npm install with ANT without having nodejs path in system variable?
<target name ="npm-install">
<exec dir="${pathToSomeDir}" executable="npm.cmd" failonerror="true">
<arg value="install" />
</...
0
votes
1
answer
876
views
java command works in command prompt but not in powershell
I have following problem. I installed new OpenJDK 17:
c:\java\jdk-17.0.2
I've set up JAVA_HOME to it and added to path:
JAVA_HOME\bin
in cmd when I type java -version it works.
But when I run it from ...
0
votes
1
answer
788
views
npm start not working after changing PATH system environment variable
When i try to start my react application with npm start, i get the following error:
events.js:377
throw er; // Unhandled 'error' event
^
Error: spawn powershell ENOENT
at Process....
0
votes
0
answers
153
views
Why are there two different syntaxes for azure-pipeline system variables?
As the ADO documenation on using system variables in pipeline conditions is not very clear, I came here to find an answer. But I found two.
condition: eq(variables.buildSourceBranchName, 'main')
and
...
0
votes
1
answer
256
views
Adding directory to Systemvariables Path in CMD
Iam trying to add a directory permanently to Path via CMD. When i try to use the command:
setx path "%path%;C:\Program Files (x86)\chromedriver\chromedriver.exe"
it only saves it to the ...
0
votes
0
answers
71
views
What's the recommended way in Java to make a piece of code available only when needed?
The question regards an endpoint that I want to make available only for demoing and should not be part of the project in production. Therefore I need to find a way of making the piece of code that ...
0
votes
0
answers
173
views
PATH different in VSCode (due to conda)
I am trying to get my VSCode terminal to see a mingw installation.
When I run the command...
gcc --version
... in regular CMD, it works as expected.
However, when I use it in VSCode terminal, it isn'...
0
votes
0
answers
41
views
I want to copy the path of mingw in system variables, but there is no extra path line shown
I have Windows 10 Pro operating system. I want to copy the path of mingw in system variables, but there is no extra path line shown here. What to do?
2
votes
1
answer
461
views
Pycharm is running script headless successfully but terminal throwing error
Hello all,
options = Options()
options.add_argument('--headless')
options.add_argument('--disable-gpu')
dr = webdriver.Chrome(ChromeDriverManager().install(), options=options)
dr.get("url")
...
1
vote
0
answers
337
views
Unable to hide api key in angular10 environment variable
Im trying to hide api key in my angular project environment using @angular-builders/custom-webpack which will fetch value from system environment variable through process.env during build .
But after ...
1
vote
1
answer
96
views
How to switch between old JDK version to new JDK version and how to set system variable value in this situation?
Recently I have installed Cassandra on my windows 10 laptop. In Cassandra specification, they mentioned that this version is suitable with only Java 8 and Python 2 Versions. But on my laptop, I'm ...
4
votes
3
answers
5k
views
Execution failed for task ':app:compileJava' with ./gradlew run
When I try using "./gradlew run" on my gradle projects, I receive this error:
* What went wrong:
Execution failed for task ':app:compileJava'.
> java.lang.IllegalAccessError: class org....
1
vote
1
answer
6k
views
Edit PATH variable using command line in Windows 10
I was trying to edit the %PATH% variable using command line in Windows 10, following the Edit %PATH% Variable in Windows 10 tutorial, but pathman/au was not recognized.
What should be the right ...
0
votes
0
answers
154
views
Python found on Ubuntu, but not on Command Prompt
I suddenly have a problem with Python, which I first didn't have.
When I run python3 quickexample.py or python quickexample.py, I get the error
Python was not found; run without arguments to install ...
3
votes
1
answer
7k
views
In LARAVEL .ENV file read SYSTEM VARIABLE
I have AWS server where we are setting all system environment variables.
For reference system environment variables like DATABASE connection, EMAIL CLIENT configurations and some other configuration.
...
1
vote
6
answers
19k
views
Flutter 'Error: Unable to find git in your PATH' in Windows
I just installed Flutter SDK, And I got an error Error: Unable to find git in your PATH. when I type flutter --version in CMD.
I searched about this and I found some answers, but nothing works.
I ...
0
votes
1
answer
971
views
System Verilog parameterize Module Name
Assuming in the design, all module's input/output ports are the same. however, the module name are different and number of module counts are different by project.
Is it possible to have 2 parameters -&...
8
votes
2
answers
23k
views
"java -version"in cmd gives no result
I tried to install java 14 manually on Windows 10. I set the System Variables as in this picture.
But when I use the command "java -version" literally nothing happens...
C:\WINDOWS\system32&...
0
votes
0
answers
250
views
How can I set environment variable for java jdk bin so that it shows same version in command prompt
I have set the Path variable in Environment Variables to C:\Java\jdk-15\bin which is the latest jdk I've recently downloaded from official Oracle site.
But, when I try to check the Java version from ...
0
votes
1
answer
61
views
Does a System Wide Global List variable exist
I have a 3 Dimensional List like this:
List<List<List<Vector128<byte>>>> dimensionLIST = new List<List<List<Vector128<byte>>>>();
Now, when I fill this ...
4
votes
1
answer
270
views
Read OS(Linux and MAC) environment variable to not expose backend IP's and Credentials in angular 9
I'm trying to build and deploy my angular 9 project in production environment. The main goal is to protect my back-end services IP address and credentials as these environments can't be exposed to ...
0
votes
1
answer
104
views
Why does the Java JDK not set its own path after installation on Windows?
Problem:
After installing Java SE version 14.0.1 I tried to run the command java in CMD because I wanted to check if everything works as it should, but an error occurred because CMD could not find ...
0
votes
3
answers
444
views
@TestPropertySource windows and linux file separator
I have a JUnit test class starting with this declaration
@RunWith(SpringRunner.class)
@SpringBootTest
@TestPropertySource(properties = {
"cache.working.dir=./src/test/resources/...
0
votes
1
answer
5k
views
'swipl' is not recognized as an internal or external command, operable program or batch file
I already added the path to my system variables but still when I type swipl in the command prompt it doesn't open the program.
System Variables
0
votes
0
answers
676
views
How do I "add GRADLE_HOME to system variables" in mac?
I'm trying to get a repo running, and one of the steps is
add GRADLE_HOME to system variables
I've already added JAVA_HOME to my path (I think correctly?), which was a previous step.
running nano ....
6
votes
2
answers
2k
views
mlflow R installation MLFLOW_PYTHON_BIN
I am trying to install mlflow in R and im getting this error message saying
mlflow::install_mlflow()
Error in mlflow_conda_bin() :
Unable to find conda binary. Is Anaconda installed?
If ...
0
votes
1
answer
201
views
Visual Studio 2019 not resolving system variable
Visual studio doesn't want to resolve a system variable.
In Computer>Properties>Advanced>Environment Variables variable VULKAN_SDK is set to C:\VulkanSDK\1.2.131.2.
However, if I go to ...
0
votes
0
answers
1k
views
Get Parent Stored Procedure Name?
In SQL Server 2016, I have a stored procedure that sends an email, which I call from various other stored procedures.
As part of that email procedure, I'd like to log the results to a table, ...
0
votes
0
answers
875
views
How to configure mingw to search libs?
I'm trying to compile my program for windows, i'm using mingw
i686-w64-mingw32-gcc Pagina_inicial.c -o Pagina_inicial `pkg-config --libs --cflags gtk+-2.0 mysqlclient`
but only the --cflags was find, ...
3
votes
1
answer
6k
views
MySQL 8 Disable Query Cache for current session
How to disable caching queries' results for the current session in MySQL8?
The Documentation of system variables has lot of variables that regard to caching but most of them are deprecated and I could ...
0
votes
2
answers
3k
views
How to set the system variables using java program [duplicate]
I want to set environment variable in JAVA . For this , I have searched a lot in internet and got the following code
ProcessBuilder pb = new ProcessBuilder();
Map<String, String> env = pb....
1
vote
4
answers
18k
views
why i am not able to edit or create system variables in windows?
I was trying to set the GRADLE_HOME system variable for my system as per this video in youtube. I am admin user and only user in my system.
enter image description here
This image is screenshot from ...
0
votes
1
answer
64
views
How to change system variable PHONE_STATE
I am creating a system application which can modify the phone state variable to ringing or idle.
The permission MODIFY_PHONE_STATE is available only to system applications. After creating a system ...
0
votes
1
answer
570
views
Python - Faster way to set python path on windows?
When you install python on windows, you have to set the path by going to the Environment Variables, then click New, enter the name, then in the value place enter the path, finally edit the path and ...
3
votes
3
answers
2k
views
How do I set home folder in Heroku system variable?
I'm deploying a node.js app on Heroku dyno and using config module that requires me to define a system variable NODE_CONFIG_DIR with the location of the config folder.
The config folder is located on ...
0
votes
1
answer
322
views
Change system variables length in SSIS
I have source excel file and I need to add the file name to every row, When I select the file name from system variables, the system set 0 as the length. How could I change this value?