

I’ll explain Ant concepts and show how to set up an Ant build script for building an Oracle Application Development Framework (Oracle ADF) application without having Oracle JDeveloper installed on your machine. However, in this article, I am going to tackle the issue of running Ant outside of the Oracle JDeveloper IDE. Using Ant inside the Oracle JDeveloper IDE is simple and straightforward, because you have access to all of your project settings. Most modern Java IDEs, including Oracle JDeveloper, support the development of Ant build files and running them from within the IDE Ant can also be run independently of any IDE, making it useful for the use cases described above. You may have heard of another popular build tool called Maven, which is different in that it enforces a common project structure as well as providing ways to compile and build applications. Is it possible at all to make eclipse indigo (3.7.2) on Ubuntu 12.04 64 bit force to compile with java 1.Tips for building Oracle Application Development Framework projects with Apache Ant outside of the Oracle JDeveloper environment.Īnt is a Java-based build tool that has become a de facto standard for building Java projects.Is there any other setting how to say Ant to use jdk1.7 ?.Window > Prefferences > Java > Installed JREs to jdk1.7._60 which I downloaded to my home /home/prokop/SW/jdk1.7.0_60īut it does not help - ant is oviously still using java-6-openjdk.Project > Properties > Java Compiler to 1.7.I tried to modify environment settings of eclipse: However, when hit "play" in Ant in eclipse I get following message: Unsupported major.minor version 51.0Īlso in header caption of "Console" window of ant build output is : /usr/lib/jvm/java-6-openjdk/bin/java Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode) Java(TM) SE Runtime Environment (build 1.7.0_21-b11)

I think I have installed java 1.7 properly because, I can run processing 2.0 (which use java 1.7) and I get correct version message: java -version I have eclipse indigo (3.7.2) on Ubuntu 12.04 64 bit and I try to compile project using java 1.7.
