build geogeobra source code error missing Parser class

guyuming shared this question 1 month ago
Answered

i download geogebra source code from https://github.com/geogebra...


but i got building errors as shown on the picture. I tried both OpenJDK8 and OpenJDK11.


I see "Problem 14: After accidental removal of Parser.java, Eclipse does not regenerate it from the .jj sources" from https://dev.geogebra.org/tr... , but i don't understand very well. such as what does .jj source means?


there is a class Parser defined in tools.jar in JDK, but it is an abstract class. So, i wonder where is this missing Parser class defined?


e9622c48176dab8aa94daf8e2554f5bc

Comments (3)

photo
1

seems that i had not installed the JavaCC eclipse plugin. I will try this first.

photo
1

d3ab0e4543421205eb43ce3f057555e1fixed by installing sf.eclipse.javacc-1.5.33-updatesite.zip


still have issue described in https://help.geogebra.org/t...


i may need to upgrade JavaCC


photo
1

install sf.eclipse.javacc-1.5.33-updatesite.zip cause subsequent error https://help.geogebra.org/topic/stringprovider-cannot-be-resolved-to-a-typeparser-java


see resolution in link above. in short, i should have just use gradlew to build the project before import into eclipse

photo
© 2020 International GeoGebra Institute