如何安装第二个JVM? [英] How to install a second JVM?
本文介绍了如何安装第二个JVM?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发Linux Ubuntu 8.10,我想安装第二个JVM。我目前正在使用Java 1.6,但我想安装Java 1.4,然后将1.4 JVM设置为我的默认JVM,以便使用。我怎么能这样做?提前致谢!
I am working on a Linux Ubuntu 8.10 and I would like to install a second JVM. I am currently working with Java 1.6, but I want to install Java 1.4 and afterwards, set the 1.4 JVM as my default JVM, to work with. How could I do that? Thanks in advance!
推荐答案
只需安装所需的软件包即可。之后,您可以使用
update-java-alternatives来切换java实现
Just install the package you want. After that you're able to switch java implementations using update-java-alternatives
参见帮助页面了解更多信息。
这篇关于如何安装第二个JVM?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文