I have a java project, which runs fine on eclipse. Right now, I need to run it from command prompt, like java classpath ... How to setup this classpath based on the stored ones using in Eclipse.
winecoding
0
Junior Poster in Training
Recommended Answers
Jump to PostRead the JDK doc about how to use the java command.
Basically enter:
java CLASSFILENAMEwhere CLASSFILENAME is the name of the .class file.
If in a package there is more to it than that.No idea how Eclipse works.
All 3 Replies
NormR1
563
Posting Sage
Team Colleague
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
jon.kiparsky
326
Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.