Link to home
Start Free TrialLog in
Avatar of boshenska
boshenska

asked on

Java command syntax error using Java plug in, jdk1.70

c:\program Files\Java\jdkl . 7.0_01\bin>javac.exe <c:\Java\HelloworldApp.java>
The syntax of the command is incorrect.

c:\program Files\Java\jdkl.7 .0_01\bin>

Whats wrong with my syntax
Avatar of kaufmed
kaufmed
Flag of United States of America image

Remove the < .
...and the ending > .
you may need to use "

javac.exe "c:\Java\HelloworldApp.java"
You should only need quotes if the path to the file contains spaces.
"You should only need quotes if the path to the file contains spaces."

or maybe some special characters in path other than space

correct, that's why I used "may" :)
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial