I\'m trying to set my JAVA_HOME in Cygwin with this command:
export JAVA_HOME=\"/cygdrive/c/Program Files/Java/jdk1.7.0_10\"
But when I do
Try to use short name to avoid a space in a path.
"C:\Program Files" should have short name C:\Progra~1 (you can verify it using DOS dir command or entering it into address bar in file explorer).
Set your JAVA_HOME this way:
export JAVA_HOME="/cygdrive/c/Progra~1/Java/jdk1.7.0_10"