1. new java project named "try"
2. right click "try" ,select import,file system,browse your target project which you want import
then all the files in project will copy to your workplace/try
3. right click 'try', select propery, java build path , remove the 'try/src' which is default generated, then click add foler,only select the 'try'.
Then select libraries, add external jars if needed
4, ok for all the modify
5. run your program
6. if your program need input arguments, property, run/debug settings. if there are no "launch configurations for 'try'", please new.
Edit the launch configuration

if the main class is empty, you must set it , usually type the the absolute packet path of the class contained the main function. Luckily, the main class has been set automatically,.
Then, you should select the arguments
type your arguments in the "Program arguments"
本文指导如何创建名为try的Java项目,导入目标项目,配置Java构建路径,添加外部Jars,并运行包含输入参数的程序。

被折叠的 条评论
为什么被折叠?



