Login | Register
My pages Projects Community openCollabNet

Discussions > users > RE: [maxq-users] problem building, can't find javac

maxq
Discussion topic

Back to topic list

RE: [maxq-users] problem building, can't find javac

Author James Richards <James dot Richards at demandtec dot com>
Full name James Richards <James dot Richards at demandtec dot com>
Date 2005-04-22 10:42:11 PDT
Message Jesus, Marcin

thank you both for your responses. Both PATH and JAVA_HOME were set properly. I changed the build.xml in maxq such that the javac task included that attribute fork="yes", and it worked. fork will override the ant property build.compiler which was set to jikes. Why that did not work, i'm not sure.

Thanks,
James

-----Original Message-----
From: Jesus M. Rodriguez [mailto:jmrodri at gmail dot com]
Sent: Friday, April 22, 2005 6:25 AM
To: users at maxq dot tigris dot org
Subject: Re: [maxq-users] problem building, can't find javac


James,

The first thing I would check is can you run javac from the command line?
Try "which javac" at the command line what does that give you?

jesus

On 4/21/05, James Richards <James.Richards@d​emandtec.com> wrote:
>
> Hi
>
> I'm currently evaluating this software to use in our testing process. However, i'm having problems simply building it.
>
> [jrichard@chutney maxq-0.98]$ vi README
> [jrichard@chutney maxq-0.98]$ /home/jrichard/p4/de​v/main/thirdparty/to​ol/jakarta.apache.or​g/apache-ant-1.6.1/b​in/ant
> Buildfile: build.xml
>
> compile:
> [mkdir] Created dir: /home/jrichard/downl​oads/maxq/maxq-0.98/​build
> [depend] Deleted 0 out of date files in 0 seconds
> [javac] Compiling 27 source files to /home/jrichard/downl​oads/maxq/maxq-0.98/​build
>
> BUILD FAILED
> /home/jrichard/downl​oads/maxq/maxq-0.98/​build.xml:37: Unable to find a javac compiler;
> com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK
>
> Total time: 6 seconds
> [jrichard@chutney maxq-0.98]$ echo $JAVA_HOME
> /usr/java/j2sdk1.4.2
>
> You can see from the text above, that java is set correctly in JAVA_HOME. I included com.sun.tools.javac.Main in the compile_classpath in the build.xml, and in the env var CLASSPATH. Neither of which helped.
>
> Can someone let me know if i'm missing something?
>
> Thanks!
> James
>
> <html>
> <body>
> <span style="font-size:8.0​pt;font-family:Arial​">---------------​--------------------​--------------------​--------------------​--------------------​--------------------​--------------------​------</span>
> <span style="font-size:8.0​pt;font-family:Arial​">DEMANDTEC EMAIL NOTICE:</span>
> <p><span style="font-size:8.0​pt;font-family:Arial​">NOTICE: This email transmission and all attached files contain information intended for the designated individual or entity to whom it is addressed and may contain information that is proprietary, privileged and/or exempt from disclosure under applicable law. If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this email or its attachments is strictly prohibited. If you have received this email in error, please notify the sender immediately by replying to this message and please delete the original message without making any copies.</span>
> <p><span style="font-size:8.0​pt;font-family:Arial​">WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. Although we have taken reasonable precautions to ensure that this email and all attachments are free from viruses, we accept no liability for any loss or damage arising from the use of this email or its attachments.</span>
> </body>
> </html>
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@ma​xq.tigris.org
> For additional commands, e-mail: users-help at maxq dot tigris dot org
>
>

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: users-unsubscribe@ma​xq.tigris.org
For additional commands, e-mail: users-help at maxq dot tigris dot org

« Previous message in topic | 1 of 11 | Next message in topic »

Messages

Show all messages in topic

RE: [maxq-users] problem building, can't find javac James Richards <James dot Richards at demandtec dot com> James Richards <James dot Richards at demandtec dot com> 2005-04-22 10:42:11 PDT
     Documentation: command line arguments christophe blin <cblin at tennaxia dot com> christophe blin <cblin at tennaxia dot com> 2005-05-18 08:31:03 PDT
         Re: [maxq-users] Documentation: command line arguments christophe blin <cblin at tennaxia dot com> christophe blin <cblin at tennaxia dot com> 2005-05-20 02:32:20 PDT
             Re: [maxq-users] Documentation: command line arguments oliverbock Oliver Bock 2005-05-24 00:41:16 PDT
         DBUtil christophe blin <cblin at tennaxia dot com> christophe blin <cblin at tennaxia dot com> 2005-05-20 02:44:17 PDT
             Re: [maxq-users] DBUtil christophe blin <cblin at tennaxia dot com> christophe blin <cblin at tennaxia dot com> 2005-05-20 04:33:02 PDT
                 Re: [maxq-users] DBUtil christophe blin <cblin at tennaxia dot com> christophe blin <cblin at tennaxia dot com> 2005-05-20 08:44:02 PDT
                     Re: [maxq-users] DBUtil saperski Marcin Cieslak 2005-05-20 10:07:09 PDT
                         Re: [maxq-users] DBUtil christophe blin <cblin at tennaxia dot com> christophe blin <cblin at tennaxia dot com> 2005-05-23 02:37:37 PDT
                             Re: [maxq-users] DBUtil saperski Marcin Cieslak 2005-05-23 14:06:30 PDT
                                 Re: [maxq-users] DBUtil christophe blin <cblin at tennaxia dot com> christophe blin <cblin at tennaxia dot com> 2005-05-24 02:14:30 PDT
Messages per page: