LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Eclipse / Java - How do I run a compiled program (https://www.linuxquestions.org/questions/programming-9/eclipse-java-how-do-i-run-a-compiled-program-492322/)

jun_tuko 10-14-2006 07:20 AM

Eclipse / Java - How do I run a compiled program
 
Hello gurus,
I need your help once again. I am trying to learn Eclipse. I got the basics of it and could run basic system.out applications. However, I do not know how to do this command line in Eclipse:

java -cp tutorials\gettingstarted\classes;
%XMLBEANS_HOME%\lib\xbean.jar;
tutorials\gettingstarted\lib\easypo.jar
POUpdater tutorials\gettingstarted\instances\easypo.xml
"a new item" 5.0 20.00 6

Please note that the carriage returns above is to make it easily readable. POUpdater is .class.

Any suggestions?

I am trying to learn XMLBeans. This is part of their instructions in:
http://xmlbeans.apache.org/documenta...etstarted.html

Thanks!
Jun

mrcheeks 10-14-2006 05:12 PM

check the project settings

xhi 10-14-2006 05:39 PM

if you goto the run menu and select the 'run' option, you will get a dialog that will allow you to pass in args.. you should also be able to run a bean from there, and you will need to goto the project options as was mentioned above and add in those jars (that can also be done from the run dialog)..


All times are GMT -5. The time now is 01:25 AM.