Eclipse configuration for running application

时间:2019-04-05 15:52:28

标签: java eclipse terminal

I have a Java application and running good when i compile it from terminal. But, when i loaded it in Eclipse it's not running as expected.

This is how its running from Terminal

 java -cp:jopt-simple-5.0.2.jar:sample.jar GraphEval adjlist

Here GraphEval is my Main class and adjlist is my other class.

i want to load it from eclipse so i can test it and debug it.

Any idea on how to run the file from eclipse in the above format. Jar file is already loaded with no error in eclipse.

0 个答案:

没有答案