954,518 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

I can't compile from command prompt

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

yassar
Light Poster
35 posts since May 2005
Reputation Points: 10
Solved Threads: 0
 

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.

server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
 

Yes, it says that.

yassar
Light Poster
35 posts since May 2005
Reputation Points: 10
Solved Threads: 0
 

I solved it, thanks

yassar
Light Poster
35 posts since May 2005
Reputation Points: 10
Solved Threads: 0
 
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.

server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You