I just made the installation of jflex and cup and I want to test if everything is ok. Here is what I write in the shell and the result I get.
Here is the content of jflex.bat file: Is there something I have done wrong? How to run for first time jflex? When I write java -version it displays the correct version of java in my pc. THe problem is with jflex.
Thanks!
Where you are executing %java_home%\bin
, you should
1) Enclose %java_home%\bin\java
in "Double Quotes"
2) Likewise, enclose %clpath%
in "Double Quotes"
That way, cmd
is aware that the contents between the quotes is a single string.