Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

ajc 1.0 complains that it can find javac. Whats wrong?

ajc complains javac wrong
0
Posted

ajc 1.0 complains that it can find javac. Whats wrong?

0

ajc 1.0 does not try to locate javac in your path: it uses the javac classes directly. In JDK 1.2 and 1.3 these classes are found in tools.jar (in the lib directory of the JDK distribution), which must be on your classpath to make ajc work with javac. Inspect the java command that launches ajc to make sure that tools.jar is on the classpath for ajc; the -classpath option only applies to the sources compiled.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.