as you write the it with double-quotes, you don’t need to escape spaces with \
export PATH=$PATH:"/cygdrive/C/Program Files/Java/jdk1.6.0_23/bin/"
of course this also works:
export PATH=$PATH:/cygdrive/C/Program\ Files/Java/jdk1.6.0_23/bin/
Related Contents:
- javac is not recognized as an internal or external command, operable program or batch file [closed]
- Setting up enviroment variables in Windows 10 to use java and javac
- Why does array[idx++]+=”a” increase idx once in Java 8 but twice in Java 9 and 10?
- How to get the path of a running JAR file?
- How to combine paths in Java?
- ant warning: “‘includeantruntime’ was not set”
- Error:java: invalid source release: 8 in Intellij. What does it mean?
- How to construct a relative path in Java from two absolute paths (or URLs)?
- Create whole path automatically when writing to a new file
- Get java.nio.file.Path object from java.io.File
- In which language are the Java compiler and JVM written?
- Java: Path vs File
- Why does a Java class compile differently with a blank line?
- What is the difference between javac and the Eclipse compiler?
- Check if a path represents a file or a folder
- javac option to compile all java files under a given directory recursively
- Does the ‘java’ command compile Java programs?
- Does Java have a path joining method? [duplicate]
- Ant path style patterns
- javac not working in windows command prompt
- javac error: Class names are only accepted if annotation processing is explicitly requested
- What is the –release flag in the Java 9 compiler?
- How to get current working directory in Java?
- How to check the extension of a Java 7 Path
- Is the creation of Java class files deterministic?
- Java: How can I compile an entire directory structure of code ?
- How to intentionally cause a custom java compiler warning message?
- Maven Unable to locate the Javac Compiler in:
- Optimization by Java Compiler
- How to access a sub-file/folder in Java 7 java.nio.file.Path?
- javac command line compile error: package javax.servlet does not exist
- Unable to locate an executable at “/usr/bin/java/bin/java” (-1)
- What is the $1 in class file names?
- When to use ** (double star) in glob syntax within JAVA
- How to compile multiple java source files in command line
- InputStream from relative path
- Convert URL to normal windows filename Java
- Suppress javac warning “…is internal proprietary API and may be removed in a future release”
- How can I suppress javac warnings about deprecated api?
- In Java 8, why were Arrays not given the forEach method of Iterable?
- Difference in behaviour of the ternary operator on JDK8 and JDK10
- is it possible to disable javac’s inlining of static final variables?
- Why does the Java compiler 11 use invokevirtual to call private methods?
- Why does javac allow some impossible casts and not others?
- What is sjavac, who is it for and how do I use it?
- Install Protocol Buffers on Windows
- Converting Relative Paths to Absolute Paths
- Compile code fully in memory with javax.tools.JavaCompiler [duplicate]
- How to use Selenium WebDriver on local webpage (on my PC) instead of one located somewhere online?
- Handling Multiple Query Parameters in Jersey