Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within EJB and other Jakarta /Java EE Technologies
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Helidon Revealed: A Practical Guide to Oracle’s Microservices Framework
this week in the
Java in General
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Liutauras Vilda
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Devaka Cooray
Paul Clapham
Saloon Keepers:
Scott Selikoff
Tim Holloway
Piet Souris
Mikalai Zaikin
Frits Walraven
Bartenders:
Stephan van Hulst
Carey Brown
Forum:
EJB and other Jakarta /Java EE Technologies
How to run Client?
sabeer
Ranch Hand
Posts: 41
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
After successfull compilation, when I run the program I got "NoClassDefinedError". Why??/
Pls Help me,
Abhinav Srivastava
Ranch Hand
Posts: 354
I like...
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Your classpath doesn't have the class that you are trying to access.
[ April 29, 2005: Message edited by: Jack Ryan ]
sabeer
Ranch Hand
Posts: 41
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
How can I do that?
Are there any flags during compilation?
Thks!
Arun
Ranch Hand
Posts: 40
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
when you run your code give the classpath in the command line.. like this:
instead of
>
java
Class
give
>java -cp 'path' Class
Bhaskar Rao
Greenhorn
Posts: 23
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
You can also set the classpath by making an entry in the classpath environment variable. You just have to give the path of the JAR containing the class
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Aboutt Daemon Threads
Help with running my first program.
I've bought Sybex Java 2 Certification Virtual Trainer
Wrapper Classes
anyone used marathon?
More...