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 "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode) |
This is needed by the Maven command-line tool
described below. In Windows:
Go to
the "System" control panel (may be inside the 'System and Security' category)System > Advanced System Settings
"> Advanced > Environment Variables.
Under System variables, click New.
Click on "New..."Enter "JAVA_HOME" as the
"Variable name
:".
Locate the directory within your Program files where java was installed.
Enter this directory name as the
"Variable value.
For Linux systems:
"
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) |