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 line

i suggest sec i'm not sure.

windows javac

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -