.dsy:it.
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)


Posted by Sephirot on 19-05-2003 10:34:

[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


ma mi da questo errore:
code:
c:\jflex\bin\jflex nomefil Exception in thread "main" java.lang.NoClassDefFoundError: JFlex/Main

:| :?

PS
ho anche prova a mettere JAVA_HOME=C:\j2sdk1.4.1_02 ma dice che è impossibile trovare il percorso

__________________
SEPHIROT
mi piacciono i bluvelvet menosi - http://www.menschenfreundlicher.ch/ - "secondo me basta copiarlo in notepad"


Posted by Cancer on 19-05-2003 20:28:

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


Posted by Sephirot on 19-05-2003 22:22:

:clap: :smack: :smack2:

sei il mio idolo :D


però nella documentazione mi sembrava di aver letto che andava inserita anche la cartella bin... :pensa:

cmq grazie :D

__________________
SEPHIROT
mi piacciono i bluvelvet menosi - http://www.menschenfreundlicher.ch/ - "secondo me basta copiarlo in notepad"


Posted by lum on 20-05-2003 10:31:

La bin forse nella path di sistema


All times are GMT. The time now is 19:01.
Show all 4 posts from this thread on one page

Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.