Schedulix 2.11 - Error when compiling

10 views
Skip to first unread message

Pablo Maldonado

unread,
Jul 30, 2025, 6:23:48 PMJul 30
to schedulix
Hello,

When trying to compile from code to Scheculix 2.11, an error occurs because the MiniScanner.java file is generated incorrectly and produces the following error:

javac -cp /home/schedulix/compilacion/schedulix/src:/home/schedulix/compilacion/swt/swt.jar:/home/schedulix/compilacion/jna/jna-5.17.0.jar:/home/schedulix/compilacion/schedulix/lib/guava-20
.0.jar:/home/schedulix/compilacion/schedulix/lib/jna-platform-4.3.0.jar:/home/schedulix/compilacion/schedulix/lib/waffle-jna-1.8.3.jar -O MiniScanner.java  
MiniScanner.java:938: error: orphaned default
       default:  
       ^
MiniScanner.java:1218: error: 'else' without 'if'
         else {
         ^
2 errors

make[1]: *** [/home/schedulix/compilacion/schedulix/src/Makefile.CommonRules:84: MiniScanner.class] Error 1
make[1]: se sale del directorio '/home/schedulix/compilacion/schedulix/src/shell'
make: *** [/home/schedulix/compilacion/schedulix/src/Makefile.CommonRules:62: commonsubdirs] Error 2

thank you very much in advance

Pablo Maldonado

Pablo Maldonado

unread,
Jul 30, 2025, 7:42:02 PMJul 30
to schedulix
I've found the problem.
Apparently, it was the JFlex version. I installed version 1.8.2 and it compiled fine.

Ronald Jeninga

unread,
Jul 31, 2025, 8:31:09 AMJul 31
to schedulix
Hi Pablo,

first of all, thank you for reporting!
You were faster than I. I'm happy you were able to resolve the issue for now.
Which was the newer JFlex release you've tried?
It is probably the skeleton file that isn't compatible with the newer release, but that is usually comparatively easy to fix.

Best regards,

Ronald
Reply all
Reply to author
Forward
0 new messages