Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #29935

install multiple Java versions

X-Received by 10.182.24.8 with SMTP id q8mr17221039obf.25.1410168670245; Mon, 08 Sep 2014 02:31:10 -0700 (PDT)
X-Received by 10.140.101.16 with SMTP id t16mr325qge.36.1410168670130; Mon, 08 Sep 2014 02:31:10 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!r2no16694301igi.0!news-out.google.com!i10ni0qaf.0!nntp.google.com!m5no6674666qaj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Mon, 8 Sep 2014 02:31:09 -0700 (PDT)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=46.44.183.195; posting-account=tRhYkQoAAAC4mfP99Qw2QppE0qHeI37Z
NNTP-Posting-Host 46.44.183.195
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <efb21ee7-215a-4ded-94b0-4f6de34092cb@googlegroups.com> (permalink)
Subject install multiple Java versions
From marc.at.compass@gmail.com
Injection-Date Mon, 08 Sep 2014 09:31:10 +0000
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Xref csiph.com comp.lang.java.programmer:29935

Show key headers only | View raw


Hello,

I need to setup a server that will contain multiple Java versions. One version is part of a Tomcat installation and will contain Java 1.7. Also I need to install a Java program that currently uses Java 1.4.2. OS will probably be Linux RHEL 6.x, however Windows 2012 might be an option as well (TBD).
I know how to install multiple Java versions in Windows. How does this work in Linux? Can I just install Tomcat (with it's included JVM) and the JDK 1.4.2 (I read RHEL needs JDK, not JVM) separately?

Then I have the config file of the application point to the Java 1.4 bin directory location. That should do it.

When googling this I found some instructions about the Linux Alternative command. Makes it esay to switch between multilpe Java versions on a Linux system. But I do need both Java versions (Tomcat & Java 1.4) to be usable simultaneously, not just one.

I'm not a Linux man. Is using multiple Java versions under Linux as easy as just installing them or do I need to do more?

Thanks!
Marc

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

install multiple Java versions marc.at.compass@gmail.com - 2014-09-08 02:31 -0700
  Re: install multiple Java versions lipska the kat <lipskathekat@example.com> - 2014-09-08 11:25 +0100
  Re: install multiple Java versions marc.at.compass@gmail.com - 2014-09-08 04:02 -0700
  Re: install multiple Java versions Marcel Mueller <news.5.maazl@spamgourmet.org> - 2014-09-08 20:08 +0200

csiph-web