本文共 867 字,大约阅读时间需要 2 分钟。
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"
转载地址:http://hfeti.baihongyu.com/