Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Install JDK
Tip
The version of Java you
should
will use depends on the Aspire version you are targeting
to:Aspire 3 and up requires to run at Java 1.7 and above
.
Tip
We recommend installing the Java
JDK (Java
Development Kit (JDK), just in case you want to create your own Aspire components/applications in the future.
But only
Only the
JRE (
Java Runtime Environment (JRE) is absolutely required.

Anchor
#javaComps
#javaComps
Install the Java Components


Note: Aspire 3 and higher requires running at Java 1.8

for running Aspire

.

Download and install the latest version of the Java JDK

This is the version that is appropriate for the system that will run Aspire:http://java.com/en/download/manual.jsp

  1. If you have a 64-bit machine,
  2. we recommend installing
  3. 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).

But

However, 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.

Test

that you can

your access to the "java" command from your console

.

  1. Open

    up

    a new DOS command-shell. (

    go

    Go to the 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

    , then

    and press

    the

    Enter

    key

    : java -version.

    Success is indicated when version information is returned.

    Image Removed

Add the "JAVA_HOME" environment variable

.

This is needed by the Maven command-line tool

described below

.

  1. Open up your the control panel.
  2. Open up 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 "Environment Variables"
  5. > Advanced > Environment Variables.

  6. Under System variables, click New.

    Click on "New..."

  7. Enter "JAVA_HOME" as the

    "

    Variable name

    :"

    .

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

  9. Enter this directory name as the

    "

    Variable value

    :"
 
  1. .

Code Block
languagetext
themeFadeToGrey
> java -version
  java version "1.78.0_7965"
  Java(TM) SE Runtime Environment (build 1.78.0_7965-b15b17)
  Java HotSpot(TM) 64-Bit Server VM (build 2425.7965-b02b01, mixed mode)