1. To run javacc2_1 This class, you need to pay attention to the path of the class, to avoid the failure to find the main function of the error, the most direct way is to put it in the Java default path to run
2. There are two classes that define the variable enum, which is not allowed in the JDK version and needs to be modified manually, and the appropriate class files are copied to the appropriate package according to the error message when you ant.
3. There is nothing to build the index, the other is to follow the installation instructions are good.
This allows you to understand the javacc,ant, and other tools, but a simpler way is to build a project in Eclipse, copy the files to the project, and deploy debugging. Indexing needs to be set at run time, and of course you can override the class to pass directly to the parameter instead of the main function argument.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service