Changing Projects' JREs
Different Java Runtime Environments
can be applied to projects by default or can be applied or changed for
specific projects.
These procedures describe how to apply different JREs to a specific
project. JRE settings can be set while creating a new project or changed
once a project has been created.
Before JREs can be applied to a project they need to be configured in
the Installed JREs Preferences page,
accessible from Window | Preferences | PHP | Installed JREs.
|
|
|
|

|
To apply a JRE to a new project:
Create
a new PHP project by going to File | New | PHP Project.
The New PHP Project dialog will open.
Enter
the project name and change the project contents or PHP version settings
if required.
Click
Next until you reach the Java Bridge Support screen.

Select
the JRE System Library and click Edit.
The Edit Project JRE dialog will appear.

Select 'Alternate
JRE' and choose the required JRE from the drop-down list.
If the required JRE does
not appear in the list, click Installed JREs to be taken to the Installed
JREs Preferences page.
Click OK.
Click Finish to create the
project.
|
|
Your new PHP project will be created with the required JRE applied to
the project. |
|
|
|
|

|
To apply a JRE
to an existing project:
Right-click
your project in PHP Explorer view and select Properties -or- click Alt-Enter.
Select
PHP Java Bridge from the properties list.

Select
the JRE System Library and click Edit.
The
Edit Project JRE dialog will appear.

Select 'Alternate JRE' and
choose the required JRE from the drop-down list.
If the required JRE does
not appear in the list, click Installed JREs to be taken to the Installed
JREs Preferences page.
Click OK.
Click Finish to create the
project.
|
|
Your project properties will be altered to include the alternate JRE. |
Note:
The JRE will have been changed for the specified project
only.