• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Running different version of Java for different version of JBoss

 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All
I have to support 2 applications running on different version of Java. they are deployed on different vesions of JBoss(3.2.6 and 4.2.0). To manage my local setup for this, i was thinking of having 2 env variables Java1.5_Home and Java1.3_home referring to 2 jdks. Then i would have to update the run.bat replacing Java_Home with the required env variable i set. Is there a better way to do this?

Thanks

Jhakda
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Setting 2 environment variables is not required. All you can do is - edit the run.bat to set the JAVA_HOME to point to the appropriate JDKs for each of the 2 JBoss installations.
 
Jhakda Velu
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Thats a good idea. Thanks a lot.

Jhakda
reply
    Bookmark Topic Watch Topic
  • New Topic