By default, I had Java 7 installed on my system(X64, Fedora 20).
I needed Java 6 for a software, hence had to remove 7.
sudo yum remove *java*
And then, I installed Java 6.
This installs Java 6 successfully. but the java compiler, JavaC is missing. For that, I try -
su -c "yum install java-1.6.0-openjdk-devel" Loaded plugins: langpacks, refresh-packagekit No package java-1.6.0-openjdk-devel available. Error: Nothing to do
Could someone please help me with installing javac for java 1.6.