• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

can many jvm versions be installed on a single system

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Folks

i just have a query where in i want to install all the jvm versions on a single system, is it possible if yes then how can i.


Thanks in advance
 
Marshal
Posts: 76825
366
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you can have several JVMs, yes.

You probably can't get them all, because some of the older versions have been withdrawn. Go to the usual download sites and download them all. You will have to change the PATH for each terminal/shell/command line you use, so as to gain access to different JVMs.
 
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by siddhu Math:
hi Folks

i just have a query where in i want to install all the jvm versions on a single system, is it possible if yes then how can i.


Thanks in advance



Why you want to do this one.If you want to build your class to some specific version then you can use javac -target<version> option.
That one itself will do your job.
 
siddhu Math
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
it is not the matter for me to compile the java file with a specific version what matters me is can i do it efficiently as if like an ideal condition with a single jvm installed.
 
Sheriff
Posts: 22700
129
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can have as many JVMs installed as you like; I myself have a 1.4.2 JVM that was part of the 1.4.2 JDK and a 1.6.0 JVM that was part of the 1.6.0 JDK.

What you do have to remember is, that only one (I think it's the last installed one) JVM will be used by default. If you want to use another, you cannot just use "java" and "javaw" but have to include the full path.
 
What are your superhero powers? Go ahead and try them on this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic