Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Specify a specific JRE per an application ?

 
Ed Schneider
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to specify a specific JRE per an application deployed in JBoss? Our JBoss server is running on JRE 1.4. All of the current deployed applications are running on JRE 1.4. I want to deploy a brand new application that runs on JRE 1.6. Is there a way that the legacy applications can run JRE 1.4 and the new application can run 1.6 on the same JBoss server?

Thanks
--Ed
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JRE is per server. So you cannot have 2 different JREs for different applications deployed on the same server.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
However, you could let JBoss run under JRE 1.6. Even the earlier applications (which were running on JRE 1.4)can use this JRE since its backward compatible.
 
Ed Schneider
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Jaikiran,

Thanks for reply. My new application runs much faster on JRE 1.6 than 1.4. I am still nervous about running my legacy apps on 1.6, but I will start testing to make sure.

Thanks for your help!

--Ed
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic