By J.C. Cavazos
At the behest of my Java instructor, I created a Digital Ocean account and set up a droplet, then left me hanging about what to do next. I am a newbie programmer, so I need some hand holding, in some regards. I created a Java program on NetBeans that I need to load up, so I know I need to load up on my droplet, Java 7 and the Glassfish web container, along with my simple mySQL database. Very specific directions will be appreciated.
This is what I am looking at right now in my console: root@pharmdb: ~# <-- next steps from here, please - thx!
NOTE: pharmdb is the name of my droplet.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello, Sounds like an interesting project, always good to learn new things in new environments. We got alot of tutorials on the DO community. You can use this tutorial to setup a Java web server for Ubuntu. If you need Java7 instead, use the following commands instead at “Step Four - Install Java Development Kit (Optional)” :
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
It’ll keep your java 7 installation up to date.
To automatically set up the Java 7 environment variables JAVA_HOME and PATH:
sudo apt-get install oracle-java7-set-default
Hope you will figure it out now, if you can’t get it working put a reply here or you can add me on skype: cryptic-designs
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.