I formatted my computer today, now I can't compile the files from command prompt, but I can run the compiled ones. How can I solve this problem :o :o :o

Thanks

Recommended Answers

All 4 Replies

It's your environment variables. Make sure the classpath is pointing to the tools.jar file found in the jdk directory. I'm guessing it says something like: "javac is not recognized as a command"...Something along that line.

Yes, it says that.

I solved it, thanks

I solved it, thanks

That's good. Sorry about not including where to find the variables and stuff like that, my mind wasn't working at the time of the post.

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.