I'm using Eclipse 2.1. My problem is that the Ant Builder included doesn't find the java executables, i.e., I cannot use the <rmic ... > tag. To solve the problem I'm using <exec ...jdk\bin\rmic.exe ..> I didn't try the others executables (jar, javac) because I 'm using the Ant script after Eclipse's Java build. When I try to build the project, I recieve the following error:[rmic] BUILD FAILED: file:E:/Proyectos/jinitest/build.xml:4: Cannot use SUN rmic, as it is not available. A common solution is to set the environment variable JAVA_HOME or CLASSPATH.

I don't know if it's a problem of Eclipse(config or installation) or my Java installation.. (currently using j2sdk1.4.0 on Win98SE)

What do I put there It ask for a directory with a lib directory inside...Since Ant came with eclipse, I looked in the plugins directory, and found this..C:\eclipse\plugins\org.eclipse.ant.core_2.1.0C:\eclipse\plugins\org.apache.ant_1.5.2

The first one has a lib directory inside... tried setting it but still doesn't work..

Still doesn't work... :-/Following your tip, I downloaded Ant (1.5.3) and pointed in the ANT_HOME field in the preferences..I also changed my autoexec to try Ant from the command line. Now it looks like:set JAVA_HOME=c:\jdk set ANT_HOME=c:\ant set PATH=c:\jdk\bin;c:\ant\bin; ....

Next tested Ant from the command line and worked ok . But in eclipse appears an error:BUILD FAILED: java.lang.VerifyError: (class: org/apache/xerces/parsers/IntegratedParserConfiguration, method: configurePipeline signature: ()V) Incompatible type for getting or setting field

I don't want to open a D.O.S. window each time I need to rebuild my project..

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org