running jflex on windows
807598Mar 21 2006 — edited Feb 24 2009Hi all ,
First of all I have to apologise for posting in wrong place,but I gues might some one has used the jflex.I need your help
Iam real stucked with running jflex on windows 98se.
I have done the following (using manual)
1.First of all Installed the java develeping kit(jdk 1.5.0_04) in the folder c:\program files\java\jdk 1.5.0_04).This is working I have been using it for couple of months now.
2.Then I have downloaded jflex zip file and extracted to jflex 1.4.1 folder in c.
3.I have edited JAVA_HOME in bin\jflex.bat as shown below(highlighted ones)
4.Also I have included bin directory of JFlex in my path(c:JFLEX\bin)
5.I have tried to call jflex from c:\jflex,but getting the following message
"out of environment space"
bad command or file name"
6.On windows xp, getting the following message "The spe cified path not found" {the jdk run with netbeans}
Is there any mistake?
Thank you for your help
ud
@echo off
REM Please adjust the paths JFLEX_HOME and JAVA_HOME to suit your needs
REM (please do not add a trailing backslash)
set JFLEX_HOME=C:\JFLEX-1.4.1
REM only needed for JDK 1.1.x:
set JAVA_HOME=C:\PROGRAM FILES\JAVA
REM -------------------------------------------------------------------
set CLPATH=%JAVA_HOME%\lib\classes.zip;%JFLEX_HOME%\lib\JFlex.jar
REM for JDK 1.1.x
%JAVA_HOME%\bin\java -classpath %CLPATH% JFlex.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
REM for JDK 1.2
rem java -Xmx128m -jar %JFLEX_HOME%\lib\JFlex.jar %1 %2 %3 %4 %5 %6 %7 %8 %9