Latest news about Bitcoin and all cryptocurrencies. Your daily crypto news habit.
After setting up Git, node and Cordova one need to get the Java setup done for moving towards getting Ionic ready on Ubuntu linux.
Setting up Java on Ubuntu Linux
Enter the command sudo apt-get install openjdk-7-jdk. Enter the root password and let the system do itâs tasks.
Enter apt-cache search jdk
Set âJAVA_HOMEâ and âPATHâ environment Variables:
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk export PATH=$PATH:/usr/lib/jvm/java-7-openjdk/bin
Finished, now just verify the installation by checking the installed version:
javac -version
Installing Java on Windows
Open the setup file downloaded from here
Follow the instructions as shown:
Select installation componentsâââthis may be required for servers where specific configurations are needed
Select installation path
Incase you already have Java installed, a warning will be shown
Now, we just need to setup environment variables.
Setting up Java on Ubuntu linux and Windows was originally published in Hacker Noon on Medium, where people are continuing the conversation by highlighting and responding to this story.
Disclaimer
The views and opinions expressed in this article are solely those of the authors and do not reflect the views of Bitcoin Insider. Every investment and trading move involves risk - this is especially true for cryptocurrencies given their volatility. We strongly advise our readers to conduct their own research when making a decision.