Here I explain in detail the configuration needed to use Eclipse for DoJa program development, and create a project using Elipse.
Here I take DoJa v4.1 + Eclipse 3.0 as an example to illustrate.
A Select Window-> Preferences
Specify the installation root of your DoJa SDK in the first item, and then save the settings as shown in the figure above.
Two Select the DoJa version you want to use in Doja-4.1 Environment->build, where I'm using Doja4.0, then save it, as shown below:
After the setup is complete, you will also need to change the classpath variables to the corresponding version of the class compression package, as shown in the following figure.
Here, the job you want to configure is done.
Below, let me create a project that only displays a string in the control window.
A To build an empty project
Select File-> New-> project, and then enter the name of the project you want to create, and then click Finish.
Two The following steps are simple enough to add a class file to the project and run it as you would any other Java project.