Top "Path-variables" questions

PATH is an environment variable on various operating systems which specifies a list of directories where executable programs are located.

How to set JAVA_HOME in Linux for all users

I am new to Linux system and there seem to be too many Java folders. java -version gives me: java …

java linux java-home path-variables
Is there an equivalent of 'which' on the Windows command line?

As I sometimes have path problems, where one of my own cmd scripts is hidden (shadowed) by another program (earlier …

windows command-line path-variables
Error in setting JAVA_HOME

I have recently downloaded Maven and followed the instructions given on this this page. I already have ant installed on …

java maven installation path-variables
How to remove entry from $PATH on mac

I was trying to install Sencha Touch SDK tools 2.0.0 but could not run it properly. It created an entry in …

macos bash terminal .bash-profile path-variables
Passing an Array or List to @Pathvariable - Spring/Java

I am doing a simple 'get' in JBoss/Spring. I want the client to pass me an array of integers …

java spring-mvc path-variables
Multiple @PathVariable in Spring MVC

Couldn't find an answer to this unfortunately so hoping someone can help. In Spring MVC 3.1.0 here is my method: @RequestMapping(…

java spring spring-mvc annotations path-variables
Spring MVC: how to indicate whether a path variable is required or not?

I am doing a Spring web. For a controller method, I am able to use RequestParam to indicate whether a …

spring spring-mvc path-variables
Adding Git to PATH Variable - Can't find GitHub under AppData/Local

I was following this guide here on how to add Git to my Path variable so I can use it …

windows git command-line installation path-variables
Can @PathVariable return null if it's not found?

Is it possible to make the @PathVariable to return null if the path variable is not in the url? Otherwise …

java spring-3 spring-annotations path-variables
Spring multiple path variables

In my Spring controller, I try to get 3 path variables: @RequestMapping("{language}/{country}/{term}/catalogue") - @PathVariable String language, @PathVariable …

java spring spring-mvc url-mapping path-variables