In the afternoon to learn static/dynamic binding, contact with JAVAP this east, the result is to configure it. Then go to Baidu, find AH find, according to Online said, tried one after another, has not succeeded, and finally ran to the group to ask seniors, and seniors discuss a half-day, only the final configuration. I think there will be a lot of rookie will meet me such a problem, so decided to write down.
In fact, I refer to the following two articles
Http://www.tuicool.com/articles/MNBn22Z
Http://blog.sina.com.cn/s/blog_6e5e78bf0101okuj.html
But even after looking at it, it keeps making mistakes. The key or the $,{} These two symbols are not deep enough to cause the path to continue to go wrong.
${workspace_loc}/test and ${workspace_loc}/${test} Two words mean a lot worse.
According to seniors ' understanding, the meaning of $ may represent a variable, and a Java variable may start with a $,{}, which is the meaning of a placeholder, where test is a constant and ${test}= $test as a variable. And the path is obviously constant.
Compare the following two images:
The first one is right and the second one is wrong.
There was another mistake in the afternoon, when running the Java program with the command line, that the compilation was successful, but the run failed. Finally know, there is no package, such as:
This can be performed at the command line.
JAVAP Configuration in Eclipse