I am attempting to use the enhydra compiler, XMLC, which takes XML or HTML and creates java classes, from within IDEA but I seem to be running into an inexplicable classpath problem.
My question boils down to how exactly IDEA "runs" a compiled program, at least on Windows. For example, after compiling a program and pressing run, if I copy the run command that appears in the IDEA run window into a command window and execute it, the program runs as expected. However the very same command fails to find the classes it needs from within IDEA. I get errors like:
package org.enhydra.xml.dom does not exist
cannot resolve symbol
symbol : method getMIMEType ()
I know IDEA uses javaw.exe and not java.exe, so is this the source of the problem? If it is, could someone shed some light on this basic issue? How exactly does IDEA run a compiled program?