This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Does anyone have any experience running the jFlex??
I have downloaded and installed jFlex, and following the directions changed both my JAVA_HOME path and JFLEX_HOME path to where both files exist. When I try to run jFlex from the command line I receive this error:
'jflex' is not recognized as an internal or external command,
operable program or batch file.
any help would be great,
"If the facts don't fit the theory, get new facts" --Albert Einstein
Edit the file bin\jflex.bat (in the example it's C:\JFlex\bin\jflex.bat) such that
JAVA_HOME contains the directory where your Java JDK is installed (for instance C:\java) and
JFLEX_HOME the directory that contains JFlex (in the example: C:\JFlex)
I set JAVA_HOME to where my jdk is: C:\Program Files\Java
and JFLEX_HOME to where the jFlex is: C:\Documents and Settings\Hunter\Desktop\jflex-1.4.3\lib
Campbell do you see any mistakes??
Joined: Oct 13, 2005
That appears to be the same JFlex I have used (but I used it only on Linux), but surely JAVA_HOME ends with \jdk1_6_0_18 or similar, despite the example they give here?