How to install jdk 6 and 8 - java-8

I was told that i can have multiple versions of java on my centos server. I need java 8 for new version of red5 and I need 6 for xuggle can someone tell me how to install both? I'm using centos 6.6
Uhm I did research befor I asked! http://tecadmin.net/install-java-8-on-centos-rhel-and-fedora/ and https://superuser.com/questions/388840/install-sun-java-6-and-sun-java-7-side-by-side-on-linux-fedora-16-using-rpm, there is no updated info! Now will someone help?

You can install multiple versions of Java but you can only use one at a time.
Depending on your repositories you can install available version with yum install java-1.8.0-openjdk, or any other available version.
To list available versions do yum list available | grep -i jdk.
To verify active version do java -version.
To change the active Java version you can use alternatives --config java and then chose the pretended version.

Related

opendaylight 0.9.2 installation and configuration

I downloaded opendaylight 0.9.2, installed in rhel 7.2. as per doc, I run ./karaf, then I try to install the karaf features, but it cannot install the features like "alto", dlux etc.
I'm trying to configure the RHEL system as SDN controller for connecting to CISCO 3172TQ switch.
Have anyone tried installing the same? how to overcome the above issue?
Some Oxygen projects are not available in Fluorine release, please see full list in: https://docs.opendaylight.org/en/stable-fluorine/

JVM version not update in manager web tomcat8 debian

I'm trying to update java version in my server Debian 8 using steps in this link.
After checked with run java -version and javac -version, my java is update correctly.
my problem is when I try to check JVM Version is still remain as old version
update java home in /etc/default/tomcat8
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
And than restart tomcat

Install wasJmsClient-2.0 feature in Liberty Profile 8.5.5.2

I am using WAS LP 8.5.5.2 with Oracle Java 1.7 on windows 7 Machine. I want to use wasJmsClient-2.0 feature in in my Application. I ran the "productInfo featureInfo" command but its output doesn't display feature wasJmsClient-2.0. How can I install this feature into the server?
The wasJmsClient-2.0 feature isn't available for 8.5.5.2, it is only currently available as a beta. It will be available on June 26th 2015, but that'll only install on top of 8.5.5.6 so you will need to upgrade.
There is a wasJmsClient-1.1 feature which is available for 8.5.5.2. If you need this on 8.5.5.2 then you can get it by downloading the wlp-extended-8.5.5.2.jar which can be downloaded from fix central. Otherwise I'd suggest upgrading to the latest from fix central, or wasdev.net and running:
bin/featureManager install wasJmsClient-1.1

Install and switch from Java 6 and 7

I'm new on mac and I need to install both Java 6 and Java 7.
My Mac's version is Mac OS X Lion 10.7.5 (11G63)
The problem is I have found already installed Java 7 and I need to install Java 6 and switch between them because I have some projects needed 6 and others need 7.
I normally go on oracle web site and download the version's Java that I need to install on Linux or Windows.
The problem is that I couldn't find the version for Mac on http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html#jdk-6u45-oth-JPR
Could someone explain me how I can get Java 6 and how I can switch between them?
Thanks a million
Welcome to Mac world !! You need to download Java from this site and install it on your system. After that, open your terminal and type
javac -version
You will see that it still shows your java version 1.7.
What you need to do next is using java_home to check the path of the java 1.6
$ /usr/libexec/java_home -v 1.6
/Library/Java/JavaVirtualMachines/1.6.0_45-b06-451.jdk/Contents/Home
$ /usr/libexec/java_home -v 1.7
/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home
So, whenever you need 1.6 or 1.7, you can set the path of the particular version in /User/<your-account>/.bash_profile. For example:
export JAVA_HOME="/Library/Java/JavaVirtualMachines/1.6.0_45-b06-451.jdk/Contents/Home"
# export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home"

Install MonoDevelop on CentOS 5.5

i am trying to install MonoDevelop 2.4 in CentOS 5.5 using yum, but unable to install and configure to develop .Net Applications in Linux.
i have tried installing it in Fedora 13, Monodevelop installed successfully using yum, but not in CentOS 5.5.
Kindly please help me in figuring out how to install MonoDevelop in CentOS 5.5.
Looking for favorable replies.
Thanks
If there is no package for CentOS yet, you may build/install from source code directly.
http://monodevelop.com/Download
Dag Wieers repository has the monodevelop stuff.. I confirmed on one of my Centos boxes by typing the following at the command line:
yum search mono
If you need to install the DAG repo here is a link to the how-to:
http://dag.wieers.com/rpm/FAQ.php#B

Resources