Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note
titleImportant

Aspire 4.0 runs on Java SE 11.

Panel
titleOn this page

Anchor
#javaComps
#javaComps
Install the Java Components


Download and install Java

This is the version that is

Tip
The version of Java you will use depends on the Aspire version you are targeting. We recommend installing the Java Development Kit (JDK), just in case you want to create your own Aspire components/applications in the future. Only the Java Runtime Environment (JRE) is absolutely required.

Install the necessary Java Components

Note: Aspire 3 and higher requires running at Java 1.7 and higher.

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

  1. If you have a 64-bit machine, install the 64-bit version of Java. That will allow you to create large-memory instances of Aspire.

The Aspire framework itself does not use up that much memory (100mb or so). However, some applications may store big hash tables to improve performance, so it's best to have the 64-bit JVM  just in case you need it someday.

Test

that you can

your access to the "java" command from your console

.

  1. Open a new DOS command-shell. (Go to the

    start

    Start menu, and enter "cmd" where it says Run or Search for Programs, and then execute the cmd.exe program).

  2. At the prompt, enter the following and press Enter: java -version.

    Success is indicated when version information is returned.

    Image Removed

Code Block
languagetext
themeFadeToGrey
> 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)

Add the "JAVA_HOME" environment variable

.

This is needed by the Maven command-line tool

described below

. In Windows:

  1. Open your the control panel.
  2. Open the

    Go to

    the System control panel (may be inside the System and Security category.)

    SystemAdvanced System Settings

    .
  3. Go to the Advanced tab (may already be selected).
  4. Click on

    > Advanced > Environment Variables.

  5. Click on

    Under System variables, click New.

  6. Enter "JAVA_HOME" as the

    "

    Variable name.

  7. Locate the directory within your Program files where java was installed.

  8. Enter this directory name as the Variable value.

 

Code Block
languagetext
themeFadeToGrey

For Linux systems:

  1. In Linux, open a terminal.
  2. Type "echo $JAVA_HOME" and press Enter. If nothing is displayed, we can set it at startup by doing step 3.
  3. Type "echo JAVA_HOME=/your/java/directory >> ~/.profile"
  4. Logout and login again, repeating steps 1 and 2 to check if JAVA_HOME was successfully set.
> 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)