Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-08-2008, 10:50 PM
Member
 
Join Date: Jul 2008
Posts: 1
hnmapara is on a distinguished road
Running eclipse java project on command prompt
Hi all,

I have one java project and that is very well running in eclipse. I have added some external JARs to that project. It performs this job- it creates connection to server, and listens to the signals from server.

My question is - how do I run that java project on command prompt?
I want to run that using ANT or simply I want to make a JAR file so I can execute JAR on command prompt. I created JAR, but it doesn't contain external jar which I added to the project. So I was not able to run that project.

Can you please tell me any of the method - using ANT or by making JAR?
Also can you be little bit more explanatory in reply?

Thanks
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-09-2008, 09:29 AM
Niveditha's Avatar
Senior Member
 
Join Date: May 2008
Posts: 276
Niveditha is on a distinguished road
Send a message via Skype™ to Niveditha
You need to add those jars into your classpath in command prompt before running it.
__________________
To finish sooner, take your own time....
Nivedithaaaa
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to run windows command prompt in java parogram ? indikasampath2000 AWT / Swing 3 07-09-2008 09:15 AM
accessing command prompt using java (netbeans)... kureikougaiji New To Java 6 06-27-2008 04:01 PM
Problem during executing Command Prompt keshari Advanced Java 4 06-05-2008 05:06 AM
problem when I try to compile a program from command prompt osval Advanced Java 2 08-06-2007 10:16 PM
Java Command Line Arguments In Eclipse IDE JavaForums Eclipse 0 05-19-2007 10:45 AM


All times are GMT +3. The time now is 02:28 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org