LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 10-14-2006, 07:20 AM   #1
jun_tuko
Member
 
Registered: Oct 2005
Location: Seattle, WA
Distribution: Fedora Core 4
Posts: 67

Rep: Reputation: 15
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
 
Old 10-14-2006, 05:12 PM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
check the project settings
 
Old 10-14-2006, 05:39 PM   #3
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
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)..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Eclipse: No Java under Run Menu JerryMcFarts Programming 9 05-12-2006 12:48 AM
Can't run two instances of a java program audibel Linux - Software 0 02-19-2005 04:01 PM
error when run java program vanhelsing Programming 8 12-24-2004 02:23 AM
How to run a command through a Java program kernelvn Programming 3 12-02-2004 09:25 PM
how to run C++ compiled program legend1079 Linux - Newbie 2 03-20-2004 06:40 AM


All times are GMT -5. The time now is 08:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration