![]() |
Show 150 posts per page |
.dsy:it. (http://www.dsy.it/forum/)
- Linguaggi e traduttori (http://www.dsy.it/forum/forumdisplay.php?forumid=242)
-- [Linguaggi&Trad.]Problemino con Jflex (http://www.dsy.it/forum/showthread.php?threadid=4153)
[Linguaggi&Trad.]Problemino con Jflex
con windowsXP
ho installato questo analizzatore lessicale per java, e l'ho settato così:
code:
@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\bin REM only needed for JDK 1.1.x: set JAVA_HOME=C:\j2sdk1.4.1_02 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
code:
c:\jflex\bin\jflex nomefil Exception in thread "main" java.lang.NoClassDefFoundError: JFlex/Main
__________________
SEPHIROT
mi piacciono i bluvelvet menosi - http://www.menschenfreundlicher.ch/ - "secondo me basta copiarlo in notepad"
Re: [Linguaggi&Trad.]Problemino con Jflex
Prova a sostituire il tuo
set JFLEX_HOME=C:\JFlex\bin
con
set JFLEX_HOME=C:\JFlex
Ciao!
__________________
You can find all that you need in your mind...If you take the time
sei il mio idolo ![]()
però nella documentazione mi sembrava di aver letto che andava inserita anche la cartella bin...
cmq grazie ![]()
__________________
SEPHIROT
mi piacciono i bluvelvet menosi - http://www.menschenfreundlicher.ch/ - "secondo me basta copiarlo in notepad"
La bin forse nella path di sistema
| All times are GMT. The time now is 15:51. | Show all 4 posts from this thread on one page |
Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.