File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Specify a specific JRE per an application ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Specify a specific JRE per an application ?" Watch "Specify a specific JRE per an application ?" New topic
Author

Specify a specific JRE per an application ?

Ed Schneider
Greenhorn

Joined: Mar 11, 2008
Posts: 4
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

Joined: Jul 20, 2005
Posts: 9327
    
110

The JRE is per server. So you cannot have 2 different JREs for different applications deployed on the same server.


[My Blog] [JavaRanch Journal]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9327
    
110

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

Joined: Mar 11, 2008
Posts: 4
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Specify a specific JRE per an application ?
 
Similar Threads
Standalone Java programs using Websphere JRE
EJB in JBOSS connecting to WebSphere\JAAS
JRE 1.6 and JRE 1.4 compatibility
Unable to initialize Struts ActionServlet due to an unexpected exception
How set java path for a perticular apache server ?