Table of Contents |
---|
The following are the complete instructions for setting up the standard development environment for Java and Open Source projects.
Generally, the following instructions assume an MS-Windows based operating system.
The version of Java you should use depends on the Aspire version you are targeting to:
Tip |
---|
We recommend installing the Java JDK (Java Development Kit), just in case you want to create your own Aspire components/applications in the future. But only the JRE (Java Runtime Environment) is absolutely required for running Aspire. |
Download and install the latest version of the Java JDK appropriate for the system that will run Aspire:http://java.com/en/download/manual.jsp
At the prompt, enter the following, then press the Enter key: java -version
Success is indicated when version information is returned.
Code Block | ||||
---|---|---|---|---|
| ||||
> java -version java version "1.7.0_79" Java(TM) SE Runtime Environment (build 1.7.0_79-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode) |
Info |
---|
If you are running Aspire with the Quick-Start Distribution from the aspire binaries, you can skip this part, otherwise If you are using the Maven Archetype for downloading Aspire you must follow this section. |
Installing the Maven command line is a very useful way to work with Maven and projects, especially for distributions, or when you're having trouble with m2eclipse (which happens now and then).
Without typing any spaces, enter the the "bin" directory from Apache Maven to your environment path (for example, ;C:\dev\apache-maven-3.3.9\bin), then click on the OK button.
At the prompt, enter the following, then press the Enter key: mvn -version
Success is indicated when version information is returned, as shown in the image to the right.
Code Block | ||||
---|---|---|---|---|
| ||||
> mvn -version Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T10:41:47-06:00) Maven home: C:\dev\apache-maven-3.3.9\bin\.. Java version: 1.7.0_79 Java home: C:\dev\jdk1.7.0_79\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos" |
.m2/settings.xml
file to point to the Search Technologies repository. See Connect to Search Technologies Maven Repository