First you need the JDK !
But, since I just got my RedHat laptop, I had to hack it up to use JDK 64. Rather than 32 bit java, and I was afraid to “uninstall” 32 bit java, because uninstalling the stock, standard, issued Java seems to have strange consequences sometimes…
To update java (RHEL):
There are 2 programs which provide ‘java’.
Fedora?
To install java on Fedora (openjdk)
jvyas> sudo yum list *java* | grep open | grep devel #<– sanity check to see what JDKs are
available.
Hopefully, you should see something like “java-1.6.0-openjdk-devel.x86_64”.
jvyas> sudo yum install java-1.6.0-openjdk-devel.x86_64
And next, you simply hit (1) to tell your machine to use java.
There are 2 programs which provide ‘java’.
Selection Command
———————————————–
*+ 1 /usr/lib/jvm/jre-1.6.0-sun.x86_64/bin/java
2 /usr/lib/jvm/jre-1.6.0-sun/bin/java
And then theres finally the grand finale:
Yay for 64 bit JDK 🙂
SETTING UP MAVEN
Now you (probably) need Maven .. (no, you cant just say “yum install mvn”)? So.. here’s how you do it.
#The OLD maven (not sure how often this is updated)
wget -O /etc/yum.repos.d/jpackage50.repo http://www.jpackage.org/jpackage50.repoyum install maven2
The up to date way
wget -O /opt/apache-maven-3-bin.tar.gz http://apache.petsads.us/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz maven-2.2.1-bin.tar.gz
ln -s /opt/apache-maven-3.0.5/bin/mvn /usr/bin/mvn
Now you should be able to run “mvn –version” from anywhere after you open a new terminal, to confirm that your mvn was installed properly.
2020 has not been a year we would have been able to predict. With a worldwide pandemic and lives thrown out of gear, as we head into 2021, we are thankful that our community and project continued to receive new developers, users and make small gains. For that and a...
It has been a while since we provided an update to the Gluster community. Across the world various nations, states and localities have put together sets of guidelines around shelter-in-place and quarantine. We request our community members to stay safe, to care for their loved ones, to continue to be...
The initial rounds of conversation around the planning of content for release 8 has helped the project identify one key thing – the need to stagger out features and enhancements over multiple releases. Thus, while release 8 is unlikely to be feature heavy as previous releases, it will be the...