windows - How to run javac with paths as argument that contain white spaces? -
windows - How to run javac with paths as argument that contain white spaces? -
i trying run next
javac -xlint:unchecked -classpath c:/users/a b/workspace/ @c:/users/a b/workspace/files_to_compile
but i'm getting a
javac: invalid flag c:/users/a
i've tried surround both paths double quotes doesn't seem help bit:
javac -xlint:unchecked -classpath "c:/users/a b/workspace/" @"c:/users/a b/workspace/files_to_compile"
what doing wrong? same code worked correctly in other computers (probably because didn't have white space in paths..).
thanks
your sec seek right
javac -xlint:unchecked -classpath "c:/users/a b/workspace/" @"c:/users/a b/workspace/files_to_compile"
but complete, have escape spaces text file "files_to_compile" using:
the same syntax properties file : \or
double quote each linei suggest sec i'm not sure.
windows javac
Comments
Post a Comment