Java for a webapp
-
- New to forums
- Posts: 2
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Wed Oct 03, 2018 8:23 pm
Java for a webapp
Hi, I was hoping to host my webapp on the webserver I'm currently using. It runs on Java (since it's the one lang that I'm the least terrible at), but I noticed that the webserver doesn't have java pre-installed. Is there something I have to do in order to enable it, or do I have to purchase a different package for it?
Re: Java for a webapp
Nevermind, please close this.
For anyone running in to the same problem as me: make sure you're downloading the correct version of java.
Link to DL: https://www.java.com/en/download/linux_manual.jsp
Download and install:
For anyone running in to the same problem as me: make sure you're downloading the correct version of java.
Link to DL: https://www.java.com/en/download/linux_manual.jsp
Download and install:
Code: Select all
mkdir ~/bin
cd ~/bin
wget http://javadl.oracle.com/webapps/download/AutoDL?BundleId=234464_96a7b8442fe848ef90c96a2fad6ed6d1
mv AutoDL\?BundleId\=234464_96a7b8442fe848ef90c96a2fad6ed6d1 java.tar.gz
tar -xzf java.tar.gz
mv jre1.8.0_181 java
rm java.tar.gz
echo "alias java='~/bin/java/bin/java' >> ~/.bash_profile