hello,
My computer have a problem when i start, there a error message "couldn't load main class". I need to know if i update the java can resolve this problem.
Thanks

Recommended Answers

All 2 Replies

that's ALWAYS a classpath issue. Read the documentation.

Well, I used to use this following command:
java -cp . <your_class>

Or, of course you can set your classpath.

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.