Questions tagged [system-paths]

49 questions
0
votes
3 answers

how to change the path name according to my system

below code is from github and i what to change it according to system path with open("./output/cifar_inception_plot.pkl", 'rb') as f: dat = pickle.load(f) total_inception = dict({}) for item in dat: allis = dat[item] allis = [x[0] for x in…
0
votes
0 answers

jni.h - No such file or directory - Correctly setting JAVA_HOME environment variable

I'm currently trying to use jni.h in Windows Subsystem for Linux. Any time I try to setup/run it I get this error message. I just wanted to know how to correctly set my Java_HOME variable successfully so it can find JNI.h Any help would be sorely…
0
votes
1 answer

Append to a User Environment Variable with RegSetValueEx() in C++

I want to append a new path to an existing environment variable with c++. This should be for the current user (if you can provide an example for the Local_Machine, that will also be acceptable). The path(new) and the variable(already existing)…
Huzaifa
  • 345
  • 4
  • 15
0
votes
2 answers

how to change the config file for correct java location to run scala ide - 'returned exit code 1'

I downloaded scala ide, but it won't run. It gives me this error: but my java location is C:/jdk. I do have JAVA_HOME installed and pointing to C:/jdk. how to make eclipse look to the right location for scala eclipse ide to run?
ERJAN
  • 23,696
  • 23
  • 72
  • 146
0
votes
0 answers

Any way to get a file system path for a razor page?

For a page 'TestModel' in 'Pages/TestPages/' get a string like: /linux or project root/project-name/Pages/TestPages/ Edit: I'm not looking to get a path from inside a running page. Let's say from startup.cs Edit 2: I'm looking something like…
0
votes
1 answer

troubleshooting a connection to the ebd file path for awk in r in mac and windows

I'm opening ebird data with auk, having trouble creating a path for the file. I set the path to a folder. When I try to change it to a file it says the path is not true. with the Sys.getenv() I can see the path is set to a folder. with the…
0
votes
2 answers

Configure maven3.1.1 and maven3.6.0 on the same PC

For some reasons I have to use two different maven versions on my windows PC. I already had the maven 3.6.0 installed, working well. Now I want to install maven3.1.1 and running it like that, for example : 3.1.1 mvnOld clean install 3.6.0 mvn…
Logan Wlv
  • 3,274
  • 5
  • 32
  • 54
0
votes
1 answer

Add docker-compose to system path Windows 10

How do I add a C:\{some_path}\docker-compose file to system path in Windows 10? Currently, I am running it by navigating to the path in cmd and entering command docker-compose up.
0
votes
1 answer

ant.launcher from script issue

I have a small script in rhel6 that basically goes like this: #!/bin/bash if [ "$JAVA_HOME" = "" ]; then echo The environment variable JAVA_HOME is not set. Deploy failed. exit 1 else …
Maya
  • 1
  • 4
0
votes
1 answer

How to manage the environment PATH used by the Android NDK build?

I use swig from my within Android.mk. I reference it directly relying on the $PATH variable to contain the path to it's executable. The issue is that the $PATH variable is different depending on where the android-ndk tool is run from. Background In…
Jon Bryant
  • 205
  • 2
  • 12
0
votes
0 answers

Maven issue when overriding an environment specific systemPath property

I experienced issues with a maven build that does not behave the same way if done on Windows (like they were done in the past) or Linux (like I want to do them now). I want to build a project that has a dependency on another project that pom that…
0
votes
0 answers

How to set JDK system variables path for portable android?

I am trying to use Android Studio in the computer where I don't have administrator permissions I downloaded Android Studio portable and JDK portable which I extracted and ready to set the variable for, but I can't. When I start Android studio it…
masood elsad
  • 434
  • 2
  • 6
  • 18
0
votes
1 answer

How to make `MANPATH=~/.nmap/doc man 1 nmap` look for nmap.1?

I recently decided that since quite often I experiment with the latest version of nmap, it might be a good idea to keep its SVN checkout in ~/.nmap without installing and just run svn up; make to make it up to date. I added ~/.nmap to $PATH and just…
d33tah
  • 10,999
  • 13
  • 68
  • 158
0
votes
2 answers

In Ubuntu (14.04), is there an equivalent to /etc/ld.so.conf.d for the linker?

This is a question about centrally-located path specs, like PATH, LD_LIBRARY_PATH, and LIBRARY_PATH. I know that there are two ways of specifying shared library paths for the loader: add them to LD_LIBRARY_PATH, or add files to /etc/ld.so.conf.d/.…
SuperElectric
  • 17,548
  • 10
  • 52
  • 69
0
votes
3 answers

Can't open Eclipse because ClassNotFoundException: WToolkitHookQTJA

I'm suddenly unable to open Eclipse. When I try, the eclipse loading screen comes up for a minute: Then I get this Error Message: "An Error has occurred. See the log file {path to log file}" When I check the log file, I found that the root cause…
James Dunn
  • 8,064
  • 13
  • 53
  • 87