Javadoc failed: java.io.IOException: Cannot run program “javadoc.exe”

I had a huge article typed up surrounding this issue, but it’s just me rambling. Basically, if you have this coming from Ant:

Javadoc failed: java.io.IOException: Cannot run program
"javadoc.exe": CreateProcess error=2, The system cannot find the file
specified

Read this: http://blog.darevay.com/2008/12/running-javadoc-ant-task-from-eclipse/

 

For someone like me who has never really stepped foot into editing/reading XML, and has never heard of this “Ant” tool within Eclipse – it makes fixing the issue pretty straight forward. Even offers a little guide on how to save the settings and changes you’ve made to a file so the next person who tries to run this code won’t have to set up Ant’s environment.. things.

OOC, I’m usually someone who likes to have things done a few days in advance. So far this semester, I’ve been slacking, and it’s catching up with me. I was pretty worried about my OSD 0.1 release due later tonight – but after following some steps on Processing’s Wiki about tool creation (http://code.google.com/p/processing/wiki/ToolTemplate), I’ve gotta say.. wow. Once I had finished that tutorial and it was working (without even really understanding what was going on. Darn XML), it was like magic. A tool was created just like that. I copied the results over to p5′s tool folder, and ran the IDE. Guess what? The tool was there in the menu, working as expected. What just happened? I don’t even. Could it be any simpler? I’m near speechless due to how easy that was (Eclipse issues aside). I don’t even know what to say, but that was awesome.

Now that I’ve got a template to work off of, I’m going to go ahead and make my tool. I’m still in shock. Hats off.

One response to “Javadoc failed: java.io.IOException: Cannot run program “javadoc.exe”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.