Note | ||
---|---|---|
| ||
Aspire 4.0 runs on Java SE 11. |
Panel | ||
---|---|---|
| ||
Anchor | ||||
---|---|---|---|---|
|
This is the version that is
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. |
appropriate for the system that will run Aspire:http://java.com/en/download/manual.jsp
The Aspire framework itself does not use up that much memory (100mb or so).
ButHowever, some applications may store big hash tables to improve performance, so it's best to have the 64
bit JVM (Java Virtual Machine),-bit JVM just in case you need it someday.
Open
upa new DOS command-shell. (
goGo to the
startStart menu, and enter "cmd" where it says
"Run
"or
"Search for Programs
", and then execute the cmd.exe program).
At the prompt, enter the following
, thenand press
theEnter
key: java -version.
Success is indicated when version information is returned.
Code Block | ||||
---|---|---|---|---|
| ||||
> java -version java version "111.70.0_79"2" 2019-01-15 LTS Java(TM) SE Runtime Environment 18.9 (build 111.7.0_79-b150.2+9-LTS) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 24.79-b0211.0.2+9-LTS, 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).
This is needed by the Maven command-line tool. In Windows:
Go to System > Advanced System Settings > Advanced > Environment Variables.
Under System variables, click New.
Enter "JAVA_HOME" as the Variable name.
Download and install the latest version of Apache Maven: http://maven.apache.org/download.htmlLocate the directory within your Program files where java was installed.
Enter
you unpacked Maven, enterthis directory name as the
"Variable value
:" (for example, C:\dev\apache-maven-4.0.9), then click on the OK button.
Without typing any spaces, enter the the "bin" directory from Apache Maven to your environment path (for example, ;C:\dev\apache-maven-4.0.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 4.0.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T10:41:47-06:00)
Maven home: C:\dev\apache-maven-4.0.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.
For Linux systems: