Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #29938
| From | Marcel Mueller <news.5.maazl@spamgourmet.org> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: install multiple Java versions |
| Date | 2014-09-08 20:08 +0200 |
| Organization | MB-NET.NET for Open-News-Network e.V. |
| Message-ID | <lukraf$84i$1@gwaiyur.mb-net.net> (permalink) |
| References | <efb21ee7-215a-4ded-94b0-4f6de34092cb@googlegroups.com> |
On 08.09.14 11.31, marc.at.compass@gmail.com wrote: > I know how to install multiple Java versions in Windows. How does this work in Linux? Java needs not to be installed by some setup program. Just copy the files and you are fine. This applies to Linux and Windows as well. Only a recent Java should be installed ordinarily, to protect applications that use the default Java from security issues. To switch between the versions it is usually sufficient to invoke the Java executable with a full qualified path. Sometimes it may be required to set the JAVA_HOME environment variable to the folder where your specific version is located. E.g. SET JAVA_HOME=C:\Java\jre1.4.2 %JAVA_HOME%\bin\java ... export JAVA_HOME=/opt/java/jre1.4.2 /opt/java/jre1.4.2/bin/java ... BTDTMT. Marcel
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll 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