specific steps in setting up Java 7, Glassfish and mySQL on my droplet

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.

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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