When JBDS is installed with JDK v. 1.5. or with default JDK which is v. 1.5 then JBoss AS Server v 5.0 (bundled with JBDS installation) is run with default JRE specified within JBDS and not with JRE specified in Server Runtime Configuration. What means that when JBDS default JRE is v.1.5 user is not able to run JBoss Server v 5.0 because this server needs JRE v. 1.6. Even Server Runtime Configuration is still displaying that JRE v. 1.6 is going to be used.
Steps to reproduce:
1. Install JBDS with specified JRE v.1.5 and install also bundled EAP 5.0
2. Run JBDS
3. Add JRE v. 1.6 to JBDS Windows > Preferences > Java > Installed JRE's and set is as default JRE
4. Run defined JBoss EAP Server should run with JRE v 1.6
5. Change JBDS JRE to v. 1.5 and restart JBoss EAP Server It will start with JRE 1.5 and lot of errors
Everything works fine when during installation is specified JRE v. 1.6 and JRE v 1.5 is added afterwards.
There is also small UI issue related to this one:
1. Install JBDS with specified JRE v.1.5 and install also bundled EAP 5.0
2. Run JBDS
3. Open JBoss EAP Server configuration: double click on JBoss EAP Server within JBoss Server View
4. Open Server Runtime Configuration. In the displayed Dialog will be displayed Error Message such "There is no Java 1.6 Runtime..."
5. Close the Dialog
6. Add JRE v 1.6 to JBDS
7. Open Server Runtime Configuration there will be displayed Error Message "No VM Selected...". See attached file.
8. Reopen this Dialog and now everything works fine
If you skip step 4. then everything works fine. There is no Error Message "No VM Selected...".
- duplicates
-
JBDS-852 Runtime setup should use Java Execution Environment instead of specific VM
- Closed
- is related to
-
JBIDE-5049 Specifying Server JRE via Open Launch Configuration is confusing
- Closed