I am trying to set up several java jar files and packages as environment variables for a computational linear algebra class.
I am using the GitBash terminal on Windows OS.
I open the file ".bashrc" and use the following string
export CLASSPATH=$CLASSPATH:C:\Users\geniu\testclasspath.jar:.
The address is based on the "copy as address" command for the jar file I wanted to use.
I also tried different ways of acknowledging the root directory including "\c:", "\c\Users..." and starting with "\Users" as the examples on the course website show.
When I use the command:
echo $CLASSPATH.
The GitBash terminal shows no results, and the program provided by the professor used to test environment variables does not work. I eventually need multiple classpaths, which I believe require a ":" between each file location.
For git-bash (MSYS), you need to use forward slashes: /c/Users/geniu/testclasspath.jar