Please use Ant build file properties dialog, tab "Execution".

Best regards,
Anton Katilin
---------------------------------------------------------
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


----- Original Message -----
From: "Buch, Martin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 18, 2002 10:29 PM
Subject: [Eap-list] #611 Ant using JDK 1.4 when running IntelliJ with 1.3.1
???


> Hi,
>
> I am running IntelliJ using JDK 1.3.
> My project should compile with JDK 1.4. This is working fine with normal
> project compile. Now I want to do that with Ant.
>
>   Can anybody give me a hint how to tell Ant to use JDK1.4 javac for
compilation ?
>
> It is always telling me it's java version is 1.3. I suppose because it
uses the
> JAVA_HOME variable. I also get compile errors that I don't get normally.
>
> I've tried following without success:
> 1. setting  build.compile  property to "javac1.4"
> 2. setting  classpath  to include the tools.jar and rt.jar of JDK 1.4
>
> It seems that at the moment the only way to use Ant is to start
> IntelliJ under JRE 1.4 (by setting JAVA_HOME).
> But IntelliJ does not recommend to do that.
>
> Any ideas ?
>
> Martin
>
> --
> Martin Buch                  mailto:[EMAIL PROTECTED]
> sd&m AG                      http://www.sdm.de
> software design & management
> Thomas-Dehler-Str. 27, 81737 Muenchen, Germany
> Tel +49 89 63812-377, Fax -490
>
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to